Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addressng Full Network Path
Message
From
07/10/1998 07:01:49
 
 
To
07/10/1998 04:37:39
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144483
Message ID:
00144499
Views:
16
>Since VFP 5.0 you have been able to address a file using the full network path ei. \\HKP1\SYS:\acc5\ACCOUNTS\employee.dbf rather then G:\acc5\accounts\employee.dbf. I have used this on several ocassions. Since I have moved to a different company, however, I have had trouble addressing a file in this fashion. I am logged in, and I can go to the file using Windows95 Explorer. Is there a problem that I am not aware of, or do other people experience difficulties?

A couple of things:

(1) UNC notation should not include a ":". try

\\HKP1\SYS\acc5\ACCOUNTS\employee.dbf

instead for your UNC.

(2) VFP will not automatically log you into a NetWare server that is not already attached or logged in unless it is your preferred NetWare server. There are a number of API calls that could be used to make the necessary connection such as WNetAddConnection() (allows you to map a drive or network printer to a local resource; making this call to a resource owned by a server will force a login, even if you immediately release the resource using WNetCancelConnection()).
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform