473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with deployment

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

Nov 21 '05 #1
1 7348
On 31 Oct 2005 04:45:52 -0800, "Simon" <si******@ntlworld.com> wrote:
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.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Oleg | last post by:
HI, all. Sorry for posting to so many groups, but I really don't know in which group this question fits best. Anyways, here goes... I have a bunch of DTS packages that my client application...
1
by: Jo | last post by:
I am having a real problem with the Launch conditions in VS .NET and can only come to the conclusion that it is a bug. It states quite emphatically in the MSDN that Launch Conditions WILL be...
2
by: msnews.microsoft.com | last post by:
Hi Every Body, I build an application using vb.net. Now i m deploying on the client system. I know that the deployment automatically check the .net framework on the client system at startup. I...
3
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
1
by: Richard Thayne | last post by:
When adding the CrystalReportViewer Control to my aspx web form I get the control with red letters "Error Creating Control CrystalReportViewer1". I am using VS .NET 2003 and Crystal Reports XI. It...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
3
by: Patrick | last post by:
Hi All, I'm new to all this and I'm back for more help. I am working with global variables. I'm trying to make my xls just display the data for the defined <moorname>. In my example I am using...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
by: apondu | last post by:
Hello friends.. I needed some help on ASP.Net web application along with its web service deployment I have a situation where i am not able to understand and confused a bit on how to proceed...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.