Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 17th, 2006, 11:53 AM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
Old Aug 20th, 2006, 2:08 PM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
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.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Aug 20th, 2006, 3:05 PM   #3
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
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?
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Aug 21st, 2006, 3:24 PM   #4
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
Old Aug 21st, 2006, 3:47 PM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC