Search found 4827 matches

by davidc
Mon Aug 21, 2017 8:17 am
Forum: PowerShell Studio
Topic: Buttons stop working after build
Replies: 7
Views: 144

Re: Buttons stop working after build

Also make sure you load the WinForms assembly beforehand. Not all hosts will pre-load the assembly.

Code: Select all

Add-Type -AssemblyName 'System.Windows.Forms'
by davidc
Mon Aug 21, 2017 8:12 am
Forum: PowerShell Studio
Topic: PowerShell Studio 2017 v5.4.143: Using [adsi]'' is so slow
Replies: 1
Views: 80

Re: PowerShell Studio 2017 v5.4.143: Using [adsi]'' is so slow

The debugger queries the object's properties when it hits a breakpoint. It is possible that one or more properties are triggering internal ADSI queries, which maybe timing out, thus causing the delay.
by davidc
Mon Aug 21, 2017 7:59 am
Forum: Wish List and Feature Requests
Topic: Transparent GUI Control Form
Replies: 1
Views: 100

Re: Transparent GUI Control Form

Yes, you can add transparency to your existing form already. I recommend looking at the Form - Fade in Effect control set as an example:

https://info.sapien.com/index.php/guis/ ... de-in-form
by davidc
Mon Aug 21, 2017 7:53 am
Forum: Wish List and Feature Requests
Topic: WPF controls in PSS
Replies: 6
Views: 186

Re: WPF controls in PSS

In order to access the controls within your XAML, you have to query the control and assign it to a variable. $script:WPFControl = Update-ElementHost -Elementhost $elementhost -XAML $xaml if($WPFControl) { $wpfButton = [System.Windows.Controls.Button]$WPFControl.FindName("WPFButton") if($wpfButton) {...
by davidc
Fri Aug 11, 2017 1:45 pm
Forum: Wish List and Feature Requests
Topic: ErrorProvider Control: Please provide the Information if there is an active Error
Replies: 1
Views: 111

Re: ErrorProvider Control: Please provide the Information if there is an active Error

This is a Microsoft .NET control and not something we created.

You could create a function the iterates through the form's controls and check if it has an error message by using the ErrorProvider's GetError method.
by davidc
Fri Aug 11, 2017 9:45 am
Forum: PowerShell Studio
Topic: SPS17Setup_5.4.143_080217_x64.exe hangs at extracting files from archive
Replies: 3
Views: 155

Re: SPS17Setup_5.4.143_080217_x64.exe hangs at extracting files from archive

We found the following posts with the same issue: http://www.advancedinstaller.com/forums/viewtopic.php?t=27989 https://social.msdn.microsoft.com/Forums/en-US/baa6ad5c-99dd-427a-8604-018935fc5a22/vs2010-pro-installation-failure?forum=vssetup You can try using the steps suggested in these posts to se...
by davidc
Thu Aug 10, 2017 10:51 am
Forum: PowerShell Studio
Topic: SPS17Setup_5.4.143_080217_x64.exe hangs at extracting files from archive
Replies: 3
Views: 155

Re: SPS17Setup_5.4.143_080217_x64.exe hangs at extracting files from archive

I'm not sure the cause (the first time I have heard of this error) but I suspect something that particular system is causing the issue. 1. Does the error only occur with PowerShell Studio's installer? 2. Have you tried installing another version of PowerShell Studio? 3. Have you tried rebooting? Som...
by davidc
Wed Aug 09, 2017 1:16 pm
Forum: PrimalScript
Topic: Norton Security AV - Trojan Virus Heur.AdvML.B in PrimalScript 2017 files
Replies: 1
Views: 353

Re: Norton Security AV - Trojan Virus Heur.AdvML.B in PrimalScript 2017 files

Thank you for submitting the files and providing the steps. Virus definitions are constantly updated so false-positives will keep popping up every once in a while. Part of the issue could that the executables are not signed, but that a necessity because otherwise you would not be able to sign their ...
by davidc
Wed Aug 09, 2017 11:36 am
Forum: PowerShell GUIs
Topic: ShowInTaskbar
Replies: 2
Views: 57

Re: ShowInTaskbar

[TOPIC MOVED TO POWERSHELL GUIS FORUM BY MODERATOR]
by davidc
Wed Aug 09, 2017 9:37 am
Forum: Customer Service
Topic: Symantec Endpoint Protection - Heuristic Virus Found
Replies: 1
Views: 321

Re: Symantec Endpoint Protection - Heuristic Virus Found

Hello,

In the past, antivirus scanners have falsely flagged the script engines. I highly recommend submitting the files to the anti-virus vendor so they can confirm the false positive and correct their signatures if necessary.