| | |
get computername for known username
![]() |
•
•
Join Date: Jul 2006
Posts: 23
Reputation:
Solved Threads: 1
so : we have a large network - about 1,2k computers. i need to check on witch pc the user xyz is logged on. then i need to send some data to that pc. but this is not so hard so i just need to know find a way to programmaticaly find out the name of the computer.
i have found an application that is doing this but i need a code (or at least the way to do it) to include it in my own application.
i have found an application that is doing this but i need a code (or at least the way to do it) to include it in my own application.
Last edited by Seba Sama; Sep 9th, 2006 at 2:14 pm.
I was going to recode this, but this link seems to do the trick:
http://www.windowsitpro.com/WindowsS...879/40879.html
http://www.windowsitpro.com/Files/07...listing_01.txt
http://www.windowsitpro.com/WindowsS...879/40879.html
http://www.windowsitpro.com/Files/07...listing_01.txt
•
•
Join Date: Jul 2006
Posts: 23
Reputation:
Solved Threads: 1
netsh wins cannot run on windows workstations. i need my code to be run from a workstation.
maybe i'll find a way to do it.
if this application can, that means there is a way to do it. but i'm not good enough to "hack" it to see what it does...
maybe i'll find a way to do it.
if this application can, that means there is a way to do it. but i'm not good enough to "hack" it to see what it does...
I know one solution, but it's not what you want to do. You could basically build a server app, in VB, which accepts connections on one specific machine. Then, each workstation would have another VB program, that would connection through the network to that server app, and upload the computer name, the IP address, and the logged in user. Then, when they log out, simple connect again, and have them removed from that database, but that's a lot of overhead for something that should be fairly simple. I'll keep looking around.
![]() |
Similar Threads
- Copy Folder with %Computername% and %Username% prefix (Visual Basic 4 / 5 / 6)
- Have IE prompt for username/password?? (Web Browsers)
- Require Username/password?? (Web Browsers)
- Username Adjustment :-) (Geeks' Lounge)
- IE6 Problem Username/Password Link Error (Web Browsers)
- How to get the Computername (Networking Hardware Configuration)
- Adding data to print job (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Developing an Auto Dial up CD Installer Programme on windows plateforms
- Next Thread: VB Code
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






