Guys, I solved the problem. Some file(s) was/were damaged. Still don't know which one it was. Solved the problem by creating a new project. Then I just copied the source code from the old project into the new one.
You can read the whole story in microsoft.public.dotnet.languages.vb - Topic: VB.NET app compiled in Vista does not work on XP Thank you anyway for your help. -- pmw On 22 Sep., 13:17, pmw <[EMAIL PROTECTED]> wrote: > Hey guys > > Got a problem with a VB.NET application. If I compile it in Windows > Vista, it doesn't work in Windows XP. > > The error happens when I try to declare a public OleDb object. Here > the source: > > >>Public DatabaseConnection As New OleDb.OleDbConnection > > The error only shows up, when I try to fill the ConnectionString. > > >>DatabaseConnection.ConnectionString = > >>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\AccessDatabase.mdb;Persist > >>Security Info=False;" > > It works fine in Windows Vista, but not in Windows XP. > > But: > If I compile the application in Windows XP, then it works also with > it. No error shows up then. > > So my question is: How can this happen, and did anyone ever had this > problem? > > Thanks for your help. > > -- > pmw --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
