Solved

Cannot run VB application in 2000. VB application created in XP. Different windows platform give different thing?

Posted on 2003-12-04
6
291 Views
Last Modified: 2013-11-14
Hi experts,

i'm creating a standard exe project using visual basic. All my work on this i done it in windows xp. meaning that when i create my VB into exe file, i run smoothly in windows xp. but when i want to run in windows 2000, windows give error something like this..
"<my project > generated an error. Windows need to close the application. Error log file is created." .
i don't know what happen. i also can't find the error log file. All this don't happen when i'm using windows xp.

please help me..

thanks a lot
0
Comment
Question by:Diode_Temp
6 Comments
 
LVL 1

Expert Comment

by:Krash_io
ID: 9880430
I'm going to guess that you're using VB6, in that case make sure you have service pack 5.

Make sure the windows 2000 machine has the latest service pack.

If that doesn't work, try compiling the program on a 2k machine.


Good luck!
0
 

Author Comment

by:Diode_Temp
ID: 9881083
i thing i don't get.. i have created an application (exe file) using VB..
so if i want to run the application in a different computer.. do the other computer need to have Visual Basic install in it?
Because what i think.. if it is already an application file ( exe file) so no need VB to be install in order to run the application.. But what happen is i cannot run the application in windows 2000 which don't have VB install.. Is it the case?
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 80 total points
ID: 9881963
You need VB runtime in order to run

Use Package & Deployment Wizard to package your app and install on Win2k machine and run
0
 
LVL 3

Expert Comment

by:TimW1
ID: 9902954
You software needs to be deployed.  There are many install programs like Installshield, Wise etc.  The WORST being the package and deployment wizard that comes with VB.  If you have any ActiveX DLL's or EXE's you have written and your application depends on them, they need to be copied to the destination pc and registered in windows.  
I think that Windows 2k comes with the VB 6 runtime.  It is more likely that you have a control (ocx) or something that the main exe depends on that is not on the 2k pc.
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 10267590
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered EDDYKT
 
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

leonstryker
EE Cleanup Volunteer
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
WiX Installer 2 51
Best way to accomplish this task? 3 77
How does CurrentUser work? 10 25
LINUX, CPANEL & WHM 5 21
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now