Windows Develop Bookmark and Share   
 index > Windows Forms General > VB .NET: How to display "Licenced to: user name"
 

VB .NET: How to display "Licenced to: user name"

Hi!

I am making About form where I want to display, between other information, something like this: "This program is licenced to: user name".
How to fetch the name of the person? Which class to use?
I know there is the PC user name digged somewhere in the registry. How to get it from within VB .NET IDE?

Thanks a lot!

Dida
MigrationUser 1  Tuesday, March 09, 2004 3:32 AM
I don't know visual basic, but do think you are looking for:

SystemInformation.UserName

so that you need to fill your text variable with:

variable.Text = "Licenced to: " + SystemInformation.UserName;

MigrationUser 1  Thursday, March 11, 2004 4:28 AM

You can use google to search for other answers

Custom Search

More Threads

• Need to import Outlook contacts into ASP.NET Web application..
• Enable dragging throughout the webform
• windows xp update files
• how can i make a button close that form after it saves the datas
• ConfigrationMangae in WindowsForm
• Adding ListView Groups programatically
• Copying Events.
• design logic
• DropDownList, Autocomplete, Tab gives unexpected behavior
• Can we mix windows forms and message handlings?