29 questions
1
vote
0
answers
31
views
Candlestick bodies are limited to Zero?
$csv= Import-Csv -Path "path\Collected.csv" | sort InstanceMarket
$high = $csv.'Maximum Runup'
$low = $csv.'Maximum Drawdown'
$open = "0"
$close = $csv.'...
0
votes
0
answers
74
views
Windows form chart series formatting
Im trying to color the bars weather or not the 'Daily Profit/Loss' value is above Zero or below. I Feel my problem lies in the foreach statement, but can't quite pinpoint.
Any help is appreciated. ...
0
votes
2
answers
947
views
How to set radius for textbox and button in PowerShell studio?
I'm doing a simple project in PowerShell studio. I want my textbox and button in round shapes, how do I do that in both programmatically or using the properties window
2
votes
1
answer
686
views
Disabled button still triggers Click event
I'm tring to prevent users to rapidly spam-click a button, which would freeze the app possibly for minutes while the code is being executed many times.
$searchBtn_clicked = {
$searchBtn.Enabled = ...
0
votes
0
answers
105
views
PowerShell Studio dynamic checkbox naming issue
giving the following PowerShell Studio Code, how can I call and disable the 'David Checkbox' under the 'Checkit' button. I know I am messing up on the checkbox declaration somehow because powershell ...
0
votes
0
answers
236
views
SAPIEN PowerShell Studio: Issue with New-Object Checkbox regarding Name Assignation
I am fairly new with PowerShell New-Object System.Windows.Forms.CheckBox feature.
What I would like to achieve is to create a form with different a dynamic object ( textbox,checkbox,label) The ...
2
votes
0
answers
113
views
In can't use my variable in a powershell command for a GUI in Powershell Studio
i'm a bit noobie in powershell and i'm trying to build a simple user interface in Powershell Studio 2018 to search for a list of user named like in an active direction.
Out of the Powershell Studio it ...
1
vote
0
answers
169
views
Why is closing one form exiting the entire application?
I'm creating a multi-form project in PowerShell Studio, with a splash screen form and a main form. However, closing the splash screen form is exiting the entire application. The project is structured ...
0
votes
1
answer
37
views
If condition is driving me crazy
Please I need help... two identical strings are not returning $True when checking on IF logical statement.
The images illustrates perfectly my frustration. I'm starting with GUIs don't be cruel ...
0
votes
2
answers
329
views
Populate Checkedlistbox with Servers
I am trying to populate a list with the servers in my domain, and i have partial success. There are 5 items in my list, which is as many servers as i have.
Unfortunately they are all just called [...
0
votes
1
answer
955
views
Powershell (studio) - AutoComplete dropdown value clicks a button?
I'm building a GUI for a powershell script. It's a form built in Powershell studio.
I have this code which works well:
(Get-Content ".\historique.txt") | ? { $_.trim() -ne "" } | ...
1
vote
1
answer
424
views
PowerShell Studio WebBrowser ProgressBarOverlay
I'm creating a web browser in PowerShell Studio, which works with no issues. I'm trying to use a loading bar when using the search functionality, but it has been to no avail. Below is what my browser ...
0
votes
0
answers
515
views
How to assign values to checkboxes in CheckedListBox in Powershell studio
I have a CheckedListBox in my GUI that displays each one of the roles I need to present to the user, as pictured below:
Each one of these roles is tied to specific number in the database, as pictured ...
1
vote
1
answer
493
views
Find and replace in XML file with powershell
Right now I am generating an XML file with a GUI using PowerShell Studio 2017. This snippet of code gathers the checked items inside a CheckedListBox:
$Groups = $chklistGroups.CheckedItems | ForEach-...
1
vote
1
answer
132
views
Auto-generated XML code in powershell
Right now I am using a button to generate unique XML code for every user it creates. Right now my XML looks like this:
<NewUser>
<ActiveDirectory>
<User>
<...