Can I export a form created in Powershell studio to VS2015

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
This topic is 7 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
LM_CL_PR
Posts: 7
Last visit: Tue Jan 16, 2024 1:34 pm

Can I export a form created in Powershell studio to VS2015

Post by LM_CL_PR »

I am considering in purchasing Powershell Studio, but I would like to know and my question is, would I be able to create a form in Powershell Studio and export it to Visual Studio 2015 to add to my project?

Regards,
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Can I export a form created in Powershell studio to VS2015

Post by davidc »

The psf form file is a proprietary format that isn't supported by Visual Studio. PowerShell Studio does allow you to export the GUI form into a script that you can use and call elsewhere, but to edit the GUI, you will need to use the original psf file in PowerShell Studio.
David
SAPIEN Technologies, Inc.
User avatar
LM_CL_PR
Posts: 7
Last visit: Tue Jan 16, 2024 1:34 pm

Re: Can I export a form created in Powershell studio to VS2015

Post by LM_CL_PR »

I am not sure I understand:

If I created a form in PS Visual Studio with a CMD Button and a Gridview that for example runs a PS script and shows the results on a gridview control, would I be able to call it in a Command Button in VS2015 so that the user can view it and run it as part of the VS2015 application?

Regards,
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Can I export a form created in Powershell studio to VS2015

Post by davidc »

What are you trying to accomplish?

All I meant is that you can create a ps1 script file from a GUI in PowerShell Studio, that you can execute however you want outside of the IDE.

You will not be able to redesign the GUI using the exported script. If you are using C# or some other language, you will need to use PowerShell to run said script.
David
SAPIEN Technologies, Inc.
This topic is 7 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.