Support Forums

Search found 10354 matches

by jvierra
Tue Feb 21, 2017 12:19 pm
Forum: PowerShell GUIs
Topic: React to System Hotkey
Replies: 10
Views: 85

Re: React to System Hotkey

You have to attach the snippet t the form's keydown event.
by jvierra
Tue Feb 21, 2017 9:52 am
Forum: PowerShell GUIs
Topic: locking winform
Replies: 4
Views: 48

Re: locking winform

David's links are a very good place to start but, be warned, the graphics settings can make all of this impossible. Check your graphics first then follow the articles for background on how to make a form resize well. If you want all controls to resize with the form then you have to be sure to use co...
by jvierra
Tue Feb 21, 2017 9:38 am
Forum: PowerShell GUIs
Topic: locking winform
Replies: 4
Views: 48

Re: locking winform

If you form is created with incorrect docking or anchor or the form is too large for the screen then it will not resize correctly. Be sure your monitor is set to correct settings for Windows and that you have not altered the 96"dpi or are not using an unsupported graphics card or driver. Start ...
by jvierra
Mon Feb 20, 2017 3:11 pm
Forum: Windows PowerShell
Topic: Elevate/De-elevate
Replies: 6
Views: 132

Re: Elevate/De-elevate

It is not possible in Windows to run a process as two different users. YOU could use a standard process to start a scheduled job and retrieve the data from the job for printing. $opt = New-ScheduledJobOption -RunElevated $job = Register-ScheduledJob -Credentialuserid -RunNow -ScriptBlock {....} -Sch...
by jvierra
Mon Feb 20, 2017 10:32 am
Forum: Windows PowerShell
Topic: How to redirect ouput from a packaged script running from Task Scheduler?
Replies: 1
Views: 69

Re: How to redirect ouput from a packaged script running from Task Scheduler?

Your issue sounds more like a question about how to use the task scheduler.

If your exe can log like this then it will work in the task scheduler.

myprg.exe > c:\temp\myprog.log
by jvierra
Mon Feb 20, 2017 7:35 am
Forum: PowerShell GUIs
Topic: Event not triggered
Replies: 4
Views: 55

Re: Event not triggered

jvierra wrote:It is hard to understand what you are trying to do. If you fille the textbox the text changed event will fre and the code will execute. There should be no need to call anything.


You do not need to zip files. Just upload the PSF file and it can be opened directly from the browser.
by jvierra
Mon Feb 20, 2017 7:34 am
Forum: PowerShell GUIs
Topic: Event not triggered
Replies: 4
Views: 55

Re: Event not triggered

It is hard to understand what you are trying to do. If you fille the textbox the text changed event will fre and the code will execute. There should be no need to call anything.
by jvierra
Mon Feb 20, 2017 7:29 am
Forum: PowerShell GUIs
Topic: Datagrid item selection + "loading" while executing
Replies: 26
Views: 571

Re: Datagrid item selection + "loading" while executing

Corrupt PSF file? How could I discover if that is the case? There are quite some events on the form, but they are all in the rightmouse button, whereas the leftclick is only on $datagridviewComputer_CellContentClick I have this issue from day one I created this project (almost a year ago). I'd be s...
by jvierra
Fri Feb 17, 2017 10:28 am
Forum: PowerShell GUIs
Topic: Datagrid item selection + "loading" while executing
Replies: 26
Views: 571

Re: Datagrid item selection + "loading" while executing

Sounds like either a corrupt PSF file or some piece of code that is causing the focus to change before the event occurs. What other events are you handling on the grid and on the form.
by jvierra
Fri Feb 17, 2017 10:25 am
Forum: PowerShell Studio
Topic: 2017 version packager
Replies: 3
Views: 157

Re: 2017 version packager

I am going to move this to the Product Support forum. They will be able to assist you with product issues.

Go to advanced search