>I try to create a network connection, but i receive a error:
>
>SET LIBRARY TO \VS6\VFP98\FOXTOOLS.FLL
>ADDCON=REGFN('WNetAddConnection','CCC','I')
>=callfn(ADDCON,"\\qual\qualc",,'t:')
>
>error message by callfn:
>argument 1 incorrect type, got L, expecting C
>
>note: addcon has value = 1 (N)
>
>?
>
>sergio
You don't need RegFn to use WNetAddConnection. Look in the API section here for an example.
Erik Moore
Clientelligence