• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need Help with Visual Basic

de8212

Diamond Member
I have finished my prog and I want to create an .exe file. I have tried using the Package Wiz but when I try it on another machine it still says I am missing a .dll file. Why is this so difficult to do?
Any ideas?
 
when you use the package wizard to create the install file, go in and explicitly include the DLL it is asking for, to make sure it is included. The wizard sometimes misses DLLs when it reads your code and tries to identify all the DLL's you need.
 
Thanks Train. I know this may sound stupid but where are the .dll files I need? SHouldn't all the files for this prog reside in the folder I created to save all my projects?
de
 
not neccessarily, shared DLL's should be in the windows system directory (usually C:/windows/system/ on Win9x, or C:/winnt/system/ on NT or 2k) You can specify in the install wizard to use the default windows sytem directory, which will install wherever the system directory is for any computer.
 
The Windows System directoy on NT/Win2k is c:\winnt\system32 (assuming you intalled NT/Win2k in c:\winnt).

In your VB project the DLL's are "picked" up from the Registry - as result they can be anywhere on your system. To see which DLL's you are using goto Project => Reference and you will then see a list of all the "Objects" available. The ones that are checked are the ones you are "referencing" i.e. using in your project. If you select each one by one (don't uncheck them) you can see the path where the dll resides.

As Train pointed out the Package and Deployment Wizard can pick up a few of those (not all though).

Hope this helps.

Amit.
 
Back
Top