Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM objects????
Message
De
17/08/2000 12:29:13
 
 
À
16/08/2000 23:53:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00405553
Message ID:
00406190
Vues:
23
We have two sets of requirements:

Currently, I have a method that gets a list of the drives already mapped and checks to see if a drive is already mapped to the Server/vol needed.
If not, it attaches to the Server using a generic userid/password that has rights ONLY to the directory needed, and then maps the next available drive letter to the server/vol needed. Otherwise, it just maps the next available drive letter.

Then, on exit, deletes the drive mapping and (if not attached before running the app) logs out of the server.

The second requirement is to be able to verify a password on the server for a specific userid. We have a couple of apps that were written outside of TDH that does this.

If I can get some examples or actual code that will do these, that would be outstanding. Not to mention that I would be GREATLY appreciative.


>>Currently we use it for basic "Are they already attached to the server?" question, attaching to specific servers and drive mappings.
>
>If you could be more specific here, we might be able to lay out some code that will do what you want. The API functions to map a drive are not all that bad...
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform