473,385 Members | 1,973 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,385 software developers and data experts.

deployment .exe file for window application

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
Feb 19 '07 #1
3 1136
=?Utf-8?B?bWFydGluMQ==?= <ma*****@discussions.microsoft.comwrote in
news:4E**********************************@microsof t.com:
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.
Feb 19 '07 #2
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

"martin1" <ma*****@discussions.microsoft.comwrote in message
news:4E**********************************@microsof t.com...
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

Feb 19 '07 #3
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

"martin1" <ma*****@discussions.microsoft.comschreef in bericht
news:4E**********************************@microsof t.com...
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

Feb 20 '07 #4

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

Similar topics

1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Mika M | last post by:
I have made Setup and Deployment Project for my application. This application uses couble of Crysral Report .rpt -files, so I included following into Setup and Deployment Project ... -...
1
by: Wendy Elizabeth | last post by:
I need to deploy a service that will run on a production server. I am not certain what category of deployment directions that I should follow from the MSDN site. The service is written is Visual...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
3
by: Rich | last post by:
Hello, I have been using OneClick deployment to deploy apps at my workplace. Works great! But now I have to deploy additional files with the app, like chms, rtfs. How do I publish the...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
2
by: Miro | last post by:
Reading the help file it says in step 2 to click on "other project types" and then click on "Setup and Deployment projects".( see below ) I am using vb2005 express. Im assuming this is not an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.