Pop up html page

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 5 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.
Locked
User avatar
Rackhat
Posts: 2
Last visit: Fri Oct 21, 2016 12:44 pm

Pop up html page

Post by Rackhat »

Hi,

I am evaluating PowerShell Studio 2016 for my company and had a question. I created a new GUI form in the designer, an html style sheet, converted the document to HTML via ConvertTo-HTML and mapped a clickable button. In PS ISE the script works great, but it is not working in PowerShell Studio 2016. I was wondering if it is possible to be able click on a button in the GUI and have my output come up automatically by opening a new html webpage. If so, how do I do this?

Thanks
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Pop up html page

Post by jvierra »

Just call the page:

Start-Process 'http://google.com'
User avatar
Rackhat
Posts: 2
Last visit: Fri Oct 21, 2016 12:44 pm

Re: Pop up html page

Post by Rackhat »

Thanks!
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Pop up html page

Post by jvierra »

You are welcome. Good luck.
This topic is 7 years and 5 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.
Locked