Search found 59 matches

by ALIENQuake
Mon May 18, 2020 9:57 am
Forum: PowerShell Studio
Topic: Installing PowerShell 7.0.1 break PS7/NetCore3.1 compiled scripts
Replies: 6
Views: 961

Re: Installing PowerShell 7.0.1 break PS7/NetCore3.1 compiled scripts

Thanks! I hope that you see now why it's a good idea to have a self-contained deployment, even if the application folder will have 100+ dll's.
by ALIENQuake
Sat May 16, 2020 2:40 pm
Forum: PowerShell Studio
Topic: Installing PowerShell 7.0.1 break PS7/NetCore3.1 compiled scripts
Replies: 6
Views: 961

Installing PowerShell 7.0.1 break PS7/NetCore3.1 compiled scripts

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: version of product...
by ALIENQuake
Wed May 13, 2020 11:40 pm
Forum: PowerShell Studio
Topic: ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"
Replies: 9
Views: 1326

Re: ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"

Well, now it's even worse:

the problem lies with font size:

Code: Select all

$treeview1.Font = [System.Drawing.Font]::new('Segoe UI', '8,25', [System.Drawing.FontStyle]'Bold')
If the font-size value has a comma, it is treated differently when it is an only a single number.

Image
by ALIENQuake
Mon May 04, 2020 9:57 am
Forum: PowerShell Studio
Topic: ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"
Replies: 9
Views: 1326

Re: ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"

I've been able to reproduce this behavior and have informed the development team. The issue seems to only appear when you set a font style. This should be resolved in the next release of PowerShell Studio. For a temporary fix, update the line to: [System.Drawing.Font]::New('Segoe UI', 8.25, [System...
by ALIENQuake
Sun May 03, 2020 5:37 am
Forum: PowerShell Studio
Topic: ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"
Replies: 9
Views: 1326

ERROR: Multiple ambiguous overloads found for [System.Drawing.Font]::new and the argument count: "3"

Powershell Studio 2020 5.7.175 64 bit Microsoft Windows 10.0.19555 64 bit My treeView control has font set. After upgrade to 175, the font cannot be set and I'm getting this error when I'm launching form: ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3". ....Run.ps1 (1...
by ALIENQuake
Sat May 02, 2020 5:33 am
Forum: PowerShell GUIs
Topic: AV Trojan detection on PowerShell Studio packages
Replies: 8
Views: 888

Re: AV Trojan detection on PowerShell Studio packages

Yep, McAfee is crap, replace the code with Invoke-WebRequest and it will be fine.
by ALIENQuake
Sat May 02, 2020 5:31 am
Forum: PowerShell GUIs
Topic: Does PSForms compiled exe require <app>.exe.config to run properlty?
Replies: 1
Views: 314

Does PSForms compiled exe require <app>.exe.config to run properlty?

Hi, Does PSForms compiled exe require <app>.exe.config? to run properly? My app is used on Windows 7,8.1 and 10. <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" /> <supportedRuntime version="v2.0" /> </start...