Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About Screen
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00364488
Message ID:
00364498
Views:
17
>I am trying to crete an ABOUT screen for my application.
>
>This product is licensed to USERNAME and USERCORP
>
>Where can I obtain the USERNAME and USERCORP for my about screen? I believe that each client will has a different USERNAME and USERCORP. Is there an API call or VFP has funtion to obtain those values?
>
>THANKSSS

Microsoft products use the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info

It contains two entries: DefCompany and DefName which hold the company and user name. You can use the registry.vcx or the WSH to retrieve these values.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform