Terminal Server Users Logged On?
Aug 6, 2009is there a way for a program to get a list of users that are logged into the terminal server that it is running on???
View 3 Repliesis there a way for a program to get a list of users that are logged into the terminal server that it is running on???
View 3 RepliesCan I use vb (API or the framework) to tell if the user is logged in locally or with terminal services / remote desktop.
View 2 RepliesOn a project I'm building for a client, one of the requirements is advanced user tracking. The client would like to know what pages an authenticated user is visiting, and when. I read through this post, which is probably the method I will go with. However, that seems a bit tolling on the database, and being that the client may use Azure to host this, I would like to keep the # of db transactions to a minimum [although this was not one of his requirements.. Anyway, I'm torn between the following two methods..
Method One: Log to db on every HTTP request using a HTTP module Method Two: Store in visits in session and log everything to database in one swoop during Session_End event
I am trying to get a VB.net app I wrote to query the domain (Active directory) for all currently logged in users to the network.
View 2 RepliesI'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 RepliesWe're trying to write code to obtained all the logged on users to a remote machine.
We have the following, which only seems to identify users if they are logged in locally. However, if they're logged in through some other means (such as remote desktop), it doesn't seem to pick those users up.
How can we obtain all the users logged into a machine while excluding those users who only have a process running but aren't logged in (eg, a service is installed by them and might be currently running under their name)?
Dim WMIObject As String = "winmgmts://" & strComputerName.Text & "/root/cimv2"
Dim oComputerQuery As Object
'Contains a sorted list of every user logged into the system
[Code].....
I need to get a list of all users that are currently logged in Windows 2003 server. I want to do it by using Active directory and VB.net?
View 5 RepliesWell ive created a web browser programme and created a user login form for the users to login and that works fine. Now i want to create a feature while the person is logged in, he can change users, so loging as another user whilst already logged in, for example, Admin user might be logged in and now he wants to change user to a normal user without turning the programme on and off to do so.
View 2 RepliesI'm trying to use a splash screen to check the logged on users rights and if all meets criteria it loads the default form. Currently in my load event of the spash form i had some code along the lines
[Code]...
An application loaded on a citrix server executes with no problem. When we try to run the same program files on a virtual server, we get silent errors and we do not even see the application window appear. The program runs for a moment in task manager, but then closes down. BTW other .net apps run on the virtual server. Here is the error we see in the event viewer application logs[code]...
View 2 RepliesI have a VB 2005 application running on Terminal Server and I need the IP address, clientname and username from the client system.
View 1 RepliesI have an application that will run on a terminal similar to a micros terminal. The terminal is already running another vendors app that captures the users logon ID from a swipecard. I need to capture the same logon ID at the same time. This is no problem, I just hook it.
The problem is I have another app which also captures swipes. In development I am running both apps for testing. It appears that when I unhook one app it unhooks both. Rehook and all is fine. As my two apps will never be on the same terminal this is not a problem. What I am concerned about is the vendors app unhooking mine or the other way around.
I would of thought that each app would have it's own ID and that each hook would be independent. I have considered finding a way to determine if a global hook is present and then use some logic to decide on unhooking or not but can't find anything.
I'm developing a Windows application that runs on a terminal server and users connect to it via remote desktop. Standard stuff. However, I would like to know something about the user and I was wondering if there's a way to get some information about the client that the user connects from (his local machine).
View 1 RepliesI am developing a program that send sms to cellphone using a datacard.I can read the com port from the server if i run the program from the server, but i run the program from the terminal y read the com port of the terminal, but i need to read the port from the server for use datacard. What can i do? My code for read com port.
Function checkPort() As String
Dim intPort, X As Long
Dim strAbierto As String[code].........
I have a Windows Forms application created in VS2005 which runs fine on the user desktop but when running in Terminal Server session it frequently locks up when the remote desktop window is minimised and the user is working locally.There is plenty of RAM on the server so this is not an issue, the only solution so far has been to force the user session to log off on the Terminal Server and then reconnect.
View 14 RepliesI have built an application in VB 2010 on my Windows 7 Pro desktop. I have a particular combo box with a datasource that is dynamically populated, depending on certain values entered by the user; it may or may not have any records in the datasource. When I run/install the application on my desktop, the combo box acts normal, if I click the dropdown button and the datasource contains no records, the combobox will show a single blank beneath the combobox (to indicate no records). When I perform the same action on server 2003, the combobox DOES NOT show a blank row, it does nothing! It act's like it's broken.
View 3 Repliesmy project work on server if inserted data from terminal A i need display the data on terminal B
View 1 RepliesHow to get userID of current user logged in from server using asp.net vb?
View 2 RepliesI've made this script to read the lines from the txt. But when I try to login I just get this " The remote server returned an error: (530) Not logged in." Even I "logged in" at the link.
vb Private Sub Refresh_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Refresh.Tick
TextBox1.Text = GetWebSiteSource("ftp://<myusername>.<mypass>/<serverip>/<serverIP>%20port%2027016/Server%20Documents/log.txt")
Dim lines As New List(Of String)(IO.File.ReadAllLines(TextBox1.Text))
Tname1.Text = lines(0)
[Code]...
I am starting design of a program that needs to run no matter if the user is logged in to the PC or not. So I will be writing it as a VB.Net Service.
As I am not overly familiar with SQL Server Express, is it possible to connect to a local SQL Server Express Instance and access the database from a VB.Net Service while the user is not logged in to the PC?
I am in the process of converting vb6 assemblies to VB.NET.I am trying to overcome a particular design challenge.I have a vb6 EXE sitting on a Terminal Server which is shared between multiple customers.Each customer has customizations in the form of overrides to this EXE in custom business logic contained within DLL's.We know what DLL to look at based on a setting in the database.We use the CreateObject ("CustomerDLLName.CustomerClass") method to create late bound objects.If the object is "not nothing", we check for override code.For example, if my base EXE has a sub called PrintForm, based on the logged in user I may use the base sub within the executable, or I may need to use the sub in a custom DLL:
Dim oCustom as Object<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Dim strSetting as String<o:p></o:p>
strSetting = "Customer1DLL.Class1"[code].....
I am struggling to come up with a comparable if not better way to do the same thing in .NET. I want to continue sharing the base EXE so I can't just have separate EXE's and DLL's in separate folders.They all need to live in the same c:/Program Files/[Application Name] root directory so I can take advantage of the Terminal Server's shared application memory.
Can anyone provide a script to close all open sessions in a Terminal Server?
Aldo.Everything is possible, impossible just takes longer
So I'm creating this app that will install SQL server 2008 express, add some SQL users and then import a database.
Is there a way to create users for SQL express in Vb.net?
Is it feasible to deploy a VB.NET windows forms application with a SQL Server back end where no users have direct access to SQL Server? The idea is that there is no way someone at the client site with admin capabilities could mess up the data definition, or directly alter data. I always assumed that somebody with the client should get admin capabilities, but perhaps not.
The application will have to have the capability of creating logins, doing backups, perhaps running scripts (encrypted?) For upgrades, and whatever else a user with elevated privileges would do. I guess the application would have a hard-coded account with admin privileges for this purpose. Is this a common way to deploy an application? The application uses SQL Server Express, which is installed with the application. The database will be installed with the application.
How to read users in sql server in vb .net. i want to synchronise users from sql with users from my application.
View 2 RepliesI am trying to retrieve all the users in the Active Directory and dump into a Sql Server Table(Sql2008). I was able to search one employee at a time but could not able to search all the employees in the Active Directory. Basically i want to retrieve 1.SamAccountname and 2.Employeenumber. I am using VS2010/VB.NET/ASP.NET.
View 1 RepliesI am trying to retrieve all the users in the Active Directory and dump into a Sql Server Table(Sql2008). I was able to search one employee at a time but could not able to search all the employees in the Active Directory. Basically i want to retrieve 1.SamAccountname and 2.Employeenumber.
View 2 RepliesI am trying to develop a small application that logs the IP address and or computer names of all the users [my domain or remote location] that accessed files or folders on the server.
View 1 Repliesi need to get users domain from any server and fill my combobox.[code]
View 3 Repliesusing the sql server management studio we can create users to access the database. so we can grant several privileges as well as revoke some. so i want to create a login form with those user's. how to do it. is there any other way [code] in the connection i have to mention the user also.. is it possible. if its possible.
View 1 Replies