Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Network domain or workgroup
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01369239
Message ID:
01369338
Vues:
6
>I think it should work consistently, not sure why it works this way, but upon reading the help it says:
>
>
>Workgroup 
>Data type: string
>Access type: Read/write
>Windows Server 2003 and Windows XP:  Name of the workgroup for this computer. If the value of the PartOfDomain property is false, then the name of the workgroup is returned. 
>
>
>This is what I read first and I understood the name of the workgroup should have been returned which seems wrong in your case, but, on the other hand
>
>
>
>Domain 
>Data type: string
>Access type: Read-only
>
>Name of the domain to which a computer belongs.
>
>Note  If the computer is not part of a domain, then the name of the workgroup will be returned.
>
>
>which is consistent with what you saw

Well.. anyway I decide to use this one... So, lets see what results that one will face on some LANs... If we reach a wrong result down there, no great problem will mean.

I'll keep you guys here update if any wrong result occur..

Thanks Hugo
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform