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: PowerShell Studio 2019 v5.6.165
32 or 64 bit version of product:(64 Bit)
Operating system:Windows 10 Enterprise
32 or 64 bit OS: (64 Bit)
*** Please add details and screenshots as needed below. ***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
This is interesting. I only see this behavior on my computer so far.
When running as exe (screenshots attached in file).
1. I browse using foldermoderndialog, the resulting path is displayed in text box.
2. Third tab check boxes are now cut off. Last character is missing.
Screen shots of build settings in file.
I am at a loss why this would do this only on one pc (I have tested on a tablet, laptop (Same OS etc as above) and no issues.
Weird behavior from executable.
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Weird behavior from executable.
Do your computers have different resolutions and scaling factors?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 15
- Last visit: Fri Sep 15, 2023 9:48 am
Re: Weird behavior from executable.
Most likely. But why would this only cut off the text in two check boxes?
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
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.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 15
- Last visit: Fri Sep 15, 2023 9:48 am
Re: Weird behavior from executable.
So now, I have one that is absolutely perplexing me.
When I play my form, everything seems to work as it should.
When I convert it to an executable (Build settings are the same) I am getting this error on exectution of start-job
ERROR: [localhost] The background process reported an error with the following message: .
ERROR: + CategoryInfo : OpenError: (localhost:String) [], PSRemotingTransportException
ERROR: + FullyQualifiedErrorId : 2100,PSSessionStateBroken
Attached is windows error message.
When I play my form, everything seems to work as it should.
When I convert it to an executable (Build settings are the same) I am getting this error on exectution of start-job
ERROR: [localhost] The background process reported an error with the following message: .
ERROR: + CategoryInfo : OpenError: (localhost:String) [], PSRemotingTransportException
ERROR: + FullyQualifiedErrorId : 2100,PSSessionStateBroken
Attached is windows error message.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
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.
I will move this to the general PowerShell section.
But since it seems to involve remoting, I would look into permission and firewall settings.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Weird behavior from executable.
"Start-Job" spawns a new PowerShell instance. This is aborting when it tries to remote.
You say this only happens on one system. I would first suspect the system has an issue.
You say this only happens on one system. I would first suspect the system has an issue.