[RESOLVED] [vb2005] getting data to PC
May app is just about there. I need to now work on the last part. I have managed to create a file on the barcode scanner. I need to get the file from the scanner to a pc that has the scanner cradle attached.
I know that the user can use explorer on the PC and copy the file from the scanner, but I need an automated process (preferably activated at the scanner); a "push" rather than a "pull".
any thoughts?
=== edit
Actually, I have little problem with modifying my VB application (on the PC) to go get the file. In Windows Explorer I see the "Mobile Device", I just don't know how to reference it. I can't map it as a drive. Any help in that regard?
Re: [vb2005] getting data to PC
Hi,
if you want to push from the PPC, look at FTP or a web service.
If you want to pull from the PC, look at RAPI.
You can have a program sitting in background, looking for a connection using RAPI, and then pull the file. An article showing how to do this can be found here
Pete
Re: [vb2005] getting data to PC
I have been experimenting with this:
FileCopy "Mobile Device\Program Files\technigraph\scanner1", "C:\"
In Windows Explorer, it is listed as "Mobile device". I think if I can get the FileCopy to recognize the attached device, this will work for me.
Re: [vb2005] getting data to PC
Do you think ActiveSynch could be the answer?
== Edit
That seems to work. I just need to adjust my VB application to look in a different folder.
Re: [RESOLVED] [vb2005] getting data to PC
I posted a class I use for a TCP connection between a PDA and a desktop. This might be of some use to you, though it depends to some extent on what the file is. It might not be ideal unless the file itself is not essential. Data (such as DB tables and classes) can get pushed this way a bit easier than files. If that sounds like it might be of use, search on my name and TCP in this forum and you'll find it. If you would like more, I can provide it.
Re: [RESOLVED] [vb2005] getting data to PC