Search found 31 matches

by zeograz
Wed Oct 09, 2019 5:13 am
Forum: PowerShell Studio
Topic: Psf Out-Gridview -Passthru | Restart-Service produces error
Replies: 7
Views: 822

Re: Psf Out-Gridview -Passthru | Restart-Service produces error

Is anyone else able to duplicate/refute the error in this version?
Thanks
by zeograz
Mon Oct 07, 2019 1:10 pm
Forum: PowerShell Studio
Topic: Psf Out-Gridview -Passthru | Restart-Service produces error
Replies: 7
Views: 822

Re: Psf Out-Gridview -Passthru | Restart-Service produces error

Already tried, using that toggle switch (unfortunately get same error). Also, simply just running the command in console window of Powershell Studio results in same error, just so you're aware. Execution Policy verified as unrestricted in the Powershell Studio console window. However, strangely even...
by zeograz
Mon Oct 07, 2019 7:42 am
Forum: PowerShell Studio
Topic: Psf Out-Gridview -Passthru | Restart-Service produces error
Replies: 7
Views: 822

Psf Out-Gridview -Passthru | Restart-Service produces error

Product, version and build: Powershell Studio 5.6.167.0 32 or 64 bit version of product: 64-Bit Operating system: Win 10 Ver 1809 64 bit OS: 64-Bit $buttonRUN_Click={ (Get-Service | where { $_.Status -eq 'Running' }) | sort | Out-GridView -outputmode Single -Title "Restart Service" | Restart-Service...
by zeograz
Thu Jul 25, 2019 8:43 am
Forum: PowerShell GUIs
Topic: TabControl Need OnClick event
Replies: 4
Views: 625

Re: TabControl Need OnClick event

Thanks very much Jvierra, I will investigate further then.

Regards,
Mark
by zeograz
Thu Jul 25, 2019 7:33 am
Forum: PowerShell GUIs
Topic: TabControl Need OnClick event
Replies: 4
Views: 625

Re: TabControl Need OnClick event

Hi Jvierra and thanks for your swift reply.. The datagrids I was trying to load the data upon clicking the tabcontrol tab itself, however that was not working because there does not seem to be any click event handler for the tab click, only for the tab page click. That's the problem.. If I load the ...
by zeograz
Thu Jul 25, 2019 5:14 am
Forum: PowerShell GUIs
Topic: TabControl Need OnClick event
Replies: 4
Views: 625

TabControl Need OnClick event

Hello, I have a form with Tabcontrol and 5 tabs. In each of the tabs I have a separate DataGridview control with different data displayed on each. I need to be able to click on a different tab in the gui, and have the data displayed. Right now only if you click on the tab *page* [area] does the data...
by zeograz
Mon Jun 22, 2015 3:38 pm
Forum: PowerShell GUIs
Topic: Chart displays unexpected bars
Replies: 25
Views: 5015

Re: Chart displays unexpected bars

The Issue is resolved. I had to Set the Axis Interval within the Load-Chart Function itself. If it's before Load-Chart was called the interval was getting ignored because the chart area wasn't created yet by the function. AxisIntervalMustBeSetinLoadChartFunc.JPG IssueResolved.JPG Thanks for all the ...
by zeograz
Mon Jun 22, 2015 2:50 pm
Forum: PowerShell GUIs
Topic: Chart displays unexpected bars
Replies: 25
Views: 5015

Re: Chart displays unexpected bars

$realPortsArr = @("Server 1 Port 3", "Server 1 Port 6", "Server Front Port", "Server Back Port", "Server Mirror Port", "Server 1 Port 4", "Server 1 Port 8", "Server Front3 Port", "Server Back2 Port", "Server Mirror1 Port") $realPortsVals = @(17.53, 17.53, 9.48, 5.75, 0.00, 0.00, 17.53, 17.53, 8.91, ...
by zeograz
Mon Jun 22, 2015 1:05 pm
Forum: PowerShell GUIs
Topic: Chart displays unexpected bars
Replies: 25
Views: 5015

Re: Chart displays unexpected bars

[Corrected array name in first section below to $realPortsArr, instead of $realPortsArray which wasn't matching my "try" cases] First, just for reference this is what I'm testing with now: ========================================================== $realPortsArr = @("Server 1 Port 3", "Server 1 Port ...
by zeograz
Mon Jun 22, 2015 10:28 am
Forum: PowerShell GUIs
Topic: Chart displays unexpected bars
Replies: 25
Views: 5015

Re: Chart displays unexpected bars

You do not look at the image I just posted with 14 different text labels. Just add that one line and it works as you need. I ran it wiith those exact labels and they all display. First, just for reference this is what I'm testing with now: ========================================================== ...