Search found 71 matches

by Domtar
Wed Feb 12, 2020 6:46 pm
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

yes, i now have the same conclusion.

if i compile my script as an exe and try it, the control works as expected. also, the same script works correctly in PS Studio for my co-worker.

I'll see if I can repair my system.

thank you for your time & efforts!
by Domtar
Wed Feb 12, 2020 12:28 pm
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

i tried creating a ps1 file with all the controls definitions, and it does the same. i copy / pasted an example piece of code from google, same issue. i have no idea why it behaves like this and i'm now without solution regarding this issue. now i'm looking for a way to simulate that control's behav...
by Domtar
Tue Feb 11, 2020 10:57 am
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

you mean as a 64-bit v5 of PS?

i also think it's a system issue, i just have no idea how to fix it.
by Domtar
Tue Feb 11, 2020 7:41 am
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

here's the psf.
by Domtar
Tue Feb 11, 2020 7:26 am
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

as a test, I added these lines;

$datetimepicker1_DropDown={
$textbox1.Text = 'test'
}

when i click the drop-down arrow, i do see "test" written to the textbox, but instead of displaying the calendar as expected, the form closes.

someone has an idea what is going wrong?

thanks!
by Domtar
Tue Feb 11, 2020 6:55 am
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

yes that is eactly what i'm saying.

i did a small GUI just to test that control and that is the only code.
by Domtar
Tue Feb 11, 2020 6:06 am
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

Re: how to use DateTimePicker

there is virtually no code, so I doubt the bug is there. $form1_Load={ } $button1_Click={ $textbox1.Text = $datetimepicker1.Value } Clicking the button displays today's date in the textbox. But clicking the down arrow in the datetimepicker control, instead of displaying the calendar with the current...
by Domtar
Mon Feb 10, 2020 12:25 pm
Forum: PowerShell GUIs
Topic: how to use DateTimePicker
Replies: 15
Views: 353

how to use DateTimePicker

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: PS Studio 2020 5.7...
by Domtar
Tue Jul 09, 2019 10:44 am
Forum: PowerShell Studio
Topic: can't place control where I want in my GUI
Replies: 6
Views: 1486

Re: can't place control where I want in my GUI

restarted PS, issue is there.

rebooted, issue is there.

re-installed PS, issue is gone.

problem solved!

another glitch on the list on win 10 1903 issues.
by Domtar
Tue Jul 09, 2019 10:01 am
Forum: PowerShell Studio
Topic: can't place control where I want in my GUI
Replies: 6
Views: 1486

Re: can't place control where I want in my GUI

well, maybe my system is corrupted. I do have a few bugs since that update, like process explorer refusing to show on my screen for example.

I'll re-install my studio and see if the issue is back. I'll post something if not.

thanks for trying!