Solved

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

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

770 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