Hello,
This is a little embarrassing , but it is something I am confused about.
Inside the PSS forms what types of programming languages / Code can be used?
I know powershell can be used because that is what I am mostly currently using, but I also know there is the Windows Forms Assemblies that are used? Window.Text , etc...
but is there .NET , VBscript and other languages that are allowed?
Some clarification would greatly help.
What languages or code can be used in Powershell Studio Forms?
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- shiroscout
- Posts: 41
- Last visit: Sat Jul 15, 2023 7:13 pm
Re: What languages or code can be used in Powershell Studio Forms?
PowerShell Studio uses PowerShell exclusively when working with the Forms / GUI designer. Since PowerShell is built upon the .NET framework, you can easily tap into the .NET assemblies to expand PowerShell's functionality.
In regards to VBScript and C#:
PowerShell Studio does provide syntax coloring for VBScript files and C# files but doesn't run or compile those file types. PrimalScript on the other hand, does support VBScript debugging and C# as well.
In regards to VBScript and C#:
PowerShell Studio does provide syntax coloring for VBScript files and C# files but doesn't run or compile those file types. PrimalScript on the other hand, does support VBScript debugging and C# as well.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- shiroscout
- Posts: 41
- Last visit: Sat Jul 15, 2023 7:13 pm
Re: What languages or code can be used in Powershell Studio Forms?
David,
Thank you for your gentle answers. I noticed on other users posts you are very informative and helpful.
Thank you for clarifying as I would see the .net assemblies, "System.Windows.Forms" portions of code and I was / am confused what it is doing.
Also, not sure if this is limited to WPF, and not usable in PSS but I would see top lines of code that were load, load partial assemblies and I was not sure what these meant either.
I'm trying to read and learn.
Thank you for your gentle answers. I noticed on other users posts you are very informative and helpful.
Thank you for clarifying as I would see the .net assemblies, "System.Windows.Forms" portions of code and I was / am confused what it is doing.
Also, not sure if this is limited to WPF, and not usable in PSS but I would see top lines of code that were load, load partial assemblies and I was not sure what these meant either.
I'm trying to read and learn.
Thank You,
Wayne
Wayne
Re: What languages or code can be used in Powershell Studio Forms?
Yes, those lines are .NET code to ensure you can use the UI libraries. By default, these are not loaded into PowerShell.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.