Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mac Installer for Firefox 48 4 124
ruby gem installation 2 53
Microsoft volume license for installation 11 39
how to loop through and process two columns in excel 8 23
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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.
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…
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…

860 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