I am trying to build a vb application that can add invoice to QuickBooks. But i am having trouble in starting the connection to QBs at start.
I download and install a QuickBooks Premier 2012-13, but using Trial version. I also download the QuickBooks SDK 12.0.
However, when i start testing the connection with QuickBooks with QuickBooks open. I got this error message: COMException was unhandled The requested connection type could not be found.
Here is what I got in code:
Dim strTicket As String
Dim qbxmlcom As New QBXMLRP2Lib.RequestProcessor2
qbxmlcom.OpenConnection2("", "Testing App", QBXMLRP2Lib.QBXMLRPConnectionType.localQBD)
strTicket = qbxmlcom.BeginSession("", QBXMLRP2Lib.QBFileMode.qbFileOpenDoNotCare)
I having no idea what i got wrong. Is there any setting I missed? I even try to use SDKTestPlus3 to test the connection, it got the same error message.
Can anyone give me some idea of what i got wrong?