softweng
June 29th, 2001, 02:47 PM
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
Thanks For Any Help!!!
Kris
Software Engineer
Phoenix,AZ
|
Click to See Complete Forum and Search --> : How To Get Computer Name And user Name softweng June 29th, 2001, 02:47 PM 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 Harini June 29th, 2001, 02:52 PM Hello, You can get the user name by using the winsock controls Local Host Name property. Thanks Harini softweng June 29th, 2001, 02:54 PM 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 Harini June 29th, 2001, 03:02 PM Hello, For getting the user name use GetUserName API. Thanks Harini Harini June 29th, 2001, 03:05 PM Hello, Also you can use GetComputerName API for getting the computer's name Thanks Harini softweng June 29th, 2001, 03:23 PM Thanks!!! Kris Software Engineer Phoenix,AZ shridhark June 30th, 2001, 01:09 AM 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). codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |