Discussion Locked

VB6 distribution

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

5 replies

by thechas

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

by ohjani

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?

This discussion is closed to new replies.