Hi Scripting experts.. any help in this highly appreciated..... am out of idea's....and just started HTA scripting...
On Fri, Sep 9, 2016 at 9:08 PM, S ConfigMgr <configmgrarch...@gmail.com> wrote: > I have a HTA script for group membership information retrieval. I just > started to learning HTA and tried my best to modify to fir my requirement > <<attached file>>. > > > *My Scripts does the below:* > > > I have a static OU Named OU=MyDepartment,DC=org,DC=dev,DC=lab,DC=net > > > And all the Required / targeted AD groups will be located in above OU > called MyDepartment . > > > From HTA Script I can select required AD group Name. > > > When I executed the HTA file it will Update “*adminDescription”* > attribute in Active Directory to something I have hard coded in the script, > and it works. However, am looking to update based on text box value which > user can enter *a value.* > > > *In the script below lines are executing to update required AD attribute > i.e., “adminDescription” to “Scientist021”.* > > > > Const ADS_PROPERTY_UPDATE = 2 > Set objGroup = GetObject("LDAP://" & lst_groupfilter.Value) > > objGroup.Put "adminDescription", "Scientist021" > objGroup.SetInfo > > > > Currently I have configured to update this value when click on Get Members > Button (I even wanted to rename this to button name to “UpdateValues”. > > > > I stuck at this place, I wanted to put value as “Scientist021” or whatever > in the text which User can type in a text box > > > [image: Inline image 1] > > > > Can anyone help me in this please. > > -- > Thanks, > Hun > ED > > -- Thanks, ED