Search found 12 matches

by JaimeBou
Fri Jun 21, 2019 9:56 am
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

Re: TreeView Node Selection

I am still learning PSS. I am trying to get there. I do have another question. I ran the debugger on your demo app and noticed that when I run the debugger on my app that the "System.Windows.Forms.TreeNodeMouseClickEventHandler" does not seem to trigger. I added a Write-Host "EventHander Triggered."...
by JaimeBou
Fri Jun 21, 2019 6:19 am
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

Re: TreeView Node Selection

I will review the documentation.

But I wanted to answer your question.

The code that I am working on was never started in PSS or coded in Designer.

Thanks.
by JaimeBou
Fri Jun 21, 2019 5:07 am
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

Re: TreeView Node Selection

I figured out in the demo code that this code provides the functionality that I am seeking: $treeview1.add_NodeMouseClick($treeview1_NodeMouseClick) What else besides the TreeNodeMouseClickEventHandler do I need? I added both parts but my checkboxes still do not check when selecting the node text.
by JaimeBou
Thu Jun 20, 2019 1:11 pm
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

Re: TreeView Node Selection

I took a look at your demo file and noticed something that would be helpful to me. When the node text is selected, the checkbox is ALSO selected. My code does not do that. I could not confirm what code in the demo provides this functionality?
by JaimeBou
Thu Jun 20, 2019 11:10 am
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

Re: TreeView Node Selection

Thank you. I will review the demo file.
by JaimeBou
Thu Jun 20, 2019 4:57 am
Forum: Windows PowerShell
Topic: TreeView Node Selection
Replies: 10
Views: 1375

TreeView Node Selection

I am new to the Treeview and for the most part, I have it working well. I am using checkboxes in my situation and wanted to know if there is a way to make the node text NOT selectable?

I want to force the user to only have the checkboxes as an option.
by JaimeBou
Tue Feb 12, 2019 7:22 am
Forum: Windows PowerShell
Topic: Redirecting Start-Service output from a remote session
Replies: 2
Views: 524

Redirecting Start-Service output from a remote session

I have a routine that starts a service on a remote server: Invoke-command -Session $ession -ScriptBlock { Start-Service -InputObject $args[0] } -ArgumentList $svc.Name The routine works fine. I wanted to explore redirecting the messages that I see in the OUTPUT tab/console to a text box to give the ...
by JaimeBou
Thu Jan 31, 2019 8:25 am
Forum: PowerShell Studio
Topic: Error: Unsupported file encoding (Unicode Big Endian)
Replies: 2
Views: 649

Re: Error: Unsupported file encoding (Unicode Big Endian)

Thank you sir! I appreciate your help!
by JaimeBou
Thu Jan 31, 2019 6:57 am
Forum: PowerShell Studio
Topic: Error: Unsupported file encoding (Unicode Big Endian)
Replies: 2
Views: 649

Error: Unsupported file encoding (Unicode Big Endian)

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:5.6.157 32 or 64 bi...