VisualBasic... missing reference
Hi,
I recently converted my program to run under .NET Framework V2. However, a small number of users are having problems getting it to run. They are getting an error which says "Microsoft.VisualBasic .....system.io.filenotfoundexception".
All of the users having problems have recently installed (ie within the last 2-3 weeks) V2 of the NET Framework.
The vast majority who have experienced no problems have had V2 installed for some time now.
Can anyone shed some light on this please.
Thanks in advance for your help.
NagaJim
[580 byte] By [
nagajim] at [2007-12-28]
DO you know what line in your program is causeing the exception?
If not you can use the application.UnhandledException event to write out a log and find out where it is comming from!
The error happens on application load - as far as I can gather it cannot find the file - C:\Windows\Microsoft.Net\Framework\V2.0.50727\Microsoft.Visualbasic.dll
But it only happens to those who have downloaded and installed the NET Framework recently. As I said the vast majority of users (95%) experience no problems but they have had NET Framework V2 on their Machines for some time now.
NagaJim
interesting. obviously your trying to use some legacy VB code somewhere in your app, I would suggest upgrading your coding to use the .NET classes whereever possible instead of still sticking to old code :-)
have you tried to remove the reference to Microsoft.VisualBasic.dll in your project references and re-adding it then re-deploying it? what happens?