Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 12th, 2003, 05:00 PM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default dll.files in a executable file

Dear Users,

after placing the executable on a local drive, I have serveral dll files which I need to make my program work. Is there somewhere else where I can place the dll's.

thank you

ADODB.dll
Comdlg32.ocx
DAO360.DLL
Interop.ADOMD.dll
Interop.ADOR.dll
Interop.DAO.dll
WindowApplication1.exe

How do I hide the dll's?????
 
Old December 12th, 2003, 05:52 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

For a .net exe application, you need to put the binaries in either the exe directory or in a "bin" directory under the exe directory. I think either work. You can't hide them. That's the way it works. When an application runs, it looks binaries in the execution directory or a bin directory under it.

If you want to "hide" the DLLs, there are ways, but it's not recommended for small applications. You have to use the Global Assembly Cache. Why do you want to hide them?

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running executable file Promod333 Visual Basic 2005 Basics 1 September 7th, 2007 10:15 AM
Make Destination mdb file Executable ayazhoda Access VBA 8 April 25th, 2007 04:54 AM
Calling an executable file from ASP.NET kwilliams ASP.NET 2.0 Basics 0 June 8th, 2006 11:43 AM
php executable file hosefo81 PHP How-To 4 March 23rd, 2004 10:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.