Hi Erik,
Thanks for your suggestion. Worked a treat.
Bye
Liam
>You can modify Robert's class to add the passive mode semantics yourself. To use FPT functions in passive mode, pass in the value INTERNET_FLAG_PASSIVE in the dwFlags parameter (the 7th parameter) in the call to InternetConnect. INTERNET_FLAG_PASSIVE like all other WinInet constants is defined in WinInet.h. It's value is 0x08000000, or 134217728.
Liam O'Hagan
MCP VFP Desktop Apps