PC Review


Reply
Thread Tools Rate Thread

Data Transfer using ActiveSync

 
 
Wapiti
Guest
Posts: n/a
 
      2nd Sep 2004
Hello AGAIN.... so much to learn, so little time... pardon for all the
requests for help.

I've built my first ppc app using CF VB.net 2003. I create an xml file to
store my program specific settings (such as tools | options items), receive
a parts.txt file for import into sqlce. and then export collection data from
a sqlce database to a collect.txt file for export to the PC. This is all
working fine, but I might have messed up. In VB6, I've always stored this
type of info (program specific ini, xml, data files and databases) in the
programs home directory (app.path). So this is what I did for my ppc app.

However, now comes the time to test and I found that activesync doesn't
appear to sync files in any location other than in 'my documents'. Is this
true?

Just curious how you folks handle data imports/exports? I'm not syncing
with a database now as this is to talk with an aged legacy system.

My app will be run on multiple ppc devices - each would begin with an
initial xml settings file that I'd like to maintain off the handheld for
each client, and then provide to them this xml file customized for their
needs. I see this as being copied to (sync'd) each device that they
purchase.

Also, the app will require a parts.txt file issued from the PC (legacy
system) - I'd like to have activesync copy this onto the handheld whenever
its available from the PC (whenever it is found in a given PC directory, it
should be copied to a specified directory on the ppc). The app will poll
that directory, when its available, it will request the user to initiate the
import.

Then, the app, upon user input, will generate a collect.txt file that needs
to be transferred to the PC and collected by the legacy system.

Currently I'm saving all data in a sqlce database. All files are storing in
the 'program files\myapp' directory. Is it best to create instead, a subdir
under 'my documents' to keep these files in?? I'd rather not, but if
necessary, I will.

Also, how does the process I described above sound to you? I'm not
experienced in ppc / cf development; I'm a vb6 and dos handheld programmer
from the days gone by; this ppc app is to replace a legacy system (thus the
reason for the ascii text files swapping back and forth).

Thanks for any ideas and thoughts you can shed!!

Mike



 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      2nd Sep 2004
I'd do the logic manually on the PC and not rely on the built-in sync stuff.
A good head start is the OpenNETCF.Desktop.Communcation stuff, though there
are probably VB6 libraries out there (willing to be there not as robust
though).

-Chris


"Wapiti" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello AGAIN.... so much to learn, so little time... pardon for all the
> requests for help.
>
> I've built my first ppc app using CF VB.net 2003. I create an xml file

to
> store my program specific settings (such as tools | options items),

receive
> a parts.txt file for import into sqlce. and then export collection data

from
> a sqlce database to a collect.txt file for export to the PC. This is all
> working fine, but I might have messed up. In VB6, I've always stored this
> type of info (program specific ini, xml, data files and databases) in the
> programs home directory (app.path). So this is what I did for my ppc app.
>
> However, now comes the time to test and I found that activesync doesn't
> appear to sync files in any location other than in 'my documents'. Is

this
> true?
>
> Just curious how you folks handle data imports/exports? I'm not syncing
> with a database now as this is to talk with an aged legacy system.
>
> My app will be run on multiple ppc devices - each would begin with an
> initial xml settings file that I'd like to maintain off the handheld for
> each client, and then provide to them this xml file customized for their
> needs. I see this as being copied to (sync'd) each device that they
> purchase.
>
> Also, the app will require a parts.txt file issued from the PC (legacy
> system) - I'd like to have activesync copy this onto the handheld whenever
> its available from the PC (whenever it is found in a given PC directory,

it
> should be copied to a specified directory on the ppc). The app will poll
> that directory, when its available, it will request the user to initiate

the
> import.
>
> Then, the app, upon user input, will generate a collect.txt file that

needs
> to be transferred to the PC and collected by the legacy system.
>
> Currently I'm saving all data in a sqlce database. All files are storing

in
> the 'program files\myapp' directory. Is it best to create instead, a

subdir
> under 'my documents' to keep these files in?? I'd rather not, but if
> necessary, I will.
>
> Also, how does the process I described above sound to you? I'm not
> experienced in ppc / cf development; I'm a vb6 and dos handheld programmer
> from the days gone by; this ppc app is to replace a legacy system (thus

the
> reason for the ascii text files swapping back and forth).
>
> Thanks for any ideas and thoughts you can shed!!
>
> Mike
>
>
>



 
Reply With Quote
 
Wapiti
Guest
Posts: n/a
 
      2nd Sep 2004
I wrote the original legacy PC app and it can be configured to place and
receive the transfer (ascii) files on any of the PC's subdirectory. So that
is handled.

My questions relate more to how ActiveSync works. Do the ppc files have to
be located in the 'my documents\*' directory? Or can they reside in the
'program files\*' directory too?

If there's detailed info on how exactly ActiveSync works, I'd be happy to
review that - but all I've found so far, is bonehead info on the basics.

Also, it doesn't appear that any specific file can be configured
differently - all files are treated the same. I'll assume for the moment
that this is correct.

Thanks for the help,

Mike

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
news:(E-Mail Removed)...
> I'd do the logic manually on the PC and not rely on the built-in sync
> stuff.
> A good head start is the OpenNETCF.Desktop.Communcation stuff, though
> there
> are probably VB6 libraries out there (willing to be there not as robust
> though).
>
> -Chris
>
>
> "Wapiti" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello AGAIN.... so much to learn, so little time... pardon for all the
>> requests for help.
>>
>> I've built my first ppc app using CF VB.net 2003. I create an xml file

> to
>> store my program specific settings (such as tools | options items),

> receive
>> a parts.txt file for import into sqlce. and then export collection data

> from
>> a sqlce database to a collect.txt file for export to the PC. This is all
>> working fine, but I might have messed up. In VB6, I've always stored
>> this
>> type of info (program specific ini, xml, data files and databases) in the
>> programs home directory (app.path). So this is what I did for my ppc
>> app.
>>
>> However, now comes the time to test and I found that activesync doesn't
>> appear to sync files in any location other than in 'my documents'. Is

> this
>> true?
>>
>> Just curious how you folks handle data imports/exports? I'm not syncing
>> with a database now as this is to talk with an aged legacy system.
>>
>> My app will be run on multiple ppc devices - each would begin with an
>> initial xml settings file that I'd like to maintain off the handheld for
>> each client, and then provide to them this xml file customized for their
>> needs. I see this as being copied to (sync'd) each device that they
>> purchase.
>>
>> Also, the app will require a parts.txt file issued from the PC (legacy
>> system) - I'd like to have activesync copy this onto the handheld
>> whenever
>> its available from the PC (whenever it is found in a given PC directory,

> it
>> should be copied to a specified directory on the ppc). The app will poll
>> that directory, when its available, it will request the user to initiate

> the
>> import.
>>
>> Then, the app, upon user input, will generate a collect.txt file that

> needs
>> to be transferred to the PC and collected by the legacy system.
>>
>> Currently I'm saving all data in a sqlce database. All files are storing

> in
>> the 'program files\myapp' directory. Is it best to create instead, a

> subdir
>> under 'my documents' to keep these files in?? I'd rather not, but if
>> necessary, I will.
>>
>> Also, how does the process I described above sound to you? I'm not
>> experienced in ppc / cf development; I'm a vb6 and dos handheld
>> programmer
>> from the days gone by; this ppc app is to replace a legacy system (thus

> the
>> reason for the ascii text files swapping back and forth).
>>
>> Thanks for any ideas and thoughts you can shed!!
>>
>> Mike
>>
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
activesync 2 phones with same data AndyPandy Microsoft Outlook 3 27th Mar 2009 12:11 PM
how to transfer files from the pc to pda w/o activesync DanielGifford@gmail.com Microsoft Dot NET Compact Framework 1 25th Jul 2007 06:38 PM
Activesync does not transfer info between handheld and PC. =?Utf-8?B?ZGlnaXRhbDg0Mw==?= Microsoft Outlook Calendar 2 14th Sep 2005 10:41 PM
Send data through ActiveSync Mystic Mong Microsoft Dot NET Compact Framework 1 28th May 2004 09:42 PM
Limit file transfer through ActiveSync. Francisco K. do Amaral Microsoft Dot NET Compact Framework 0 16th Sep 2003 12:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:28 AM.