Please bear with me if this is an elementary question but I have very little experience using COM.
I am writing an agent to work with the Quickbooks and am trying to create a new instance of the QBSessionManager object but I can't quite get the syntax. All their examples are in Visual Basic and are of the form:
Set QB = New QBSessionManager
So far I have the following Lotusscript:
Dim qbApp as Variant
Dim qbSessMgr as Variant
Set qbApp = CreateObject("Quickbooks.Application")
Set qbSessMgr = New qbApp.QBSessionManager
However, Designer doesn't like the line Set qbSessMgr = ... and won't save. Any help would be greatly appreciated.