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.
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.