Hello All,
This problem is driving me nuts and Intuit help is atrocious.
Dim SessionMgr As New QBSessionManager
SessionMgr.CloseConnection
SessionMgr.OpenConnection "", "DB NAME"
SessionMgr.BeginSession "FILENAME", omDontCare
I installed the SDK to open my quickbooks file. This USED to work just fine, and for whatever reason, it stopped. I thought maybe the session wasn't completely ending between calls, so I added the CloseConnection prior to the call. Having that there or taking it out doesn't seem to make a difference. The code errors on the last line and give the message "Unable to Open Quickbooks".
So, if I OPEN quickbooks, but I DON'T open the company file, this code will run fine. For whatever reason, it is getting hung up on opening the actual quickbooks program, and for the life of me I don't see why. I have gone as far as uninstalling/reinstalling the SDK, making sure the permissions were correct and such, and it still gets hung up on opening the program. Any thoughts?
:banghead::banghead::banghead:
This problem is driving me nuts and Intuit help is atrocious.
Dim SessionMgr As New QBSessionManager
SessionMgr.CloseConnection
SessionMgr.OpenConnection "", "DB NAME"
SessionMgr.BeginSession "FILENAME", omDontCare
I installed the SDK to open my quickbooks file. This USED to work just fine, and for whatever reason, it stopped. I thought maybe the session wasn't completely ending between calls, so I added the CloseConnection prior to the call. Having that there or taking it out doesn't seem to make a difference. The code errors on the last line and give the message "Unable to Open Quickbooks".
So, if I OPEN quickbooks, but I DON'T open the company file, this code will run fine. For whatever reason, it is getting hung up on opening the actual quickbooks program, and for the life of me I don't see why. I have gone as far as uninstalling/reinstalling the SDK, making sure the permissions were correct and such, and it still gets hung up on opening the program. Any thoughts?
:banghead::banghead::banghead: