Help With Basic Windows Mobile App
- From: "FlyFishGuy" <FlyFishGuy@xxxxxxxxxxxxx>
- Date: Sat, 20 Dec 2008 12:08:58 -0500
This is my first attempt to create a simple mobile app, with db access, but
I'm having issues and I can't seem to find any (accurate) info on the
problems.
I'm using, VS2008 SP1, SQL CE 3.5, WinMobile Pro SDK 6.0, ActiveSync 4.5.
First, my app will only run using the 'Classic' emulator. I have MANY goofy
exceptions when trying to use the 'Professional' emulator. I know that's not
an SQL CE issue, but I thought I'd throw it in also in case someone else has
seen the same issue.
Regarding SQL CE, I have yet to connect to my DB. I always get the 'the path
is not valid' error using the emulator. The sdf file is set to Build
Action=Content and the Copy To Output Dir= Copy Always. I've seen many
suggestions for this error like using double backslashes in the path,
puttimg 'Mobile Device' in the path, using '|DataDirectory|', etc. I've
tried everything I have read, but no connection. I've also read where I
should be manually copying the sdf file, but how? The emulator does not show
up in the 'Mobile Devices' on the PC. I'm lost.
My first thought is that if something so simple is so difficult to figure
out and there is no (findable useable) documentation on this then I should
wait until the technology matures to the point that it works out-of-the-box,
but I would like to get this working if anyone can provide some clarity on
this.
Thanks
.
- Follow-Ups:
- Re: Help With Basic Windows Mobile App
- From: Pete Vickers
- Re: Help With Basic Windows Mobile App
- Prev by Date: Re: SqlServerCe foreign key problem
- Next by Date: Re: SqlServerCe foreign key problem
- Previous by thread: Remote Data Access using SQL Server 3.5 in a VS2008 C++ project
- Next by thread: Re: Help With Basic Windows Mobile App
- Index(es):
Relevant Pages
|