+ Post New Thread
Results 1 to 5 of 5
Network and Classroom Management Thread, VNC and AD in Technical; ......
  1. #1
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25

    VNC and AD

    ...

  2. #2

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,229
    Thank Post
    1,056
    Thanked 1,066 Times in 623 Posts
    Rep Power
    739

    Re: VNC and AD

    Looks good, I did something similar in AutoIT a while back, mine is not as dynamic as yours though...
    Good luck with it....


    ; AutoIt Version: 3.10
    ; Language: English
    ; Platform: WinXP
    ; Author: Matt Marsh
    ; Script Function: Launches Combo Box to select PC to VNC.
    ; Version: 1 BETA

    #include <GuiConstants.au3>

    GUICreate("Select PC", 155, 66, (@DesktopWidth - 155) / 2, (@DesktopHeight - 66) / 2, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

    $Combo_1 = GUICtrlCreateCombo("", 20, 10, 120, 21)
    GUICtrlSetData(-1, "|MBADMIN01|MBADMIN02|MBADMIN03|MBLIBE|MBLIBW|MBSR E|MBSRW|MBSMT01|MBSMT02|MBSN01|MBSN02|MBSN03|MBSN0 4|PPLIBBOARD|PPSQ|PPRB
    |PPTT|PPWL|PPBG|PPEG|PPSR|JB01|JB02|JB03|JB04|JB05 |JB06|JB07|JB08|JBSR|LAB01|LAB02|GEOGBOARD|MATHOFF ICE|MATHSBOARD|LATBOARD
    |FREBOARD|ENGBOARD|HISTBOARD|ITBOARD|DT01|MUSIC01| MUSIC02|JUKEBOX|TIM98|CHERYL98|MATT2000|GATEWAY", "82.44.241.82")
    $ok = GUICtrlCreateButton("Select", 40, 40, 80, 20)
    GUISetState()
    While 1
    $msg = GUIGetMsg()
    Select
    Case $msg = $ok
    Run('C:\Program Files\RealVNC\VNC4\vncviewer.exe')
    WinWait("VNC Viewer : Connection Details")
    Send( GUICtrlRead($Combo_1))
    Send("{TAB 3}")
    Send("{ENTER}")
    Case WinExists("VNC Viewer : Authentication [No Encryption]")
    Send("PASSWORD{ENTER}")
    Exit
    Case WinExists("VNC Viewer : Authentication [128-bit AES Encryption]")
    Send("PASSWORD{ENTER}")
    Exit
    Case $msg = $GUI_EVENT_CLOSE
    ExitLoop
    Case Else
    EndSelect
    WEnd
    Exit

  3. #3

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Re: VNC and AD

    will tell me what user is sat at what machine at any given time?

  4. #4
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25

    Re: VNC and AD

    ops:

  5. #5

    Join Date
    Aug 2006
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: VNC and AD

    In general terms, how did you get C# to get access to this info?

SHARE:
+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •