Detecting SQLCE?

  • Thread starter Thread starter David Johnson
  • Start date Start date
D

David Johnson

Hi,
Does anyone know a quick way to determine (programatically on the device) if
sqlce is installed?

Any Thoughts are much apreciated.

Thanks,
David
 
I disagree, on a pocket pc 2002 device the .net compact framework can be
installed without SQLCE.
This is what I am trying to detect... I should have been more clear..

I have an application that I have developed and about 20% of the devices
that it is installed on get this error:

Error message:-

Unspecified error

Exception type:

System.Data.SqlServerCe.SqlCeException

installing SQLCE has corrected this in a couple cases, and a hard reset has
corrected it in others..

Are these signs of a corrupt SQLCE install?

thx,

David Johnson
 
The other way is to check registry.
Check if the following key exists and the "Instl" value is 1.
HKLM\Software\Apps\Microsoft SQLCE 2.0

--
Best Regards,
Jan Yeh

eMVP, MCAD, .NETcf Developer
Mobile Mind Company @ Taiwan
 
Back
Top