Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CONNECTION
Message
From
16/10/2000 10:20:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00429722
Message ID:
00429732
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform