Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


ActiveSync & program directory


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-2007, 03:44 AM
Newbie
 
Join Date: Sep 2007
Posts: 8
Default ActiveSync & program directory

I have created a database program and have created a setup program with SetupBuilder1.03.

When I install this onto my PDA it creates a program directory under \Program Files.

How do I synchronize the data files as ActiveSync copies files back and forth between those directories directly under 'Mobile Device'?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-27-2007, 06:01 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

Usually Activesync synchronizes the \My Documents folder (if you navigate a little with File Explorer you will see it).
You can check if the database file exists in My Documents folder when your application starts, and copy it from the current folder if required.
The Hardware.GetSpecialFolder can help you find 'My Documents' folder.
Another solution will be to edit the inf file that SetupBuilder creates and launch cabwiz yourself.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DLLs in a shared directory John F. Eldredge Questions & Help Needed 1 05-16-2008 05:39 AM
How to find files in a directory pmu5757 Questions & Help Needed 2 05-07-2008 12:37 PM
Root Directory to see progs colin9876 Questions & Help Needed 2 11-16-2007 10:04 AM
Loading fonts outside of the font directory Mistrel Questions & Help Needed 1 10-16-2007 07:28 AM
ActiveSync and Rapi Lasse Questions & Help Needed 1 09-19-2007 01:25 PM


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0