Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Application Finding VBXs and DLLs

Question:
I have created a VB executable file and now want to distribute it to users. I want this executable to reside on our network drive. The problem that I am running into is that I want the application to look for additional files, such as DLLs (VBRUN300.DLL) and VBXs (GRID.VBX), in a specific directory rather than the default directories that Windows looks in (WINDOWS, WINDOWS/SYSTEM). Is there a way that I can set up an INI file or maybe some other solution?

Answer:
VBXs and DLLs will be found by a VB application as long as the directory is listed in the PATH variable in the AUTOEXEC.BAT. Just add in the network path to the PATH variable, and you will not have any trouble.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap