Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to manipulate BO fro

Status
Not open for further replies.

JARE

Technical User
Jul 27, 2000
50
0
0
US
Is there a way to manipulate BO from other
applications? example:
using CreateObject(Excel.Application)
I referenced the BO 5.1 ObjectSet and tried
CreateObject(Busobj.Application) with no
luck.
 
Yes, you should be able to do this with that command, but you have to activate the reference to the library yourself.
In your editor, go to TOOLS/References in VBA, or PROJECT/References in Visual Basic 6, and tick the box for BO 5.1.
What is the syntax you are using?? Try this:
Dim BOApp as busobj.Application 'or just as Application
Set BOApp = CreateObject("busobj.Application")
Call BOApp.LoginAs("user", "pass", True, "BOMainkey")
BOApp.Visible = True

The login parameters need to be changed by you according to your settings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top