You've to pass IP adddress as a string.
SET LIBRARY TO VfpPing.dll
x = ping("192.9.200.50")
>Hi Sergey
>
>Thanks for replying
>
>I tried both the downloads.
>
>Check file #
1179 Ping utility and file #
9687 VFP Ping Class.
>
>In the Ping Utility I tried to write a simple prog with following lines
>
>SET LIBRARY TO VfpPing.dll
>x = ping(192.9.200.50)
>When I run this it gives following error
>Function name is missing).
>
>How can I check IP address with this.
>Am I doing anything wrong ?
>
>In VFP Ping Class
>There is a form called rbstate.scx
>When I try to open the form it gives me following error
>Error Instentiating class. Cannot find
>c:\downloads\libs\mylib.vcx
>
>I have downloaded the zip file into c:\downloads\vfpping1
>
>What should I do? Pl. Help.
>
>Thanks once again.
>
>Ashish Patel
--sb--