Hi John
>The following is the code I use to do the job, but you must have set library to foxtools.fll first and I have not tried it in XP yet. Could you let me know how you got on:
Your code works perfectly and is just what I needed. Even works on XP. Thanks a mill.
I just changed your code a bit to test the return value for a valid port.
>MComPort = CallFn(opencomm,mfPort,100,100)
>
IF MComPort>=0
......
......
ELSE
WAIT WINDOW NOWAIT "Port failed to open
ENDIF
No to the conference. Too many commitments with the job.
Thanks again
Bernard