Using the windows scripting host, you can not only find out the name of your computer, but also your login name and the domain with which you logged on (of course, this info was actually meant to be used for VBscript to use in ASP pages, but I like to use this in VB anyway).
In your project, add a reference to the Windows Scripting Host Object Model. Add 3 textboxes and a commandbutton to your form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.