Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

foada HELP!!! 1

Status
Not open for further replies.

jimboo

MIS
Mar 15, 2002
18
GB
Hi thanks for the code. When i run it it says runtime error - port unavailable, even though i've disconnected the activesync. Any ideas?
 
You may need to change the port number for the comm object depending on your device. You may also need to check you device to see if any other apps or services take control of your port. I had the same problem when I was trying to determine if the IR port was port one or if the serial connection was port one. My device has the serial as port one but yours may be different. Good luck finding any sort of documentation on it though, I just played with it until I got it to work. Good luck. Anything is possible, the problem is I only have one lifetime.[thumbsup2]
 
Sorry I did not look at the other thread to catch your post. Were you able to figure out the Comm object? If you right click your toolbox (In VB eMbed) and click on components you will get the controls listing, you will then need to browse for the Mscecomm.dll which is in the embedded tools directory under EVB in the devctrls folder (note the filter defaults to *.ocx, change it to all *.*) then select the dll. The dialog box will close and you will see the controls check box that says Microsoft CE Comm Control 3.0 select the checkbox and you should get a telephone icon in your toolbox. The you can place the comm object on your CE app. The other thing to make sure you do is package the app from VB eMbed and make sure the dll is included during the deployment. Hope this helps. Anything is possible, the problem is I only have one lifetime.[thumbsup2]
 
ok, so i open the app on my desktop and it says:
"trying to connect serial at 19,2k". So the port on the desktop side is trying to talk to the PDA. This keeps retrying until time out.

While it is trying to connect i open the PDA app, but it won't open. Any ideas?
 
Have you been able to get any app you have written to work on the PDA before? They can be difficult to get to deployed correctly. I would try to get the app to work on the PDA first and then work on the communications between the two apps. Good Luck. Anything is possible, the problem is I only have one lifetime.[thumbsup2]
 
I've sorted it, eventually!! Thanks for all your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top