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

File or assembly name not found...

Status
Not open for further replies.

kristinac

Programmer
Jul 18, 2003
98
US
I had to make changes to a vb6 program for a customer. I converted the program into vb .net and made the changes. Now, my customer cannot run the program. He gets the error message:

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll
Additional information: File or assembly name Microsoft.VisualBasic.Compatibility, or one of its dependencies, was not found.


I went to the Knowledge Base article and I gotta tell ya, I didn't really get it. I tried to follow what I was supposed to do, recompiled and sent it to the customer again. He still receives the same message.

I made sure he has the .Net framework. He has the 1.0 version, the service pack, and the 1.1 version installed. Today I suggested he uninstall the 1.1 and try running the program again, but I'm thinkin that's not going to work either.

I would SO appreciate any assistance...
Thanks! :)
 
How did you package it? As far as I know, Microsoft.VisualBasic.Compatibility is not part of the Framework but must be part of the deployment package, unless your user has VB.Net installed. Did you create and run a Setup/Deloyment package? It is no5t enough jusy to send the EXE.

Forms/Controls Resizing/Tabbing
Compare Code
Generate Sort Class in VB
Check To MS)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top