<I have to have this done this week>
Good luck with that! The SDK is a bear to work with, and it took me quite some time to get my head around it. Note there are some 3rd party ODBC tools which make life a LOT easier, if you're willing to pay for them. QODBC is the most popular (
www.qodbc.com).
Do you have the QB SDK installed on your machine? Is so, there are quite a lot of examples for working with the SDK in the OnScreen Reference (Note: If you're using IE8 with the OSR, you MUST use compatibilty mode in order for things to function correctly). Basically, you send a Request and the SDK sends back a Response.
YOu must first open a "session" with QB. This is done using the QBSessionManager.OpenSessi
on call. Once you do that, you then build a MsgSetRequest, to which you add one or more "queries". Finally, you catch the result in a Response object.
Again, the SDK is your best hope for this, along with the Programmer's documents that are included with the SDK.