hamma... i think it won't happen like, until unless you missed some dependences , check that is OLEDB drive is there in u r windows xp pc, and u have a permission to access database file ?i am sure that it should give some exception
On Tue, Sep 23, 2008 at 11:44 AM, CK <[EMAIL PROTECTED]> wrote: > > Do you have the same version of .net on both machines? > > On 22 Sep, 12: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 -~----------~----~----~----~------~----~------~--~---
