PC Review


Reply
Thread Tools Rate Thread

deployment .exe file for window application

 
 
=?Utf-8?B?bWFydGluMQ==?=
Guest
Posts: n/a
 
      19th Feb 2007
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
 
Reply With Quote
 
 
 
 
Spam Catcher
Guest
Posts: n/a
 
      19th Feb 2007
=?Utf-8?B?bWFydGluMQ==?= <(E-Mail Removed)> wrote in
news:4E202DF2-813D-465E-9298-(E-Mail Removed):

> 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.
 
Reply With Quote
 
Smokey Grindel
Guest
Posts: n/a
 
      19th Feb 2007
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" <(E-Mail Removed)> wrote in message
news:4E202DF2-813D-465E-9298-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      20th Feb 2007
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" <(E-Mail Removed)> schreef in bericht
news:4E202DF2-813D-465E-9298-(E-Mail Removed)...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File not being included in my deployment application John Sheppard Microsoft Dot NET 1 20th Dec 2007 12:18 PM
Downloading/opening file in client application window Rob Nicholson Microsoft ASP .NET 3 13th May 2005 03:26 AM
Application Configuration file... vb.Net deployment and the database Colleen Cox via DotNetMonster.com Microsoft VB .NET 0 6th May 2005 12:48 PM
how to read application ".config" file in No-touch-deployment Nick Malik Microsoft Dot NET 3 21st Dec 2004 10:08 PM
Re: Open file in native application window H Leboeuf Windows XP Internet Explorer 0 20th Sep 2003 04:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.