spiderkayak Posted September 16, 2005 Share Posted September 16, 2005 single I can read the $server MsgBox (4096, "drag drop file", GUICtrlRead(""&$server&","&$user&","&$pwd&"")) it shows in the window the result of $server, I need that I show the results of all the variables ($server, $user and $pwd) I nedd Help.... -------------------------------------------------------------------------------------------------------------- #include <GUIConstants.au3> GUICreate("Inventory v.1.0", 230, 210, 100, 100) GUICtrlCreateLabel("Ingrese Nombre o IP del Servidor Altiris", 15, 5, 300) $server = GUICtrlCreateInput("", 15, 20, 200, 20) GUICtrlCreateGroup("Credenciales", 10, 50, 210, 115) GUICtrlCreateLabel("Dominio\Usuario", 15, 65, 200) $user = GUICtrlCreateInput("", 15, 80, 200, 20) GUICtrlCreateLabel("Password", 15, 110, 200) $pwd = GUICtrlCreateInput("", 15, 125, 200, 20,$ES_PASSWORD) ; BUTTON $btn = GuiCtrlCreateButton("OK", 20, 170, 80, 30) GuiCtrlCreateButton("Clear", 131, 170, 80, 30) GUISetState (@SW_SHOW) $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Select Case $msg = $btn exitloop EndSelect Wend MsgBox (4096, "drag drop file", GUICtrlRead(""&$server&","&$user&","&$pwd&"")) -------------------------------------------------------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
BigDod Posted September 16, 2005 Share Posted September 16, 2005 Change last line toMsgBox (0, "drag drop file", GUICtrlRead($server) & GUICtrlRead($user) & GUICtrlRead($pwd)) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
spiderkayak Posted September 16, 2005 Author Share Posted September 16, 2005 Change last line took, I want that the information is seen of the following form in the message Box:-------------------------Server: explorer User: victor Pwd: ******-------------------------as I can make it....help my please... Link to comment Share on other sites More sharing options...
BigDod Posted September 16, 2005 Share Posted September 16, 2005 ok, I want that the information is seen of the following form in the message Box:-------------------------Server: explorer User: victor Pwd: ******-------------------------as I can make it....help my please...Line should now readMsgBox (0, "drag drop file", " Server: " & GUICtrlRead($server) & @LF & " User: " & GUICtrlRead($user) & @LF & " Password: " & GUICtrlRead($pwd)) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
spiderkayak Posted September 16, 2005 Author Share Posted September 16, 2005 Line should now readMsgBox (0, "drag drop file", " Server: " & GUICtrlRead($server) & @LF & " User: " & GUICtrlRead($user) & @LF & " Password: " & GUICtrlRead($pwd))Thaks for you help........... :"> Link to comment Share on other sites More sharing options...
BigDod Posted September 16, 2005 Share Posted September 16, 2005 Thaks for you help........... :">No Probs Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now