Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MS Access 2003 connection to Accessory Manager

MS Access 2003 connection to Accessory Manager

MS Access 2003 connection to Accessory Manager


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.

RE: MS Access 2003 connection to Accessory Manager

Check your references. The reference will be different I would think.


RE: MS Access 2003 connection to Accessory Manager

I've checked the references, but it references are the same. So I don't believe it is that.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close