By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,856 Members | 2,149 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,856 IT Pros & Developers. It's quick & easy.

Sql Compact Installation

P: 16
Hi all, Is there any way by which we can find pro grammatically whether SQL Compact is installed or not... Actually I need to know whether the compact edition is installed or not in PC and so that I can include or exclude the SQL Compact dll... Because in my application there are different process that access the same .sdf file which will cause Access Violation error if those dll are included and compact is installed...

Any idea!!!
Oct 21 '09 #1

✓ answered by Delerna

Have you tried searching the registry for the keys that get added when SQL Compact is installed.

All you need do then, is pragrammatically check for the existance of those keys in the registry

Share this Question
Share on Google+
1 Reply


Delerna
Expert 100+
P: 1,134
Have you tried searching the registry for the keys that get added when SQL Compact is installed.

All you need do then, is pragrammatically check for the existance of those keys in the registry
Oct 22 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.