hinu
hinu

Reputation: 1

vb6 dll in .net REGDB_E_CLASSNOTREG

Hope someone could help me.. I created a vb6 dll which suppose to use the printer.print method since i want an easier printer functions.. it runs smoothly in same computer using vb.net 2012 , the problem is after publishing it in newly installed OS with prerequisite installed computers

p.s. already tried installing vb6 IDE and tried the actual printer.print without a problem

Upvotes: 0

Views: 154

Answers (1)

Be sure your installer properly registers the DLL. Given your Title, this is probably the first culprit. But there will also be some (many?) VB6 runtimes which need to be installed as well. I am not sure if the standard .NET setup maker knows how to determine what they are and newer machines you install on may not already have them.

When you installed the VB6 IDE you probably fixed the runtimes issue for THAT machine, so it probably has to do with the DLL being registerd. For more installs, you may have to create a mini VB6 installer for the project to install the runtimes.

What is the target OS?

Upvotes: 1

Related Questions