Search found 49 matches

by daviesg6
Mon Nov 17, 2014 8:41 am
Forum: PowerShell
Topic: convert output to human readable format
Replies: 2
Views: 1613

convert output to human readable format

I have created a Primal forms GUI for the 1st line team, until now they had no access to things like if a users password had expired, when it was last set etc. Everything works fine, apart from the output for the lastlogon attribute is just a numeric string yet the output for PasswordLastSet is a re...
by daviesg6
Tue Apr 29, 2014 1:04 pm
Forum: Productivity Pack Support
Topic: Is it possible to add an info box to items in PrimalForms
Replies: 5
Views: 20727

Re: Is it possible to add an info box to items in PrimalForm

thanks David. I am using the CE version and using the function does get around this bug as you advise.
by daviesg6
Tue Apr 29, 2014 9:34 am
Forum: Productivity Pack Support
Topic: Is it possible to add an info box to items in PrimalForms
Replies: 5
Views: 20727

Re: Is it possible to add an info box to items in PrimalForm

I solved it. Adding the ToolTip creates a line of code in the middle of the block that defines the button, see below second line below $SearchRightsButton.TabIndex = 16 $SearchRightsButton.ToolTip = "Test message" $SearchRightsButton.UseVisualStyleBackColor = $False If this is left there i...
by daviesg6
Tue Apr 29, 2014 6:50 am
Forum: Productivity Pack Support
Topic: Is it possible to add an info box to items in PrimalForms
Replies: 5
Views: 20727

Re: Is it possible to add an info box to items in PrimalForm

thanks, that looks like what I need. However, I used this as per the instructions and, though it works, I get errors. I tested with just 1 tooltip, the error I get is The property 'ToolTip' cannot be found on this object. Verify that the property exists and can be set. At line:386 char:1 + $SearchRi...
by daviesg6
Mon Apr 28, 2014 2:10 pm
Forum: Productivity Pack Support
Topic: Is it possible to add an info box to items in PrimalForms
Replies: 5
Views: 20727

Is it possible to add an info box to items in PrimalForms

I would like to add an info box, the kind of thing you see on a web page when you hover over a link or an image, to buttons and/or text boxes in a primalforms form. Is it possible to do so and if so where do I go to add it :?: I have looked and can see a possible option but I'm not sure :?

Thanks
by daviesg6
Wed Apr 23, 2014 10:10 am
Forum: PowerShell
Topic: Script works fine in Powershell/ISE but not in PrimalForms.
Replies: 18
Views: 10269

Re: Script works fine in Powershell/ISE but not in PrimalFor

thank you, that works, I was missing the (see bold characters) "domain/$(variable)"

Sorry to have caused confusion.
by daviesg6
Wed Apr 23, 2014 9:36 am
Forum: PowerShell
Topic: Script works fine in Powershell/ISE but not in PrimalForms.
Replies: 18
Views: 10269

Re: Script works fine in Powershell/ISE but not in PrimalFor

The OU is what the user enters in the text box, that's why the code uses the variable $userentrybox. The path is domainname/variable. As long as the OU is entered there it is supposed to look at the permissions set on that OU. Again, this works when not in a form, as soon as it is included in the pr...
by daviesg6
Wed Apr 23, 2014 9:16 am
Forum: PowerShell
Topic: Script works fine in Powershell/ISE but not in PrimalForms.
Replies: 18
Views: 10269

Re: Script works fine in Powershell/ISE but not in PrimalFor

I copied and pasted the code from a previous entry in this thread so it is the same code. Debugger shows nothing the script DOES work as a standalone in ISE, irrespective of what the variable name is the script executes on an OU, as long as an OU name is entered by the user. t's ok, I'll find anothe...
by daviesg6
Wed Apr 23, 2014 8:45 am
Forum: PowerShell
Topic: Script works fine in Powershell/ISE but not in PrimalForms.
Replies: 18
Views: 10269

Re: Script works fine in Powershell/ISE but not in PrimalFor

No worries, site issues can be a pain. I already have it set to output results, the line of code I posted that is giving no results is $resultsbox.Text=Get-QADObject domain.com/$UserEntryTextBox.Text -SecurityMask Dacl | Get-QADPermission -UseExtendedMatch -Inherited -SchemaDefault -Property ('name'...
by daviesg6
Wed Apr 23, 2014 7:43 am
Forum: PowerShell
Topic: Script works fine in Powershell/ISE but not in PrimalForms.
Replies: 18
Views: 10269

Re: Script works fine in Powershell/ISE but not in PrimalFor

I'm confused by your comment. When I look at my post I clearly see line numbers in the code blocks so I don't understand why you are saying you don't see this. All I am trying to do is get the single script, previously entered as a separate code block following your request for this to be posted sep...