Solved

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

Posted on 2003-12-04
6
294 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

912 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

20 Experts available now in Live!

Get 1:1 Help Now