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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.net App on WinXP not working? 1

Status
Not open for further replies.

bitwise

Programmer
Mar 15, 2001
269
US
Why won't my simple VB.net app that was compiled on a Win2000 machine work on WinXP? I'm new to VB.net, but I've never had problems with Visual C++ apps compiled on Win2000 running on a different MS operating system. Is there something special I have to do to make the app work on Win2000 and WinXP?

Any thoughts,
-bitwise
 
You'll have to give more info than "it won't work"...

----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Sorry about that. On Win2000 you run it and it opens up and works fine. On WinXP it says:

----------------------------------------------------------------------------------------------------------------------
App.exe - Application Error

The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.
----------------------------------------------------------------------------------------------------------------------

Thanks,
-bitwise
 
Are there any more detailed errors in the Event Log?

----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
The .exe and .dll files that are compiled by the .Net IDE are actually CLR, not assembly. When you click on the .exe file the CLR code uses the .Net framework on that machine to compile the code to assembly for that machine.

If you are having problems moving from your Win2k dev machine to the WinXP machine, a quick thing to check would be that the XP machine has the same version of the framework.

IOW: Patch/Update and reboot.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
[banghead]
 
Thanks Rick, that's what it was. Once I installed the .Net Framework 1.1 on the WinXP machines the app worked just fine. Learn something new everyday.

-bitwise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top