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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access 2003 connection to Accessory Manager

Status
Not open for further replies.

jar27

MIS
Jan 15, 2004
2
US
Hello,

I need help, I recently updated from MS Office XP to Office 2003. My connection from MS Access to Accessory Manager worked fine, but now I am getting an error. Here is my code:

Set am = CreateObject("ACCMGR.System")
Set Sessions = am.Sessions
'string for the location of IHAN-1
strLocation = "C:\infocn32\accmgr32\IHAN-1.adp"
''Open IHAN-1
Sessions.Open (strLocation)
'Set an active session to an object
Set Session = am.ActiveSession
'Here is where I get my error
Session.Screen.WaitHostQuiet (100)

It says, Run-time error '91;
Object variable or With block variable not set.

I don't understand, it worked fine before the upgrade, is MS Access 2003 causing the error? Help.
 
Check your references. The reference will be different I would think.

calculus
 
I've checked the references, but it references are the same. So I don't believe it is that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top