Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can't connect to my data
Message
From
02/03/2000 08:17:53
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00338312
Message ID:
00340478
Views:
26
Hi Ed,

please help my out here.

I have use your routine demo_wnetaddconnection3, but how can I access the data??

This is my line of code:
? demo_wnetaddconnection3("J:","\\129.142.140.215\dbtest","dbtest","dbtest")
*Returns a number > 0


>>Hej igen Ben,
>>
>>Det kan gøres med:
>>
>>\\ip-address\tables /user:domainname\Username Password
>>
>>ex.
>>\\oracle8i /user:tim\tim tim
>>
>>Det ved jeg ikke hvis det virker for dig.
>>\\ip-address\tables\mydbf.dbf /user:domainname\Username Password
>>
>>Men du ku' også prøve API call'en
>>
>>WNetAddConnection
>>
>
>< snip > The following is not in Danish < g >
>
>You can use WNetAddConnection3() rather than WNetAddConnection(), which allows you to specify both a userid and password; there's sample code for this in my NETRESOURCE classs downloadable here on UT. In addition, the WSH contains the Wscript.Network object, which can atach remote resources; see the link in my sig for more details.
>
>Use of an ip address in a UNC is not universally supported; Win9x needs to resolve UNCs with a NetBIOS name for the server (you can use LMHOSTS to map this for you.)
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform