Help with deployment

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Hi all,

I have converted an old VB6 app to .NET. The following DLL's are
generated which I include in the same directory as the exe.

AxInterop.ComctlLib.dll
AxInterop.MCI.dll
AxInterop.MSChart20Lib.dll
AxInterop.MSComCtl2.dll
AxInterop.MSFlexGridLib.dll
AxInterop.RichTextLib.dll
Interop.ComctlLib.dll
Interop.MCI.dll
Interop.MSChart20Lib.dll
Interop.MSComCtl2.dll
Interop.MSFlexGridLib.dll
Interop.RichTextLib.dll

When I transfer the exe and above DLL's to another computer (which has
the .net framework installed) and run the program I get no end of
problems - namely complaints about classes not being registered. I
registered all the above DLL's using regasm but it made no difference.
The only way to get the exe to run is to install Visual studio .NET on
the machine.

Please could someone give me some advice.

Many thanks in advance

Simon
 
Hi all,

I have converted an old VB6 app to .NET. The following DLL's are
generated which I include in the same directory as the exe.

AxInterop.ComctlLib.dll
AxInterop.MCI.dll
AxInterop.MSChart20Lib.dll
AxInterop.MSComCtl2.dll
AxInterop.MSFlexGridLib.dll
AxInterop.RichTextLib.dll
Interop.ComctlLib.dll
Interop.MCI.dll
Interop.MSChart20Lib.dll
Interop.MSComCtl2.dll
Interop.MSFlexGridLib.dll
Interop.RichTextLib.dll

When I transfer the exe and above DLL's to another computer (which has
the .net framework installed) and run the program I get no end of
problems - namely complaints about classes not being registered. I
registered all the above DLL's using regasm but it made no difference.
The only way to get the exe to run is to install Visual studio .NET on
the machine.

Please could someone give me some advice.

Many thanks in advance

Simon


I was having the same problem, basically. (See the other thread on
this ng titled "Creating COM Objectsin VB.NET"). I haven't found out
what exactly to do to register the DLL's, but I did find this:

Create a Deployment Project (for a Windows Application) in Visual
Studio in the same Solution as your other DLL's, and include the main
outputs of your other project(s) in the deployment project. This will
create a Setup.exe and some other files. Copy these files to the
target machine and run the Setup.exe program to install your DLL's.

That's what worked for me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top