Search found 69 matches

by angelofstealth
Thu May 06, 2021 8:08 am
Forum: PowerShell GUIs
Topic: module Az.Accounts supported in a GUI/Windows.Forms?
Replies: 3
Views: 1721

Re: module Az.Accounts supported in a GUI/Windows.Forms?

Thanks jvierra, will give that a shot. Appreciate the response, cheers
by angelofstealth
Wed May 05, 2021 9:17 pm
Forum: PowerShell GUIs
Topic: module Az.Accounts supported in a GUI/Windows.Forms?
Replies: 3
Views: 1721

module Az.Accounts supported in a GUI/Windows.Forms?

Is using module Az.Accounts supported in a GUI/Windows.Forms? Seeing a bunch of articles in regards to Connect-AzAccount; Looking for clarification if this is even supported. Works fine in console/command line. Importing the module just hangs the GUI, any other module works fine. Version of PS 5.1, ...
by angelofstealth
Mon Mar 11, 2019 6:01 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

I agree, I have tested with your example and it does not freeze the GUI. But it does not give any indication of nodes having nodes/childnodes under them. The only way you can know is by clicking on the OU/childnode. When you have a very large Active Directory environment with cascading OU's that bec...
by angelofstealth
Mon Mar 11, 2019 1:05 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

I see it now, i am pre-creating it in the Add-Node function.
by angelofstealth
Mon Mar 11, 2019 12:29 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

The point of using the job is so the GUI does not freeze(not responding) during a lookup that is taking a long time to return due to too many objects being returned. In regards to the issue, if you comment out the clear in the else statement in CompletedScript you will see the default object get cre...
by angelofstealth
Mon Mar 11, 2019 12:01 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

Looks like I got most of it working with a job, only issue seems when loading the treeview. When I click the node it loads the default imageindex[0] with a blank name. I clear this if the objects returns are zero from the job. Wondering if there is a way to stop the treeview from display the progres...
by angelofstealth
Fri Mar 08, 2019 1:50 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

Understand, appreciate explaining/attaching the link. I like this method of loading the nodes as it is fast and doesn't hang the GUI. Reading/referencing the following link below with Dan potter example the GUI will hang if the OU has a lot of objects (organization units / containers ). I like the c...
by angelofstealth
Thu Mar 07, 2019 1:23 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

For the childnodes loaded after the click, these childnodes that have childnodes don't show having plus/minus. Only after clicking the childnodes will the next childnodes show is the point i am trying to make. Instead of clicking the parent node, load childnodes and display childnodes that have chil...
by angelofstealth
Thu Mar 07, 2019 12:56 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

I agree it should be added automatically, i stated that in my first message.

In your attached psf, if I change the form property showplusminus from false (what is was) to true and run the code. It does not show a plus symbol on my end for C:\.
by angelofstealth
Thu Mar 07, 2019 12:28 pm
Forum: PowerShell GUIs
Topic: Treeview - Node - Property (Plus/Minus)
Replies: 18
Views: 3916

Re: Treeview - Node - Property (Plus/Minus)

I think i am going to adjust the way i load in the values with the node mouse click. Appreciate the help , should be good from here.