It's a common request about different versions of QuickBooks being able to work with other year's data files.
You can upgrade any old version to a new version. So you can use 2012 quickBooks on a 2010 file. However, you can't do the reverse of that: you can't use an older version of QuickBooks on a newer version of the datafile.
* QB Pro 2012 can operate on 2010 data files (and it upgrades the QuickBooks 2010 data file to 2012 format)
* QB Pro 2010 cannot open a 2012 data file.
You will need to upgrade to your friend's version to open her file.