Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing shared resource on Network
Message
From
09/03/1998 22:55:22
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Accessing shared resource on Network
Miscellaneous
Thread ID:
00083535
Message ID:
00083535
Views:
75
Hi:

I'm close to finish a system which, among a lot of things, must
connect to a Network Shared Path in a NT4.0 server to dump some data.

To keep it as simple as possible, I did the following:

1. Made a small DLL using BC++ to establish the Dial-Up connection.
2. From VFP5 I then access the shared directory as follows:
\\machine_name\shared_directory

It all looks ok until I try to reach the shared directory.

Problem:
a. The NT4 server asks for a password to the shared resource.
b. Since VFP5 doesn't seem to understand that, it simply responds
with a "Invalid Path" error.

If I tell Windows95 to access the shared resource,
using Network Neighborhood or going to
StartMenu->Run->\\machine_name\shared_directory,
Windows95 prompts me for the password. After I enter the password
I can go to VFP5 and the problem is solved.

But of course I can't have my users messing with Network Neighborhood
or anything.

Is there a way of making VFP5 prompt me for the password to the
shared resource?
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico

Still waiting for FoxPro for LINUX
Next
Reply
Map
View

Click here to load this message in the networking platform