Jump to content

Recommended Posts

Posted

I am writing a gui script so our laptop users here can map drive with out having to be part of the domain.

Below is the code to my window however the password exit box shows the text and not *

#include <GuiConstants.au3>

GuiCreate("Logon to Domain", 385, 365,-1,-1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
GUICtrlCreateLabel("User Name:", 14, 73, 64, 15)
GUICtrlCreateLabel("Password:", 20, 100, 58, 15)
GUICtrlCreateEdit("", 80, 71, 256, 20,$WS_TABSTOP)
GUICtrlCreateEdit("fdg", 80, 98, 256, 20,$ES_PASSWORD)
$OK = GUICtrlCreateButton("OK", 80, 130, 75, 23)
$CLOSE = GUICtrlCreateButton("Close", 260, 130, 75, 23)
GUICtrlCreateEdit("", 5, 180, 365, 147,$ES_MULTILINE + $ES_READONLY)
GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE or $msg = $CLOSE
        ExitLoop
    Case Else
    ;;;
    EndSelect
WEnd
Exit

Posted Image

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...