deployment .exe file for window application

G

Guest

Hi, All,

I use ADO connection to connect DB, when build/run, it generates
interop.ADODB.dll and appName.exe, I want to use only .exe to deployment
this window app, so how to put the .dll file and .exe to generate only one
..exe file, which include .dll? The reason I ask is if deploying only .exe,
the app won't run and get error message, if put .dll and exe together, it
runs good. Therefore, any one can help this out?

Thanks for your time in advance,

Martin
 
G

Guest

I use ADO connection to connect DB, when build/run, it generates
interop.ADODB.dll and appName.exe, I want to use only .exe to
deployment this window app, so how to put the .dll file and .exe to
generate only one .exe file, which include .dll? The reason I ask is
if deploying only .exe, the app won't run and get error message, if
put .dll and exe together, it runs good. Therefore, any one can help
this out?

Any reason why you're using ADO? Why not ADO.NET?

Unfortunately since you used ADO... the application requires the interop
assembly to run.
 
S

Smokey Grindel

you REALLY should switch to ado.net, its much MUCH more rich in control and
functionality.. ADO may run in connected mode, but you can work with data
easier in my opinnion in ADO.NET
 
C

Cor Ligthert [MVP]

Martin,

The so called DLL hell is solved with Net programs. However if you use Net
and non Net programs it is only solved for the Net programs. Therefore as
the other responders, or choose ADONET or don't use the benefits

Cor
 

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

Top