VB.NET app compiled in Vista does not work on XP

  • Thread starter Thread starter pmw
  • Start date Start date
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
The thing is: I only have a virtual machine to test my software on XP,
but I can't develop on it.
The error shows up, when I try to declare a public OleDb object. Here
the source:
Public DatabaseConnection As New OleDb.OleDbConnection
This error only happens, when I try to fill up the ConnectionString of
this OleDb Object.
The error message itself is not really helpful, so I won't post it
right now.
My Question is: Where is the problem, is there someone which had
similar problem with Vista and XP apps?
Thank you for your help.

Problem solved! It really was a damaged project file. Copied now all
the sources to a complete new project, and now it works ... don't ask
me why.

Thank you all very much for your help!

Cool. Thanks for the feedback, glad you solved.

Onur G.
 
Back
Top