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.


automatically send a csv file via active-sync


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-2007, 09:45 PM
Junior Member
 
Join Date: Dec 2007
Posts: 32
Default automatically send a csv file via active-sync

Is there a way to send a file (made by b4ppc) to my computer after putting my device in the cradle and starting up active-sync? Doesn't have to be programmed on the PDA, can maybe be a small batch-file on my computer?
Thanks
Sunny, Holland
Reply With Quote
  #2 (permalink)  
Old 12-22-2007, 05:45 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

If your file is located under \My Documents it will be copied as part of the synchronization.
Other options are to use the RAPI library to copy the file (you will need to start the program after connecting the device), or you could send the file as an attachment with the Outlook library and it will be sent once you have a connection.
Reply With Quote
  #3 (permalink)  
Old 12-22-2007, 10:21 AM
Junior Member
 
Join Date: Dec 2007
Posts: 32
Default

Ok, great answer!
I now save my file like:
Table1.SaveCSV("file.csv", ",", False)
How do I send it to a specific directory like \my docs?
I will also try to use the rapi lib. Looks even better. I can not figure out why it's a desktop-lib e.g. what it means. Does it mean I can not start this lib from a ppc?

By the way: thanks for all the answers to my (maybe stupid) questions. Please tell me, where do you find the time to do this for everyone? Is this a part of your job be anywhere software?
Regards
Jorrit/Sunny
Reply With Quote
  #4 (permalink)  
Old 12-22-2007, 02:35 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

You could use:
Table1.SaveCSV("\My Documents\file.csv"...)
Hardware.GetSpecialFolder can also be used to find the path of My Documents on nonstandard devices.

RAPI library can only work on the desktop. It uses Activesync to handle its operations.

No problem. You should feel good, these are absolutely not stupid questions.
Yes, it is part of my job.
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
How to check if Form is active Mr_Gee Questions & Help Needed 5 05-07-2008 04:00 PM
Automatically Open Pword With A Word File sintaq Questions & Help Needed 3 03-26-2008 03:31 PM
QuickSMS - Define your own custom speed send messages and send them quickly! Oran Share Your Creations 2 02-17-2008 07:30 AM
How to detect whether SIP is active / not? belotrei Questions & Help Needed 5 06-01-2007 05:22 PM
Screen orientation changes automatically? mwaite Questions & Help Needed 3 05-01-2007 07:53 PM


All times are GMT. The time now is 06:37 PM.


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