|
-
June 29th, 2001, 02:47 PM
#1
How To Get Computer Name And user Name
How can I get the computer name and the user name of the loged in user on a workstation from VB?
Thanks For Any Help!!!
Kris
Software Engineer
Phoenix,AZ
Kris
Software Engineer
Phoenix, AZ USA
-
June 29th, 2001, 02:52 PM
#2
Re: How To Get Computer Name And user Name
Hello,
You can get the user name by using the winsock controls Local Host Name property.
Thanks
Harini
-
June 29th, 2001, 02:54 PM
#3
Re: How To Get Computer Name And user Name
Well That Actually Returns The PC Name. But I am Not Using Winsock In This App So I Would Hate
To Use It Just For That. I Know It Can Be Done With API's But I Don't Know How.
Kris
Software Engineer
Phoenix,AZ
Kris
Software Engineer
Phoenix, AZ USA
-
June 29th, 2001, 03:02 PM
#4
Re: How To Get Computer Name And user Name
Hello,
For getting the user name use GetUserName API.
Thanks
Harini
-
June 29th, 2001, 03:05 PM
#5
Re: How To Get Computer Name And user Name
Hello,
Also you can use GetComputerName API for getting the computer's name
Thanks
Harini
-
June 29th, 2001, 03:23 PM
#6
Re: How To Get Computer Name And user Name
Thanks!!!
Kris
Software Engineer
Phoenix,AZ
Kris
Software Engineer
Phoenix, AZ USA
-
June 30th, 2001, 01:09 AM
#7
Pass information
Hello,
How can I pass an information from one .exe file with another .exe file.
Ex: In one .exe file if I select a picture name(combo box), it should open another .exe file and display that particular picture.(pic box).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|