Search found 55 matches

by ClipperXTP
Thu Jun 18, 2020 10:58 pm
Forum: PowerShell GUIs
Topic: Managing Fonts with Dark Theme Enabled
Replies: 3
Views: 1881

Re: Managing Fonts with Dark Theme Enabled

Thanks for your suggestion but this is dynamic behavior.

The Groupbox is fine when it is enabled.

When the radial button sets $Groupbox1.enabled = $false so as to grey out its checkboxes etc, this is when the Groupbox title becomes unreadable.
by ClipperXTP
Thu Jun 18, 2020 1:49 am
Forum: PowerShell GUIs
Topic: Managing Fonts with Dark Theme Enabled
Replies: 3
Views: 1881

Managing Fonts with Dark Theme Enabled

Hi I have a GUI with radial buttons which enable / disable Groupbox depending on which option is chosen. I have attached a JPG with a portion of the GUI displayed. You will see the Groupbox text circled is displaying almost black on black when the groupbox has been disabled by the choice of radio bu...
by ClipperXTP
Fri Jun 12, 2020 2:39 am
Forum: PowerShell
Topic: New-WebServiceProxy Not Responding and hanging my script
Replies: 4
Views: 2809

Re: New-WebServiceProxy Not Responding and hanging my script

Ah OK, gotcha sorry I misread your email.

Yes, test-connection isn't really an option as other services work fine on server when this one is not responding.

Thanks for taking the time to look at it
by ClipperXTP
Thu Jun 11, 2020 10:42 pm
Forum: PowerShell
Topic: New-WebServiceProxy Not Responding and hanging my script
Replies: 4
Views: 2809

Re: New-WebServiceProxy Not Responding and hanging my script

Many thanks for the reply Test-Connection doesn't help me if it times out after two mins. My powershell job times out after 15 seconds when the server is unresponsive. The job takes about 8 seconds when the server is its normal responsive self. Note, the server works fine most days, maybe once every...
by ClipperXTP
Thu Jun 11, 2020 7:58 am
Forum: PowerShell
Topic: New-WebServiceProxy Not Responding and hanging my script
Replies: 4
Views: 2809

New-WebServiceProxy Not Responding and hanging my script

Hi Guys I am retrieving a table from a web server and using it to update a DataGridView in my GUI. Occasionally, the web server becomes unresponsive and my script just hangs - the PowerShell Studio GUI just goes 'Not Responding' I have tried putting the two lines of code in a try / catch block but t...
by ClipperXTP
Fri May 29, 2020 3:36 am
Forum: PowerShell GUIs
Topic: Richtextbox Control
Replies: 1
Views: 1101

Richtextbox Control

Hi I have an issue whereby I have a Powershell Studio tool with limited real estate. I have 15 richtextboxes, all uniform size to look nice, which display results of queries. This is fine when the result isnt too long. It gets a bit ugly when say the result is say 10 - 15 characters too long for ric...
by ClipperXTP
Thu May 28, 2020 10:54 pm
Forum: PowerShell GUIs
Topic: Change Tab Focus by Mouse Double Click Event
Replies: 12
Views: 3271

Re: Change Tab Focus by Mouse Double Click Event

Thanks very much, I got what I needed from that article with .SelectedTab

$tabcontrol1.SelectedTab = $tabpageProcess
by ClipperXTP
Thu May 28, 2020 6:20 am
Forum: PowerShell GUIs
Topic: Change Tab Focus by Mouse Double Click Event
Replies: 12
Views: 3271

Re: Change Tab Focus by Mouse Double Click Event

Just to clarify, can I select the tab with code or do I need to physically select the tab with the mouse?
thanks
by ClipperXTP
Thu May 28, 2020 6:18 am
Forum: PowerShell GUIs
Topic: Datagridview and System.Data.DataTable
Replies: 7
Views: 2720

Re: Datagridview and System.Data.DataTable

Sorry, first bit should have read:

[system.collections.arraylist]$data = $assignments

PS C:\Users\ab> $data | gm


TypeName: System.Data.DataTable
by ClipperXTP
Thu May 28, 2020 6:13 am
Forum: PowerShell GUIs
Topic: Datagridview and System.Data.DataTable
Replies: 7
Views: 2720

Re: Datagridview and System.Data.DataTable

Thanks for that. However it is still showing as a datatable and I cannot select from it: [system.collections.arraylist]$data = $Assignments PS C:\Users\ab> $assignments | gm Cannot convert value "@{PackageID=}" to type "System.Collections.ArrayList". Error: "Cannot convert t...