Pocket Pc 2002 communication to PC by USB

Discuss PocketC for CE (including Desktop Edition)

Postby Fistan_Euis on Tue May 06, 2003 6:42 am


I have a Compac Pocket PC 2002 (Ipaq Model 3760).

I want to develop a Visual Basic application to send and recive information between PC and Ipaq. I connect Ipaq to my PC using a USB port. But I don't know how may I implement this kind of communication.

Any idea?

I've develop some application in Visual Basic 6.0 using MSComm control to do serie communication. But this control is useless with USB port.
Does anybody know how can I do it?
Do you have some code sample or do you know if exists any activex to use with USB port?

Any comment would be appreciated.
Posts: 2
Joined: Tue May 06, 2003 6:34 am

Postby KOU on Tue May 06, 2003 10:28 am

Use RAPI, not Serial Control.
But I am not sure RAPI can be used from Visual Basic.

You will need to develop application for the device too.
Use Embedded Visual Tools 3.0 (Free) or PocketC (You'll need to create plugin yourself.


Please post non PocketC development questions on the board below.

Posts: 92
Joined: Mon Mar 18, 2002 8:04 pm
Location: USA

Postby chrisleeuk on Tue May 06, 2003 10:48 am

RAPI can be used from Visual Basic, I have an example sat around somewhere which will let you display the files on your Pocket PC and copy them from the device or the PC.
Formulation, Visual Environment for Pocket C - http://Formulation.0catch.com (in development)
Posts: 31
Joined: Fri May 10, 2002 7:40 am

Postby Fistan_Euis on Wed May 07, 2003 5:17 am

Yes, but RAPI uses ActiveSync.

I don't want to depend on ActiveSync because I am using PC as simulation of a machine.
I need Pocket Pc to obtain information from one specific machine, but I use PC to simulate the protocol used by this machine and send the information to Pocket Pc. I don't have the machine and I have to use PC like this machine.
It's for this reason that I can't relay on RAPI and ActiveSync, because this machine won't have ActiveSync installed.

Do you know any other way to send/receive information to/from Pocket Pc?

Thanks a lot!
Posts: 2
Joined: Tue May 06, 2003 6:34 am

Postby KOU on Thu May 08, 2003 12:29 am

I think USB connection is not possible if you don't use RAPI.

You can get a CF Network card and do a TCP/IP connection, or you can use Comm control for serial connection.
Posts: 92
Joined: Mon Mar 18, 2002 8:04 pm
Location: USA

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 6 guests