how to use DateTimePicker
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.
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.
i also think it's a system issue, i just have no idea how to fix it.
Re: how to use DateTimePicker
I tested with all threading models and PS versions and cannot reproduce the failure. Create the PS1 file and try outside of PSS. If the same thig happens then you have issues with some system component. You will have to take normal system troubleshooting and repair steps to find and fix the issue.
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 behavior with some other controls
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 behavior with some other controls
Re: how to use DateTimePicker
You need to fix your system. Something has damaged your Net Framework or the underlying API that DTP uses. This can be caused by disk corruption, by installing bad software or by malware.
There is no replacement in WinForms for the DTP control. It is also used all over Windows apps.
There is no replacement in WinForms for the DTP control. It is also used all over Windows apps.
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!
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!