Search found 8 matches

by ctc_rl008
Tue Oct 27, 2020 10:04 pm
Forum: PowerShell GUIs
Topic: Problem with GUI, button removed
Replies: 6
Views: 1530

Re: Problem with GUI, button removed

Thanks for your replies.

I'll think the best way to avoid it is to shrink the form itself to max 600 hight. We use this script in a PCE boot environment in SCCM, so the resolution is rather low. I'll have to review the setup or move to a 2 page form instead.
by ctc_rl008
Tue Oct 27, 2020 12:20 am
Forum: PowerShell GUIs
Topic: Problem with GUI, button removed
Replies: 6
Views: 1530

Re: Problem with GUI, button removed

I checked this, but the anchoring is set to Bottom, right It seems it has to do with the screen resolution, the layout of the form is set to 707,877. On one of the test computers i have set the screen resolution to 1280x768. You can see the result in the screenshot. I would have expected that the fo...
by ctc_rl008
Mon Oct 26, 2020 6:28 am
Forum: PowerShell GUIs
Topic: Problem with GUI, button removed
Replies: 6
Views: 1530

Problem with GUI, button removed

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: Operating system: ...
by ctc_rl008
Thu Oct 31, 2019 8:12 am
Forum: PowerShell Studio
Topic: Powershell Studio removing part of code after loading form
Replies: 8
Views: 4295

Re: Powershell Studio removing part of code after loading form

Meanwhile i have figured out a work around by placing the code in a function which i saved as ps1. When the button is clicked the variables are passed as parameters to the external ps1 file and i have added it as dot source to call it ( . .\script.ps1) This does the trick, PSS has no issue with the ...
by ctc_rl008
Tue Oct 29, 2019 11:53 pm
Forum: PowerShell Studio
Topic: Powershell Studio removing part of code after loading form
Replies: 8
Views: 4295

Re: Powershell Studio removing part of code after loading form

Thanks for you response. I checked all settings and they seem to be identical to yours. This only happens when i use this code in a .psf file. I have created a few new forms and it happens in any of them. When i save it as .ps1 it doesn't happen. I never had this kind of behavior in any other projec...
by ctc_rl008
Tue Oct 29, 2019 3:47 am
Forum: PowerShell Studio
Topic: Powershell Studio removing part of code after loading form
Replies: 8
Views: 4295

Powershell Studio removing part of code after loading form

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 ...
by ctc_rl008
Tue Mar 15, 2016 7:24 am
Forum: PowerShell GUIs
Topic: Sending script output to textbox
Replies: 1
Views: 3287

Sending script output to textbox

Hello, we want to run a powershell script that does some installation, copy/remove files and clean up directories after our operations system deployment. The powershell script itself is working but i want to output the result of this script in a GUI textbox. The script seems to be working, only the ...