Search found 75 matches

by boyddt_co
Mon Nov 21, 2011 4:41 am
Forum: PrimalForms
Topic: Premature form close
Replies: 4
Views: 2978

Premature form close

Thanx, I'll look into it.David
by boyddt_co
Mon Nov 21, 2011 4:18 am
Forum: PrimalForms
Topic: Premature form close
Replies: 4
Views: 2978

Premature form close

David, the button's DialogResult was set to 'cancel' and setting it to none solved the problem. The next question is what do the different options do. If I set it to 'abort' would the script just quit even if there is code on the back side?David
by boyddt_co
Fri Nov 18, 2011 8:05 am
Forum: PrimalForms
Topic: Premature form close
Replies: 4
Views: 2978

Premature form close

I have a simple form that closes when the script is done. I would like to keep it open so that the users have the option seeing the output - I have a richtextbox that I populate with the status of the script - and to give the option of creating another set of folders. How can I do that?David
by boyddt_co
Wed Oct 12, 2011 2:52 am
Forum: PrimalForms
Topic: statusbar text update question
Replies: 4
Views: 3236

statusbar text update question

Thank you for your help.
by boyddt_co
Fri Sep 30, 2011 2:33 am
Forum: PrimalForms
Topic: statusbar text update question
Replies: 4
Views: 3236

statusbar text update question

The equal sign is actually in the code, typo on my part. Any other ideas?
by boyddt_co
Thu Sep 29, 2011 10:00 am
Forum: PrimalForms
Topic: statusbar text update question
Replies: 4
Views: 3236

statusbar text update question

I have a simple form that queries AD. one combo box (SITE) has the different OU's and the other one (USERS) is populated when a site is choosen. I have a statusbar whose text I'm trying to update but never does. I've tried to$statusbar.text "Finding Users"$statusbar.update$statusbar.refreshIt doesn'...
by boyddt_co
Thu Sep 29, 2011 4:53 am
Forum: Windows PowerShell
Topic: LDAP queries and values
Replies: 5
Views: 2296

LDAP queries and values

Sometimes I feel so thick. Using the information above $_.properties['cn'] I get the information as requested but it is an object where what I would really like is just the text string. I've tried $_.properties['cn'].tostring() and $_.properties['cn'].value and though they are no longer objects they...
by boyddt_co
Thu Sep 29, 2011 4:02 am
Forum: Windows PowerShell
Topic: LDAP queries and values
Replies: 5
Views: 2296

LDAP queries and values

Hey, thanx for the explanation. I did move the bracket next to the foreach-object and that fixed it. As for the books, what do you suggest? I've downloaded Windows Powershell Pocket Reference but I'm looking for something more robust for a learning tool.David
by boyddt_co
Thu Sep 29, 2011 3:01 am
Forum: Windows PowerShell
Topic: LDAP queries and values
Replies: 5
Views: 2296

LDAP queries and values

I took your code and put it into my script, when I run it I get the following message:cmdlet ForEach-Object at command pipeline position 1Supply values for the following parameters:Process[0]:This is the code I haveFunction ScriptingAnswers { $filter = "(&(objectClass=user)(objectCategory=person))" ...
by boyddt_co
Wed Sep 28, 2011 6:37 am
Forum: PrimalScript
Topic: LDAP queries and values
Replies: 2
Views: 939

LDAP queries and values

Thanx for the info.