Search found 6436 matches

by Alexander Riedel
Tue Feb 06, 2018 11:13 am
Forum: PowerShell GUIs
Topic: win10 error from gui form
Replies: 5
Views: 134

Re: win10 error from gui form

Well, that's why the config is there :-) . It's a Microsoft.NET thing, no it cannot be put anywhere inside and yes, if it doesn't work without it, you will need it. Basically if your code is mixing assemblies using different runtimes, this is needed. PowerShell V2 uses .NET 2.0 but some default modu...
by Alexander Riedel
Tue Feb 06, 2018 10:19 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Primal Script 2018 Trial thinks I am on a Virtual Machine
Replies: 1
Views: 891

Re: Primal Script 2018 Trial thinks I am on a Virtual Machine

VM detection unfortunately is tricky and not perfect. "Fails when I enter ..." Can you provide the exact error message please?
by Alexander Riedel
Mon Feb 05, 2018 6:35 am
Forum: PowerShell Studio
Topic: EXE Build not including module files
Replies: 5
Views: 1055

Re: EXE Build not including module files

Module files are never included in a generated executable. It basically goes against the idea of a module. A module is code shared for multiple applications, akin to a dll. If you want to re-use code between projects AND include that code inside the executable file, put the functions in simple .ps1 ...
by Alexander Riedel
Sun Feb 04, 2018 1:15 am
Forum: Windows PowerShell
Topic: EXE process does not end on exit
Replies: 22
Views: 710

Re: EXE process does not end on exit

As promised, here is a standard windows forms app packaged as a 64 bit V5 exe.
Run it on your machine, close the form and see if the process exits.
There is no special code to make it exit the process as you can see in the included .psf and .psbuild files.
by Alexander Riedel
Sun Feb 04, 2018 12:22 am
Forum: Windows PowerShell
Topic: EXE process does not end on exit
Replies: 22
Views: 710

Re: EXE process does not end on exit

Generally speaking, none of the commands you mention to terminate the process should be necessary. I will do a test in an hour or so with a simple packaged form and post it here. Normally the process just exits but with posting it here you can try what I use on your machine. James is right though, t...
by Alexander Riedel
Fri Feb 02, 2018 11:29 pm
Forum: Windows PowerShell
Topic: EXE process does not end on exit
Replies: 22
Views: 710

Re: EXE process does not end on exit

If the process lingers after you exit your script in a packaged executable it can have a variety of reasons. Most commonly you have modules loaded which create their own threads or jobs which linger and prevent the process from ending. You can use remove-module to properly terminate any modules you ...
by Alexander Riedel
Fri Feb 02, 2018 4:53 am
Forum: Feedback
Topic: Mate with licensed product left the company
Replies: 1
Views: 271

Re: Mate with licensed product left the company

Please send the subscription number to sales@sapien.com for further assistance.
by Alexander Riedel
Mon Jan 29, 2018 11:42 am
Forum: PrimalScript
Topic: Does Primal Script Packager support bat file script encoding.
Replies: 4
Views: 295

Re: Does Primal Script Packager support bat file script encoding.

Yes.
2018-01-29_10-40-22.png
2018-01-29_10-40-22.png (77.44 KiB) Viewed 285 times
by Alexander Riedel
Fri Jan 26, 2018 12:13 pm
Forum: PowerShell Studio
Topic: PS Studio 5.4.145: Form Project - Breakpoints are ending with "Script Ended"
Replies: 9
Views: 1164

Re: PS Studio 5.4.145: Form Project - Breakpoints are ending with "Script Ended"

Topic moved by moderator. Please make sure to post in the correct forum with the version information requested. The "Customer Service" forum is not meant for any technical problems with a product. Please use the applicable product forum to report any such issues or ask question regarding the product...