![]() |
Use console in GUI program, and how to get all users on a computer
I need my program to use console everynow and then in my GUI app. I also need to know how to get all the users on a computer instead of the one currently logged on. Please help.
|
as for console in vb .net use system.console
as for your questions, i'm not really sure what you are doing or what you want to do exactly, can you post a more specific question? if you want a better answer, give more detail. |
Bigguy, when you say use the console ever now and again, do you mean have a new console window open up, and if so why? You could probably get by with using the GUI for whatever you want to use the console for. And for the user’s question, could you give a bit more detail on what exactly you want to do?
|
Ok, as for the console thing thats not really important. I was making a program that shows files opened, what time, program they was accessed and everything. And also a Web Server program that shows IP's and stuff in console while the Server is a GUI. And for the users, There can be more that One User on a Computer. I need to get all users the computer has on it and add them to a combobox. right now all I can get it to do is get Current User Logged on. But Say I have a Orion account and a Seth Account. I'm logged on as Orion, but in my combobox I want Orion and Seth to show up in it.
|
http://msdn2.microsoft.com/en-us/lib...try.users.aspx
Or you could use the ADSI, LDAP, WinNT Directory Services, etc.... depending on your setup. |
| All times are GMT -5. The time now is 12:45 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC