Link to home
Start Free TrialLog in
Avatar of Bobeo
Bobeo

asked on

Forcing an app to DoEvents

Hello experts!

I'm writing an App that hooks up to my Mobile Device and sends / retrieves files etc etc using the VBRAPI RemoteCE 0.1.0.3 library.  Got everything working but have a small problem that if i go to connect and my PDA isn't available the app just hangs until the device does become available.

It's just one event, CeRapiInit, which opens the protocol to the device.  Is there any way i can force my app to perform a DoEvents to stop it hanging and allow me to implement a timeout?

Cheers,

Bob
ASKER CERTIFIED SOLUTION
Avatar of amit_g
amit_g
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bobeo
Bobeo

ASKER

Perfect! Thank you SO much, the code on the second of your links was ideal!

33 minutes isn't bad going either, thanks very much for your help.

Cheers,

Bob