Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Visual Studio 6 exe doesn't work on win98


Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2005, 12:28 AM
PAUL_F PAUL_F is offline
Newcomer
 
Join Date: Mar 2005
Posts: 1
Default Visual Studio 6 exe doesn't work on win98


Hello,

Completely new to VB6, I have been developing with excel vba for several years. I created a simple calculator in VB6, and the error handling as my VBA knowledge transfered straight over pretty much.

I took the option Make Calculator.exe and no real problems, I know have a simple payment calculator that works perfectly on my XP machine. I burnt the exe onto cd and took it to another pc running windows 98 and it loaded up ok, but crashed instantly i tried to do anything.

How do I make my program backwards compatiable?

thanks,
Paul
Reply With Quote
  #2  
Old 03-20-2005, 02:35 AM
mrjeffy321 mrjeffy321 is offline
Ultimate Contributor
 
Join Date: Apr 2003
Location: Texas, USA
Posts: 1,623
Default

Does your porgram load at all on the 98 machine, or does an error message pop up instantly?

my guess is that since you made the program on you XP machine, using vb, you have all the necesary file needed to run it, obviously. but then when you moved it to the 98 machine, it either doesnt have, or cant find those necesary files and thus, the program crashes.
a visual basic EXE needs certain file to run properly, sometimes, you may get lucky and those files are already on the computer you want to run the program on, and other times (often when using non-standard control, but not always) it wont have those files, causing an error.

you might try making an install file for your program, either using visual basic's "package and development wizard", or another install file maker of your choice.
Reply With Quote
  #3  
Old 03-20-2005, 03:07 AM
Deadalus Deadalus is offline
Promising Talent

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

You should make a setup package (with the Package&Deployment Wizard or a third party program) for your application instead of just copying the exe, and make sure you include the VB runtime files. Windows 98 comes with the runtime files for VB5, not VB6.
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

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
 
 
-->