Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Well, it worked on W98......
Message
From
26/03/2003 09:57:49
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00769988
Message ID:
00770205
Views:
22
Sergey

Thanks for the information, but what exactly does the bUpdateProfile parameter do?

>Dorris,
>
>WSH MapNetworkDrive Method has 5 parameters
object.MapNetworkDrive(strLocalName, strRemoteName, [bUpdateProfile], [strUser], [strPassword])
You're missing the third (logical) parameter in your call.
onet.mapnetworkdrive(driveletter, drivepath,.f., userid, password)
>
>
>>I have an application in VFP3 which used GPLib to do some Novell network calls (logging onto/mapping to servers, etc) which worked fine on Win95/98/NT3.5 machines. Then came bigger, better machines. Problem with VFP3 and having over 512 Megs of RAM on machines, which is apparently the standard configuation for the newer machines here.
>>
>>So, I converted the application to VFP6. Didn't like GPLib anymore.
>>
>>So, I used the article on Windows API calls and the wscript object and converted the GPLib calls over to the object calls. Worked fine on Win95/98 machines. Then came Win2000.
>>
>>I'm getting an 'invalid type' error when I try to execute
>>onet.mapnetworkdrive(driveletter, drivepath, userid, password)
>>
>>I've checked the values of the parameters and they are all character strings. Is there perhaps another parameter for Win2000/NT calls that I am unaware of?
>>
>>Any ideas?
>>
>>Thanks
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform