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

Error messages only in runtime environment

Status
Not open for further replies.

Niebotel

Programmer
Jan 1, 2007
169
NL
My application (ACCESS2007) is ready and tested. But if I run it with ACCESS RUNTIME on other PC's it does not work well and gives error massages:

Type mismatch
Class does not support automation or does not support expected interface
Object variable or with block variable not set

What can I do to solve it?
 
Could you post some sample code of where it breaks?
 
The problem seems te be more complicated:

I took an older version of the program and tested it whether it works in te runtime environment.
It does; no problem.

If I add now only 1 line of code and again test it in the runtime environment is gives the error. If I remove the line of code again and test it again it has the same error. So it seems nothing to do with the code but after saving the module something is wrong also with the old code in place again.

I start to think that it has something to do with the references??? But how can I solve it. I have to deliver the software very soon now so I'm quit desperate!

Greetings Willem
Netherlands
 
I found the solution on an other forum. Perhaps intersting for other programmers. The problem is cause by Windows 7 with SP1. Solution: create the MDE on an ols XP machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top