I have developed a windows application.
My development environment is win7, office2007, C#, VS2010, Winforms.
My application stores data in MS Access.

Is there any way with which i can create a connection string based on Oledb driver version present in PC?

Have a look at this article and the links provided Click Here Seems the easiest way is using registry values.

If you can retrieve the version then you can just build a custom string for the connection.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.