Search found 13 matches

by JProvencher
Thu Nov 04, 2021 5:00 am
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

Re: GUI is painfully slow

Thanks. I've downloaded the book and just need to find time to go through it. You started coding in '64? I was born in '64. Neither of us are young, and I think I definitely learn a little differently than when I started out, in the US Navy back in '83. I've always used scripting of some type, even ...
by JProvencher
Wed Nov 03, 2021 12:05 pm
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

Re: GUI is painfully slow

Thank you for your condescension. I've been coding in PowerShell for a few years now but have never worked with GUIs.

Alex had said that moving it outside the event handler would help.

Your curt reply was very much less than helpful.
by JProvencher
Wed Nov 03, 2021 5:50 am
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

Re: GUI is painfully slow

One last? question. The code that "does the work", is moved out of the event block. Does it matter at all if it is in a function under Mainform.prf or Globals.ps1?
by JProvencher
Tue Nov 02, 2021 10:56 am
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

Re: GUI is painfully slow

Thank you. As soon as I have some time, I will split everything out to another function/script.

How is progress shown for things happening in a CLI scipt?
by JProvencher
Thu Oct 28, 2021 7:18 am
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

Re: GUI is painfully slow

Well, that is a lot. I'm not a programmer, per se, and have only done console scripting until now. This actually started from a script/module that someone else wrote. Looking at it, sometimes I wonder why he did things the way he did - there may be more efficient means. I don't know if any of it was...
by JProvencher
Wed Oct 27, 2021 11:11 am
Forum: PowerShell GUIs
Topic: GUI is painfully slow
Replies: 16
Views: 3215

GUI is painfully slow

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 JProvencher
Thu Sep 16, 2021 8:04 am
Forum: PowerShell
Topic: ComboBox input to DataGridView
Replies: 5
Views: 4545

Re: ComboBox input to DataGridView

I've made some progress. Part of the trick was to bundle it to an OnClick event. Right now, I have a combobox that gets populated with AD group names where AdminCount -eq 1. Once I click the button, a textbox shows the distinguished name of the selected group. Below that, I have a DGV to show the di...
by JProvencher
Wed Sep 15, 2021 7:48 am
Forum: PowerShell
Topic: ComboBox input to DataGridView
Replies: 5
Views: 4545

Re: ComboBox input to DataGridView

It seems to me that getting the group name from the combobox to the Get-ADGroup cmdlet isn't working. I looked at the post here: https://www.sapien.com/forums/viewtopic.php?p=63473#p63473 and the code there worked, just changed datagridview6 to datagridview1: $Global:coll = (Get-ADUser -filter * -Pr...
by JProvencher
Tue Sep 14, 2021 12:12 pm
Forum: PowerShell
Topic: ComboBox input to DataGridView
Replies: 5
Views: 4545

ComboBox input to DataGridView

Currently using PowerShell Studio 2021, if it at all matters. I've used it for coding but this is my first leap into GUI development. What I'm doing now is not more than a "How Do I" exercise. I have a combobox which I'm able to populate with AD groups, where AdminCount = 1. What I'm tryin...
by JProvencher
Wed Dec 04, 2019 4:33 pm
Forum: Former and Future Customers - Questions
Topic: Closing split windows
Replies: 7
Views: 23241

Re: Closing split windows

Capture.PNG I assumed you referred to the space between the windows as "the splitter" in your earlier reply. As you can see, my window is split vertically. I'm wondering how to split horizontally. I haven't been able to find how. Even the button you click to split the windows has a horizo...