Get A List Of Users On Computer?
May 19, 2010
I am trying to get a list of users on my computer Example of what I want;
UserNames:all users
Weather they are active or not IE active:yes Total users: Example 4 I am using a ListView to display the information just not sure of the coding?
View 1 Replies
ADVERTISEMENT
Nov 1, 2009
How can I get a list of users on my computer and assign them to a combobox?
View 4 Replies
Jul 28, 2011
I have someone who downloaded my program using click-once. My program allows user to read a .txt file and then manipulate data The user selects the file to open by goin gto File>Open on menu strip
I have a user who gets an error message upon clicking on File Open
It doesnt open up the OpenFileDialog return ans unhandled exception
Method not found System Windows.Forms OpenFileDialog get_SafeFileName
Anyone have an idea what i should be looking at I cant re-create it on my end
View 16 Replies
Feb 15, 2011
I'm Trying to make a piece of software where You enter a number and the computer measures the length of the number, and then generates random numbers to match the human number. It will then count the number of guesses and the time taken. However it always comes up that there was a infinite loop "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll". I have searched up how to do this and I can't seem to find out how. I think I just put my wording wrong when looking it up. My Software Has Has 2 TextBox, 2 Buttons, 6 labels (4 just to make it user friendly) and a timer.
Here is the Code:
Public Class Form1
Dim TimeTaken As Integer
Dim GuessesTaken As Integer
[Code].....
View 9 Replies
Nov 13, 2010
I have been trying to find a code that would allow me to use a slider to adjust the users actual computer volume. Is this even possible?
View 1 Replies
May 7, 2011
I use this line to download files: My.Computer.Network.DownloadFile(VideoFilename, SaveLocation, "", "", True, 8000, True But if a users cancel the download my application crashes. I searched Google but there's very little info about this problem. I tried with: My.Computer.Network.DownloadFile(FilenameMP3, SaveLocation, "", "", True, 8000, True, FileIO.UICancelOption.ThrowException, FileIO.RecycleOption.SendToRecycleBin()) But that line of code doesn't work. I need to get rid of the file when a users cancel
View 1 Replies
Nov 23, 2011
Im trying to get a list of users in an AD group. My code is [code] I think the line causing the problem is the filter ("(&(objectClass=person)(memberOf=CN=MyGroup))").Could anyone confirm or advise how to get the list of members please?
View 5 Replies
Jun 25, 2011
How it is possible to maintain list of users who eneter in the website after gving their name and passwords. So that every e usres can view all online users. Is ther 3rd part tool or ajax for the purpose?
View 1 Replies
Oct 10, 2011
I have created some profile properties for when a new user is added to our system.
One property is called 'Client' and links this user to a particular client and stores a client id.
I am trying to create a page that shows a list of users for each client on the system such as:
Client 1
User 1
User 2
[Code].....
Is there a way to get a list of users that match a particular profile property?
View 2 Replies
Nov 25, 2009
I want to get back to get a list of users on a network domain using VB.Net.
I will have the domain name available to me for use.
View 4 Replies
May 27, 2010
I've pulled basic information out of AD via System.DirectoryServices but cannot work out a method to find out currently logged in users?I would like to produce a list of users within a Group, highlighing those currently logged inactive.
View 1 Replies
Apr 18, 2012
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer
[CODE]...
View 6 Replies
Nov 29, 2009
I am testin my application on XP and have 2 issues: Issue 1) I have a combobox that has filter items in it:
[Code]...
View 1 Replies
Jun 21, 2011
I'd like for my application to have a listbox displaying all users currently connected to my access database stored on a server. Also, it would be nice at startup for a message box to pop up saying something like "Other employees are currently using this application. To view active users go to..."
View 3 Replies
Mar 18, 2010
I want to get a list of all users and groups that belong to a specific department (entered by the user) from Active Directory using VB.Net and DirectoryServices.
View 2 Replies
Jun 22, 2010
I'm trying to populate a tooltip with a list of users connected to a database when hovering over an row in a ListView.
I'm using sysprocesses to show a list of databases and the connections, how do I tie this together?
[CODE]...........................
I've attached a mock-up image of what I'm trying to achieve, is this possible?
Private Sub LVDatabases_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LVDatabases.ItemMouseHover
[CODE]...............................
View 1 Replies
Sep 26, 2011
I need to stop users from running macros from the View Macros list. I have a security program that stops editing the macros but allows selecting the macros and running them.My code is too long to go into a single procedure. It fails to run and I got the following information when clicking the Help button:
***Code for this procedure exceeds 64K when compiled. ***Break this, and any other large procedures, into two or more smaller procedures.If I split the code into 2 macros, the user can press Run in the View Macros list on the 2nd macro which then corrupts the workbook.
[Code]...
View 5 Replies
Jul 25, 2011
PROJECT TYPE: Windows Forms Application
LANGUAGE: Visual Basic
.NET VERSION: 3.5
IDE: Visual Studio 2008
OPTION STRICT: on
OPTION EXPLICIT: ON
I need to populated a ComboBox and a CheckedListBox with a list of the Windows Accounts on the host computer. I also need to the user to be able to apply settings to the users individually. Thirdly, I need to find a way to add a startup registry key in the CURRENT_USER for a different user than the "Current User" (For example: User1 is an Administrator. User2 is a Limited Account [can't modify registry]. User1 needs to add Registry key to User2's "CURRENT_USER". This is a parental control application so the Admin accounts need to be able to access the registry from all users without affecting all users at once. I do not have any code to paste because I still have not the foggiest idea of where to start. I think it probably has something to do with an array (I have no experience with arrays whatsoever) but I am stumped from there. I'm a new, self-taught programmer so I speak idiot at times,
Summary of Questions
1) How do I retrieve a list of Windows Users?
2) How do I populate the objects above with such a list?
3) How do I interact with the items on that list (specific user accounts)?
4) How do I modify another user's CURRENT_USER Registry key?
View 2 Replies
Oct 24, 2011
I am trying to create a program which will allow users to select multiple files from a list and then burn them all to a playable DVD. It would be wonderful if i could setup a custom menu programatically as well. I have seen some documentation on Imapi 2.0 but i have not been able to find too much suppoert for it. I have also found a few SDK's out there but most are over $1000 which just isnt in the budget.
1) Is there a library included in windows 7 that will allow me to do this.
2) Is there an inexpensive or open source sdk with good documentation out there to do this with
View 4 Replies
Jan 27, 2010
I need to write an application that does the following, and I figured it was a good opportunity to write my first VB.Net application:
1. Get the list of fixed disks in the computer
2. For each disk, recurse through all its directories and sub-directories looking for filenames that match a given regex (eg. MyFile.d{3})
3. If found, hash this file to get a unique ID, eg. MD5 (just to check if this file already exists elsewhere)
4. If this file hasn't already been seen elsewhere on the disk, copy it to a central directory
View 2 Replies
Jan 27, 2010
I need to write an application that does the following, and I figured it was a good opportunity to write my first VB.Net application:
1. Get the list of fixed disks in the computer
2. For each disk, recurse through all its directories and sub-directories looking for filenames that match a given regex (eg.MyFile.d{3})
3. If found, hash this file to get a unique ID, eg. MD5 (just to check if this file already exists elsewhere)
4. If this file hasn't already been seen elsewhere on the disk, copy it to a central directory.
View 2 Replies
Jul 9, 2010
With the following code I can list the display name of all software installed on a local machine.
'Declare the string to hold the list:
Dim Software As String = Nothing
'The registry key:
Dim SoftwareKey As String = "SOFTWAREMicrosoftWindowsCurrentVersionUninstall"
Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey)
'Let's go through the registry keys and get the info we need:
For Each skName As String In rk.GetSubKeyNames()
Using sk As RegistryKey = rk.OpenSubKey(skName)
[Code] .....
What I need is to get the FileName
to be used to start the application like notepad.exe and not just the displayname
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = filename & ".exe"
View 7 Replies
Dec 29, 2011
I'm working in a project and i need to list only the online computers in my network and put them in a listbox how can i do this
View 5 Replies
Aug 15, 2011
instead of all listed in the registry key, "Microsoft Digital Image Library 9" doesn't even show in installed programs list. [Code]
View 2 Replies
Feb 10, 2010
Trying to build a project that lets users click an item from a list of products (tabbed form). Once an item is selected (check box) find a way to store that item.Then when the user has finished selecting items they can click a button showing what they have selected in a new form that will open.Whats the best way to store what items they select? An Array?
View 2 Replies
Aug 21, 2009
is it possible to have the open programs on my computer viewed in a list, and have the abbily to minimize and restore if so, what are the codes for it and what do i have to attach it ro (butten etc) it is for my OS i am making.
View 1 Replies
Nov 12, 2009
I notice you have an example code of listing groups Ad computer Accounts are a member of in c#, do you have an example in vb
View 2 Replies
Nov 20, 2011
I have vbscript code that enumerates user profiles from this registry path:
HKLMSOFTWAREMicrosoftWindows NTCurrentVersionProfileList.
How can this be done using Visual Basic 2010? Is there a class or method that I would use to accomplish the same thing or would I have to read the registry path into an array as you do with vbscript? My application will be ran on the local computer just so you know this information is not being gathered from across the network. I have been looking for awhile and haven't found anything that will work so far.Once I have the user profiles from the computer, I will populate this list into a drop-down combo box.
View 2 Replies
Apr 9, 2009
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Counter As Integer
[CODE]...
The code is suposed to go through all the computer names in a list box and ping them.
View 8 Replies
Feb 15, 2011
This has to be simple, but can't find the answer.I want to display a list of all files from a folder in a listbox. Easy..., but I want to display only the filenames without their paths.
For Each foundFile As String In My.Computer.FileSystem.GetFiles("C:My Folder")
ListBox1.Items.Add(foundFile)
Next
This gives me list looking like that:
C:My Folderfile1.txt
C:My Folderfile2.txt
[Code]...
View 1 Replies