User Profile

Collapse

Profile Sidebar

Collapse
Lookin4Toons
Lookin4Toons
Last Activity: Jun 17 '09, 03:50 PM
Joined: Jun 15 '09
Location: Seminole, FL.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Lookin4Toons
    Lookin4Toons posted a Visitor Message for QVeen72
    I am searching for answers for my AD query. Please see my post for AD query w/inputbox. I have the basic stuff done but I canot get it to go back to the beginning if they wish to run another name.
    Thank you.
    See more | Go to post

  • need to insert loop back into process

    Now that I have figured out how to get the basics, how do I insert a If Then to loop it back if they want to retry if they name exists.
    Same question if the name is OK if they would like to check another name.
    Should I use the MsgBox at this point?
    See more | Go to post

    Leave a comment:


  • Figured it out after several attempts:
    Now I need to figure out if the name exists, how to loop back to check another

    On Error Resume Next
    Const ADS_SCOPE_SUBTR EE = 2
    Dim Fname
    strFname = InputBox("Pleas e put the desired User Name:",Fname)
    If strFname = "" Then
    WScript.Echo "No User Name entered. Program aborted."
    Wscript.Quit
    End If
    Set...
    See more | Go to post

    Leave a comment:


  • AD query - search AD for valid username w/input box

    Trying to create a text box w/user input to enter a suggested user name and query AD to see if the name is available. This is for HR users who do not have access to the Admin tools to open the container. Can this be written another way to "prompt" for user input somewhere else in the script?
    Thank you -

    On Error Resume Next
    Const ADS_SCOPE_SUBTR EE = 2
    strUSER = InputBox("Pleas e put the desired...
    See more | Go to post
    Last edited by debasisdas; Jun 16 '09, 09:25 PM. Reason: mail id snipped.
No activity results to display
Show More
Working...