?
Solved

get user name and computer name

Posted on 2006-05-07
3
Medium Priority
?
248 Views
Last Modified: 2010-04-23
Hi,
how can i get the user's info, computer name, and if possible other things using VB.net,
now i can get my application's version number.
i need that to write in myu log file,
thanks
0
Comment
Question by:mte01
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Fahad Mukhtar earned 1000 total points
ID: 16628188
 Console.WriteLine(Environment.MachineName)
        Console.WriteLine(Environment.UserName)
0
 
LVL 19

Expert Comment

by:Fahad Mukhtar
ID: 16628191
You can find many other useful thing in the same useful Environment Class
0
 
LVL 3

Author Comment

by:mte01
ID: 16628367
>>Desp

That did the trick...thanks fo your help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question