Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Win32Api with VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00218637
Message ID:
00218686
Vues:
46
>Hi there,
>
>Question 1.
>
>I want to use win32api or other tools to list all available server name on the network. Is this possible and how could I accomplish this task in VFP.

I know Ed Rauh has posted some code that might be able to do this. You might want to check the files section. There are two download you'll have to do. I think the netresource program indicates the other file. Check under Win32 and other APIs. (Ed, is this right?)

>Question 2.
>
>I want to use win32api to select and return path from different drives ( not mapped path ) ( Prefer > \\server1\directory1\dataset3\test.dbf ). What to I need in order to make this work in VFP?

VFP supports UNCs directly. You don't need the API.

>Question 3.
>
>I know there is a tool in VFP to view the windows registry, is there a function to list all the software in "HKEY_LOCAL_MACHINE\SOFTWARE" registry into an array?

Taken a look at the registry class that comes with VFP. There's also one in the download section here. I believe in both cases that you'd have to write some code accessing the functions in the classes to do this.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform