Archive for the ‘PowerShell Studio 2012’ Category


PowerShell Studio – Passing and Returning Values using Forms

Tuesday, October 1st, 2013 by David Corrales
Two frequent questions we get on the forums are: How do I pass a value to another form? How do I get the results from a form? In this article, we will answer these common questions in order to give you a better understanding about how to use projects with multiple forms.   Getting Started You will need to create a project with multiple forms in order to proceed. The Multi-Form Project template is a good starting point. At the end of this article there is a link to download a sample project that demonstrates how to use these techniques.…   More »

Service Release (9/23/2013)

Monday, September 23rd, 2013 by David Corrales
Release Notes: PrimalScript 2012 v 6.5.150: FIX: PrimalSense for local powershell function displays parameters for another cmdletFIX: UTF-8 files without BOM not recognizedFIX: Parameter names not recognized/display incorrectly in some powershell scriptsFIX: Ribbon drawing problem when choosing from MRU list while ribbon is minimizedFIX: Problem inserting Winbatch snippets with comments   PowerShell Studio 2012 v3.1.24: FIX: Function parsing issue with commentsUPD: Renamed Convert-ToDataTable snippet function to ConvertTo-DataTableUPD: Improved the performance of ConvertTo-DataTable. Now returns a value.UPD: Grid Search and Grid Form templatesUPD: Improved file loading speedsUPD: Removed delay in loading help for cmdletsUPD: Button - Run Job Control Set.…   More »

Get Much More For Much Less!

Friday, September 6th, 2013 by Robert Morey
Upgrade PrimalScript 2011/12 or PrimalForms 2011/PowerShell Studio 2012 to the SAPIEN Software Suite 2012 for 30% Off! If you already own PrimalScript 2012 or PowerShell Studio 2012, you already know how important it is to your work. Easy to use, comprehensive, adaptable, helpful, time-saving… you might wonder how you ever lived without it. Now is your chance to add the rest of the SAPIEN collection to your software portfolio as well as 5 ebooks and 2 video training sets. Yes, you CAN have it all! You receive: - PrimalScript 2012 or PowerShell Studio 2012 - PrimalSQL 2012 - PrimalXML 2012…   More »

New Control Set: TextBox – Watermark

Wednesday, August 14th, 2013 by David Corrales
Recently in the forums we had a request on how to create a textbox with a watermark. What is a textbox with a watermark you ask? It is a textbox that displays hint information within the textbox using a lighter color. For example, a textbox that accepts a username, may have a watermark as follows: Once a user types in the textbox, the watermark goes away. Typically a C# developer would create this control by creating a new class that inherits the original textbox control. Next they would override some paint events and add custom members to keep track of…   More »

Service Release (8/12/2013)

Monday, August 12th, 2013 by David Corrales
Release Notes: PrimalScript 2012 v 6.5.149: ADD: Support for PowerShell v4UPD: Other minor changes and fixes   PowerShell Studio 2012 v3.1.22: ADD: Support for PowerShell v4ADD: TextBox - Watermark control setFIX: Incorrect shortcut key for Create Region in the editor’s context menuUPD: ProgressBarOverlap will now refresh when the text is changedUPD: Other minor changes and fixes…   More »

5-Pack Frenzy!

Thursday, August 8th, 2013 by Robert Morey
We receive requests all the time for discounts on sets of 5 licenses... and we heard you!  During the month of August, you can purchase 5-packs for an unheard of 30% off! 5 licenses of PrimalScript 2012 cost $1,745 but, this month, you pay only $1,221.50 (a savings of $523.50) likewise, 5 licenses of PowerShell Studio 2012 would cost you just $1,221.50 (a savings of $523.50) the SAPIEN Software Suite 2012 5-pack retails for $3,495 but, this month, is just $2,446.50 (a savings of $1,048.50) This is the perfect time to share our great tools with your team and also…   More »

Service Release (6/24/2013)

Monday, June 24th, 2013 by David Corrales
Release Notes: PrimalScript 2012 v 6.5.147: UPD: Minor bug fixes and enhancements   PowerShell Studio 2012 v3.1.20 FIX: Issue with TableLayout controlFIX: Breakpoint at first line getting skippedFIX: Popup for File BrowserUPD: Multi-Form Project TemplateUPD: Minor bug fixes and enhancements   PrimalSQL 2012 v3.0.10 FIX: PrimalSense IssueUPD: Minor bug fixes and enhancements   PrimalXML 2012 v3.0.11UPD: Minor bug fixes and enhancements   ChangeVue v2.1.57 UPD: Minor bug fixes and enhancements…   More »

Spotlight on Controls: The Versatile Tag Property

Thursday, May 23rd, 2013 by David Corrales
You may not be aware that each WinForm Control has a Tag property which can be very useful in certain circumstances. Why use the Tag Property? Use the Tag property when you need to associate an object or store state information to a particular control. This ability to assign any object to the property, be it a control, value, psobject or scriptblock, is what makes the property so versatile. Below are examples demonstrating how the Tag property can be used in GUI scripts.   Example 1: The Tic Tac Plebius PowerShell game is a good example of how the Tag…   More »

But it works on my machine…

Thursday, May 16th, 2013 by Alex Riedel
We have all heard that phrase. We have all faced that scenario. A script runs perfectly fine on your machine or any VM you have, but just refuses to do anything useful on that one server where it really matters. Error messages can be notoriously unhelpful. “Access denied”, yes, but to WHAT and WHY? And everyone’s favorite “Unknown error” makes for a very frustrating day at the office. If you have physical or remote desktop access to that server it’s pretty easy, just use whatever debugger you have, install it on that machine and see what happens. Or, in case…   More »

Service Release (5/15/2013)

Wednesday, May 15th, 2013 by David Corrales
New versions of our SAPIEN Software are available. Registered users can download the latest service builds from MySAPIEN. Release Notes: PrimalScript 2012 v 6.5.145: ADD: Compare file button to the document tab context menuFIX: Packager $Commandline variable adding backticks to the double quotesFIX: Other minor fixes and enhancements   PowerShell Studio 2012 v3.1.19 FIX: Issue where & was converted to underscore in Watch and Variable PanelFIX: Tab title issue with &FIX: Debugging formatting issue when hover mouse over variableFIX: Issue with Charts & PowerShell V2 when the .NET 4.0 version was installedFIX: Packager $Commandline variable adding backticks to the double…   More »