Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Corrupt IDE

Status
Not open for further replies.

barbieG

Programmer
Sep 27, 2006
2
US
Hello,

I have an application when run through the ide performs as expected however upon creating the executable does not perform the same.

In an if, then, else stmt the condition is true in the IDE but false when the exe is built and run. How can this possibly be and how do I debug? The condition is regarding the value of an item in a collection.

When I step through the code works perfectly when I build and run the exe the item in the collection has lost its value and the code executes the else stmt.

I have rebooted and rebuilt the app. I have rebuilt with a new file name. I've created an install and installed on Virtual PC. I've loaded VB 6.0 on virtual PC and built the exe. Nothing I have done will get the file built and run the same as when run through the IDE.


Any suggestions would be greatly appreciated.
 
I would look for differences between the IDE environment and the environment where the EXE is deployed. For example, maybe a file that the program uses that it expects in the application directory.

Showing your code might inspire an insight.
 
>>Showing your code might inspire an insight.
I second that ;))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top