I use
qbxmlrp.getcurrentcompanyfilename
(using qbxmlrp2) in QB 2011, 2012, and 2013 (sometimes) I get error 2147220470 and the message "QuickBooks is already open and the file is different from the one requested, or there are multiple instances of QuickBooks running."
Some of the users have reported the errors began after opening multiple QB files simultaneously via Windows explorer.
Is this because of the use of Windows Explorer to open the .qbw file directly? How do overcome or code around it?