Search found 351 matches

by mxtrinidad
Fri Jan 05, 2018 8:25 am
Forum: PowerShell GUIs
Topic: Textbox Validation
Replies: 3
Views: 975

Re: Textbox Validation

How about having the rest of the textboxes been disabled (having the first one is enabled) until they reach the last one? Then, enable the button. $textbox1_TextChanged={ if ($textbox1.text -ne "") { $textbox2.Enabled = $true } } I think it comes down to which textbox will end up enabling the button.
by mxtrinidad
Wed Jan 03, 2018 4:32 pm
Forum: PowerShell Studio
Topic: Button event handler not working
Replies: 3
Views: 1395

Re: Button event handler not working

Hum! Did you manually add the $btnRefresh_Click event yourself? The button won't work if you add the event manually. Simply double-click on the button and it will add the event (emtpy) and then you can add the code. It will work as expected! In your case, because you added the event manually, it wil...
by mxtrinidad
Wed Dec 27, 2017 12:00 pm
Forum: PowerShell GUIs
Topic: What Am I doing wrong?!
Replies: 8
Views: 2072

Re: What Am I doing wrong?!

Ok! Which Azure module and version are you currently using?
This will help us.

Thanks
by mxtrinidad
Tue Dec 26, 2017 11:51 am
Forum: PowerShell Studio
Topic: New-TagAssignment works in .ps1, but not in .psf...
Replies: 12
Views: 3854

Re: New-TagAssignment works in .ps1, but not in .psf...

Also, I may suggest to display the content of the $null variable which may hold (if any) the error message that the New-TagAssignment cmdlet may produce. Just for troubleshooting purpose also remove the parameter '-ErrorAction stop'. Let it bomb out! By the way, $null is a reserved variable. Please ...
by mxtrinidad
Fri Dec 15, 2017 4:26 pm
Forum: Windows PowerShell
Topic: assing a multiline value to a textbox
Replies: 5
Views: 1517

Re: assing a multiline value to a textbox

The only way I can replicate the issue would be by leaving the text box multiline property as "False". Otherwise setting it to "True" and resizing the textbox then it will work with either single, double quotes, and here-string format.
Multiline_2017-12-15_18-19-35.png
Multiline_2017-12-15_18-19-35.png (11.63 KiB) Viewed 1443 times
by mxtrinidad
Fri Dec 15, 2017 11:37 am
Forum: Windows PowerShell
Topic: assing a multiline value to a textbox
Replies: 5
Views: 1517

Re: assing a multiline value to a textbox

Simple fix! You need to use the Here-String text format the following way: $example = @"Hi Car Today "@ For more information look at the following link: https://technet.microsoft.com/en-us/library/ee692792.aspx Otherwise the previous format will be understood as a one line string no matter how you'l...
by mxtrinidad
Mon Dec 11, 2017 8:11 am
Forum: Installation Issues
Topic: PS2017 Update failed and software vanished
Replies: 3
Views: 3032

Re: PS2017 Update failed and software vanished

Sorry for any inconvenience!
Please contact sales department at sales@sapien.com and be sure to include your invoice number. They should be able to determine your subscription number.
by mxtrinidad
Mon Dec 11, 2017 7:59 am
Forum: PowerShell Studio
Topic: Missing Intellisense item for date-time cmdlet
Replies: 4
Views: 1618

Re: Missing Intellisense item for date-time cmdlet

We appreciate the feedback and we'll get back to you as soon as possible. Apparently, the DateTime ScriptProperty is not been detected by our PrimalSense feature and will be looking into it.
Date-Time_2017-12-11_9-57-03.png
Date-Time_2017-12-11_9-57-03.png (46.93 KiB) Viewed 1596 times
by mxtrinidad
Wed Dec 06, 2017 8:35 pm
Forum: PowerShell Studio
Topic: Can anyone explain Globals.ps1?
Replies: 3
Views: 1235

Re: Can anyone explain Globals.ps1?

May I add to this thread. I have use the Global.ps1 to store custom PowerShell functions I have created. This way I can reuse them across my multiple screens without any issues.

This has work great in my situation.
:)
by mxtrinidad
Tue Dec 05, 2017 12:40 pm
Forum: PrimalScript
Topic: Cmdlet Autocomplete & "In" autocomplete
Replies: 17
Views: 7071

Re: Cmdlet Autocomplete & "In" autocomplete

In my test, in PrimalScript I was able to unselect the "Auto case correction", and it will not impact intelli-sense leaving the "in" in lowecase inside the "foreach(..)" clause.