> Hi Sir,
>To be honest I'm not sure if I did it right, I put the Declaration in the init event of a form , but I got a syntax error pointing to "Declare Integer PortIn Lib in IO.DLL Integer nPort". I used the same io.dll in VB6 and just follow the guide in adding it to form and declare it as instructed and it worked. But I want VFP to be my main development tool. kindly extend your help sir on this....
>
> thanksOOPs, typo, instead of:
Declare Integer PortIn Lib in IO.DLL Integer nPort
make it
Declare Integer PortIn in IO.DLL Integer nPort
Removing the LIB word.
I actually copied the code from the site and translated it to VFP, I forgot to remove the LIB word on this line. My error.
I like what you write here:
But I want VFP to be my main development toolGood choice!
Boudewijn Lutge®ink
The attitude of "
An eye for an eye and a tooth for a tooth" will make this world toothless and blind (Ghandi)