using the dll , in the same directory instead nt4 directory

Posted on 1999-01-19
Medium Priority
Last Modified: 2010-05-03
I put in the directories programm all what I need (dll, ocx and tbl). I need to use those in that directory not those ones in nt dorectory. I don't whant to install it on every PC. Is it possible to let user those dll place in the directory, like maybe using dep file where the name of all dll need it.
Question by:robertbeauregard

Accepted Solution

jjbyers earned 300 total points
ID: 1469368
You can place a DLL in any directory you wish. When they are registered Windows will find them.

If these DLL's are already registered on these machines then when you install these new DLL's and register them it will replace the pointer in the registry to the copy in your directory.

You'll end up with duplicate files.
LVL 10

Expert Comment

ID: 1469369
It doesn't matter whether you place these DLLs in your own directory or copy them over existing ones  in your Windows' System directory - when you register the new ones you will no longer be able to use the old ones anyway.

You may as well copy them into the Windows' System directory where they belong.

You are better off always including all the files that your program depends upon in a setup, and to install them where they should go - in the Windows System directory if needs be. If the target PC has a newer version of files they won't be overwritten anyway so you should be OK.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question