Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Installation / Documentation > Error running VB6 compiled EXE program on other PCs. Missing OCX, DLL files?? Help!


Reply
 
Thread Tools Display Modes
  #1  
Old 05-28-2003, 08:50 PM
DaveMustaine DaveMustaine is offline
Regular
 
Join Date: Apr 2003
Location: Singapore
Posts: 61
Unhappy Error running VB6 compiled EXE program on other PCs. Missing OCX, DLL files?? Help!


i tried running my compiled EXE program on a different PC and i got a error message saying it needs a comdlg32.ocx & msvbvm60.dll file to run.
Issit becos tat PC doesnt hav VB runtime files to run the program i hav compiled?

how can i make my program portable so tat they can run on any Windows-based PCs. Must i go search for comdlg32.ocx & msvbvm60.dll files & copy them to the c:\windows\system32\ if they dont hav it? Pls help. thanxs
Reply With Quote
  #2  
Old 05-28-2003, 08:56 PM
Deadalus Deadalus is offline
Promising Talent

Retired Moderator
* Guru *
 
Join Date: May 2002
Location: Brussels
Posts: 3,601
Default

Quote:
Originally Posted by DaveMustaine
Issit becos tat PC doesnt hav VB runtime files to run the program i hav compiled?


Yes.
You need to make a setup package with the Package and Deployment Wizard that comes with VB or with any other setup program.
Reply With Quote
  #3  
Old 05-28-2003, 08:56 PM
BankCop's Avatar
BankCop BankCop is offline
Centurion
 
Join Date: Mar 2003
Location: Lone Star State
Posts: 158
Default

You need to create an installation package. I suggest you use the Package & Deployment Wizard that comes with VB.
Reply With Quote
  #4  
Old 05-28-2003, 09:45 PM
DaveMustaine DaveMustaine is offline
Regular
 
Join Date: Apr 2003
Location: Singapore
Posts: 61
Default

ok, i went to find out how to use Package & Deployment Wizard after u guys suggested it by using this website -> http://msdn.microsoft.com/library/de...etupWizard.asp

ok, now i got this package folder. Inside, there are a SUPPORT folder & 3 files (setup.exe, setup.LST and a CAB file). So do i just use these 3 files without tat SUPPORT folder? Also, during the Package & Deployment Wizard, it say my OCX & DLL files r outdated but i continue anyway. Shld i get the latest version? where do i get the latest version? thanxs.

Last edited by DaveMustaine; 05-28-2003 at 09:52 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining which files to send with your newly compiled .EXE Wenin Installation / Documentation 13 03-29-2003 09:07 PM
MP3 Player Program - to copy files to portable device reddragon105 General 1 03-20-2003 02:33 PM
copying files to program files folder during setup mattrade Installation / Documentation 3 09-20-2002 10:18 AM
Required files burningodzilla General 11 09-12-2001 04:51 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->