Posts Tagged ‘forms’


 

PrimalForms 2011: Validating the Form – Part 1

Friday, September 2nd, 2011 by David Corrales
A good user interface will validate user input to ensure it is in the correct format. This may come in the form of simply checking if there is an entry for a field, such as a name or a more complex task such as validating an email address. Thankfully WinForms has built in mechanisms to help facilitate data validation. Each control has the following events and properties that are used to validate a form: Validation Events: Validating This event occurs when the control is validating. Validation on a control is triggered when the control loses focus. Use this event to…   More »

PrimalForms CE Updated to Correct Version (v1.0.10)

Tuesday, June 7th, 2011 by David Corrales
It seems we had an old version of PrimalForms Community Edition on our servers instead of the current version (v1.0.10) that was announced in this blog: PrimalForms CE Update. So if you downloaded PrimalForms CE and it doesn’t have a start page, then you are running an old version. Please download the latest version of PrimalForms CE here: http://www.sapien.com/downloads…   More »

Feature Peek 2011: PrimalForms – Form Templates

Monday, February 14th, 2011 by David Corrales
PrimalForms 2011 will ship with a number of predefined templates that will make things easier for you when creating a GUI for PowerShell. (Fig 1: When you create a new form, a list of templates will appear.)   We know some of you will want to create your own reusable templates, so we implemented  any easy way for you to convert your forms: (Fig 2: Create Form Template Menu Option) I want to the option to search the my exported database queries, but the default query form doesn’t support the functionality. So I start by creating a Form with the…   More »

Announcing: PrimalForms 2011 – The Dedicated PowerShell Editor

Tuesday, July 6th, 2010 by David Corrales
Today we are officially announcing PrimalForms 2011. Some of you may have noticed vague mentions of PrimalForms in our previous Feature Peek 2011 blogs without explanation. So what is PrimalForms 2011? PrimalForms 2011 is a dedicated PowerShell editor which will replace PrimalForms 2009. This isn’t just a simple name change, it’s an evolutionary change. PrimalForms 2011 builds upon PrimalForms 2009 and adds a plethora of new features and enhancements.   Features Include:     - Script Debugging    - Projects and Multi-Form Support    - Built in Console    - Snippets    - Database Browser    - WMI Browser    -…   More »

PrimalForms 2009: Exported Script Formatting

Monday, January 11th, 2010 by David Corrales
In order to start the planning stages of the next version of PrimalForms, we decided to conduct a review the current version. After gathering user feedback on the subject, we concluded that the script formatting needed a makeover to make it easier for the users to read the final script. In order to address user feedback prior to the release of the next version of PrimalForms, we decided to incorporate these changes in this month’s service build of PrimalForms 2009 (v1.1.4). The first step we took in the makeover was to define the script’s regions with clear comments and appropriately…   More »

PrimalForms 2009: New Packager STA Mode

Wednesday, November 18th, 2009 by David Corrales
Last month’s service build included a new addition to PrimalForms 2009’s packager: STA Mode (Single Thread Apartment), which allows you to perform operations that may have previously failed, such as accessing Window’s Clipboard. Some of you may have attempted to use the Clipboard in your forms only to encounter issues within PowerShell. For example, if you try to copy data from a DataGrid you will get the following error: This issue also comes up if you try to access the Clipboard directly from within Powershell: [System.Windows.Forms.Clipboard]::SetText("Paste this text to the clipboard") These issues arise because PowerShell runs in a MTA…   More »

Closing the Form: What you might expect and what really happens

Monday, October 19th, 2009 by David Corrales
Recently I was contacted by one of our PrimalForms users. He commented that the behavior of a script deviated from what he was expecting. He provided me with the following script block for the Button Click Event so that I could help clear up the confusion: $handler_button3_Click={ # Check that a logfile was specified. If not close the form. if ( $textbox2.text -eq "" ) { Write-host "No Logfile, closing" $form1.close() } # A logfile was specified Write-Host "I have the logfile" } As you can see, the user is testing to make sure that the the name of the…   More »

PrimalForms 2009: Integrated Help

Thursday, October 1st, 2009 by David Corrales
PrimalForms 2009 features integrated help to assist users with their form scripting. This blog covers some of its features. Help Documentation: (Fig 1: Click on the Help button or press F1 key to access the help documentation.) PrimalForms allows users to access help on any panel or window simply by pressing the F1 key. Depending on the active window, help will take the user to the corresponding Help topic. For example, if a user would like more information on the Assemblies Panel, the user simply have to click on the Assemblies Panel and press the F1 key. The Help document…   More »

PrimalForms 2009 goes beyond just a forms editor

Tuesday, September 1st, 2009 by David Corrales
We have a  major service release this month for PrimalForms 2009. It features significant additions that take PrimalForms beyond just a forms editor. This service release (v1.1.0) includes the following: General PowerShell Script Editor PrimalForms 2009 is no longer limited to forms scripts. You now can create and edit your ps1 PowerShell scripts directly, making PrimalForms 2009 your one stop tool for PowerShell Scripting. Not only can you edit ps1 scripts, but you can also utilize PrimalForms’ packager to convert your ps1 scripts into executables. Adds New Status Bar Version 1.1.0 also features other additions that make your user experience…   More »

Free PrimalForms tool for PowerShell released

Monday, November 3rd, 2008 by Alex Riedel
We are pleased to announce that the free GUI builder tool for PowerShell is now available for download. Head on over to http://www.primaltools.com/freetools to get it. (Registrations with a valid email address is required) The tool works with PowerShell V1 and the current V2 CTP. Our very own Jeffery Hicks created some samples that are included with the installer. If you have questions, comments or suggestions, please head over to the free tools section in our support forum.…   More »