What's the error message, crucial to finding out what's going on.
Complete exception text, etc, :)

Also - what version of Visual Studio are you using, what .NET
Framework version is the project set to use?

If for example you are using Visual Studio 2008 on Vista, and are
compiling for .NET 3.5, it won't work on .NET 2.0 on XP.  (However,
since 3.5 is just a set of extensions for 2.0, 2.0 will work on a
machine with 3.5 installed).

Please reply so others with the same problem will find an answer

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to