Home All Groups Group Topic Archive Search About

access sql mobile on WM5.0 device from desktop

Author
1 Mar 2006 8:22 PM
Ian
I'm trying to create a VB2005 windows app that retrieves data from a Window
Mobile 5.0 device connected by ActiveSync 4.  I've added the sql mobile
database as a datasource in my project and created a bound control using the
drag and drop.

When I run the application, I get an SQLCEexception 'The path is invalid'.
The drag & drop process has automatically set the connection path to "Mobile
Device\My Documents\mydb.sdf", but this is what causes the error. I can view
the data perfectly in the data source browser, but I can't  access it in the
application.

I must be ding something stupid, but I can't find any reference to similar
problems in the newsgroups. Any ieas?

Thanks
Ian

AddThis Social Bookmark Button