Tested on: PowerShell 2.0+, PowerShell Studio 2016 This step-by-step example shows you how to create a very simple multi-form PowerShell GUI app. The app consists of a parent form that gets data from a child form and displays it. When you finish, you’ll know how to use the basic multi-form features of PowerShell Studio. For […]
Tag: forms
How I learned to love DialogResult
This post discusses the DialogResult property of buttons, which often confuses beginning PowerShell GUI app designers. When I first started learning how to write PowerShell GUI applications, I thought of the DialogResult property of buttons as the “evil property.” What else would I think? If the DialogResult property of a button is set to any […]
PowerShellGet-GUI Part 2
Continuing on from where we left off in our last blog post entitled “PowerShellGet-GUI part 1″, let us examine some of the other features of the PowerShell Get GUI application. With our list successfully loaded with PowerShell Gallery modules, the user can take several actions: Select a module to inspect it’s properties Select a non-installed […]
PowerShellGet-GUI Part 1
Back in mid-September, I presented a talk on “Building PowerShell GUI Tool Solutions” at the PowerShell Conference Asia in Singapore. The talk centered around GUI application design and development using PowerShell as the core language. During that talk , I developed an application that used PowerShell’s PSGet module to communicate with the PowerShell Gallery. Finishing work […]
PowerShell Studio 2012 – WinForms – GUI ToolMaking
Francois-Xavier Cat over at the LazyWinAdmin blog, wrote a follow up article to Creating a GUI with PowerShell Studio. Like the previous article, a video is included: “Today I will go a bit further and show you how to create a tool to query some information from a remote computer. I will first send […]
Creating a GUI with PowerShell Studio
Francois-Xavier Cat over at the LazyWinAdmin blog, wrote a great article on how to create a basic GUI using PowerShell Studio 2012. In addition, the article includes a video of the process: “The following post will demo how to create a basic Graphical User Interface with SAPIEN PowerShell Studio 2012. Last year I released […]
PowerShell Studio 2012: Form Recovery
Over time we have had various users who needed to alter the form but lost the original pff file. These users only had an exported GUI script. Naturally they would ask us if they could recover the original form from the exported script. The only solution was to recreate the form by hand and manually […]
PrimalForms 2011: Validating the Form – Part 4
In Part 3 we discussed validating techniques. Now in the final part of this series we will discuss how to validate the form as a whole. How to Trigger Validation when the Form is Closing: If you have worked with validation in the past, you may have noticed that the unfocused controls do not trigger […]
PrimalForms 2011: Validating the Form – Part 3
In Part 2 we discussed how to validate a control. Now we will cover some techniques that can be utilize for validation. Validating Techniques: Regular Expressions: For more complex validation, such as validating an email address, you may need to rely on Regular Expressions. Regular expressions are useful because it allows you to match complex […]
PrimalForms 2011: Validating the Form – Part 2
In Part 1 we discussed the import events and properties that are needed for validation. Now we will discuss how to validate a control. How do I validate a control? As it turns out, validating controls depends on what type of control and the format of the data you wish to validate. Typically you will […]