By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,651 Members | 1,694 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,651 IT Pros & Developers. It's quick & easy.

Link Access and QuickBooks

P: n/a
I use Intuits Software Development Kit with Access 2000 and set a reference
to a dll (QBXMLRP2.dll).

This works OK if QuickBooks is installed.(the the dll noted above is
installed by QB)

If QB is not installed I get an error before my app even gets to a point
where I can trap the error.

Is there a way to use early binding in this situation?

My code includes

Public qbXMLCOM As QBXMLRP2Lib.RequestProcessor2
Set qbXMLCOM = New QBXMLRP2Lib.RequestProcessor2

I tried some variations of GetObject but couldn't get it to work.

Thanks


Sep 6 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Wed, 6 Sep 2006 17:21:35 -0500, "Karl Irvin"
<88********@comcast.netwrote:

Yes. As with all ActiveX work, *late* binding will do the trick.
Typically I write my code using early binding (taking advantage of
Intellisense), then switch to late binding at the last moment:
* Uncheck the reference to the ActiveX component
* Change all declarations to "As Object"
* Use GetObject to test if the object is already running, and
CreateObject if it isn't. If both fail, the object is not installed
and you can "gracefully degrade" your application.

-Tom.

>I use Intuits Software Development Kit with Access 2000 and set a reference
to a dll (QBXMLRP2.dll).

This works OK if QuickBooks is installed.(the the dll noted above is
installed by QB)

If QB is not installed I get an error before my app even gets to a point
where I can trap the error.

Is there a way to use early binding in this situation?

My code includes

Public qbXMLCOM As QBXMLRP2Lib.RequestProcessor2
Set qbXMLCOM = New QBXMLRP2Lib.RequestProcessor2

I tried some variations of GetObject but couldn't get it to work.

Thanks


Sep 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.