Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Well, it worked on W98......
Message
De
25/03/2003 17:56:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Well, it worked on W98......
Divers
Thread ID:
00769988
Message ID:
00769988
Vues:
42
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform