Search found 6969 matches

by Alexander Riedel
Tue Jul 16, 2019 4:12 pm
Forum: PowerShell Studio
Topic: not getting output from msgbox
Replies: 13
Views: 342

Re: not getting output from msgbox

$PSScriptRoot and $PSCommandPath are filled where possible as a convenience to users. You must keep in mind though that packaged code does not run as a script. It is executed as code in a custom host. So there are some differences to keep in mind and PowerShell is likely getting confused as to the s...
by Alexander Riedel
Mon Jul 15, 2019 1:27 pm
Forum: PowerShell Studio
Topic: not getting output from msgbox
Replies: 13
Views: 342

Re: not getting output from msgbox

It really depends on what you are doing. In a nutshell: Windows is a generic Windows app and all output (e.g. Write-Host) is directed to a message box. Windows Forms eats all generic powershell output from Write-host, write-output, out-* etc. All output must be through form elements or message boxes...
by Alexander Riedel
Mon Jul 15, 2019 11:20 am
Forum: PowerShell Studio
Topic: not getting output from msgbox
Replies: 13
Views: 342

Re: not getting output from msgbox

*** 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:
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS:
by Alexander Riedel
Thu Jul 11, 2019 5:01 am
Forum: PowerShell Studio
Topic: Running an exported form in ConstrainedLanguage mode causes massive errors
Replies: 2
Views: 391

Re: Running an exported form in ConstrainedLanguage mode causes massive errors

We sent a request regarding this constrained mode around. Since we have no encountered this before we suspected it is not in very wide use. Below is the reply from Lee Holmes at Microsoft on this subject: It might be a good time to talk to your customer 😊 Anything but NoLanguage mode in an endpoint ...
by Alexander Riedel
Tue Jul 09, 2019 6:43 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 634

Re: Weird behavior from executable.

[Moved by moderator]
by Alexander Riedel
Tue Jul 09, 2019 6:42 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 634

Re: Weird behavior from executable.

Without knowing exactly what your code does, that is hard to diagnose.
I will move this to the general PowerShell section.
But since it seems to involve remoting, I would look into permission and firewall settings.
by Alexander Riedel
Mon Jul 08, 2019 8:18 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Monthly Subscription
Replies: 1
Views: 1062

Re: Monthly Subscription

Not at the moment. Currently our software license is perpetual, meaning you can keep using the product after you let the maintenance subscription expire. A month to month subscription usually implies that you can no longer use the software if you let the subscription lapse. We are evaluating which m...
by Alexander Riedel
Mon Jul 08, 2019 6:09 am
Forum: PowerShell Studio
Topic: Building an exe with Powershell Studio 2019 now causes errors
Replies: 5
Views: 801

Re: Building an exe with Powershell Studio 2019 now causes errors

It's caused the code injection to set $PSScriptRoot correctly in packaged code.
It will be fixed in the next service build.
You can leave out the Cmletbinding statement, if possible, and it will package correctly.
by Alexander Riedel
Fri Jul 05, 2019 6:23 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 634

Re: Weird behavior from executable.

Scaling in Windows is a science in itself. Makes sure to size all check boxes, buttons, labels etc with as much extra horizontal space to account for variations in scaling factors, font sizes and different default fonts on different systems.
by Alexander Riedel
Fri Jul 05, 2019 5:36 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 634

Re: Weird behavior from executable.

Do your computers have different resolutions and scaling factors?