General discussion

Locked

VB6 distribution

By NiceMaster ·
I compiled my program to an EXE file. It would not run on another machine, the error is:
"Class does not support Automation or does not support expected interface"

I use Automation and DB Access using Microsoft ACCESS. I already installed MDAC_typ.exe on the
machine with No Luck.

What am I doing wrong. Please help.

Alex Deveza

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

VB6 distribution

by TheChas In reply to VB6 distribution

Does the "target" PC have the correct VB runtime files installed?

Unless you included the runtime files in your executable, the required DLL's may not be on the system.

Chas

Collapse -

VB6 distribution

by NiceMaster In reply to VB6 distribution

Poster rated this answer

Collapse -

VB6 distribution

by ohJani In reply to VB6 distribution

some of the DLLs (especially those written my the developer) might be left out during the packaging of setup files, check again and see which DLLs are missing.
another possible reason is, some of the DLL didn't register correctly during the installation process. i experienced this error when i wrote my own DLLs and deployed to the client's computer. all the DLLs are fine, except one didn't register correctly, so i have to do it manually.
when does the error come out? in the middle of doing something or right after u run your EXE?

Collapse -

VB6 distribution

by NiceMaster In reply to VB6 distribution

Poster rated this answer

Collapse -

VB6 distribution

by NiceMaster In reply to VB6 distribution

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums