Exe only runs on development machine...

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

I created an exe file on my Win2000 machine with VB.NET 2003 and it
runs fine. I tried copying the file to a computer with WinXP and the
NET Framework installed. I get the error "Application has generated
an acception that could not be handled."

What else do I need to do?
 
Does the executable depend on some other thing that didnt get copied over? A
file that you assumed would be there or a registry entry??

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
I found the problem. The program was converted from a VB6 project
that I had made lots of changes to. There were some uneeded
references.

But still, I can't just copy the executable onto a computer with the
NET framework installed and have it run. I have to copy some
dependencies into the app path before it will run. What's the point
of the framework then?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top