Search found 28 matches

by hrlarsen
Sat Jul 28, 2018 9:58 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Okay I have found a Way in Powershell. But I have at problem getting Button in front off $webbrowser1 ---------------------------------------------------------------- #webbrowser1 $webbrowser1.Location = '30, 13' $webbrowser1.Margin = '4, 4, 4, 4' $webbrowser1.MinimumSize = '20, 20' $webbrowser1.Nam...
by hrlarsen
Thu Jul 26, 2018 9:46 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Great that help whit css now. Then I have the issue whit Links. My Default browser is Chrome in Windows 10. Will unly open in Internet Explorer <a href="https://www.Google.com" target="_blank" title="message">Visit Google.com</a> [/b] -----------------------------------------------------------------...
by hrlarsen
Thu Jul 26, 2018 6:40 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Okay thanks
I have found a solution for color part a test:
<body style="background-color:red;">
I do have a 1-2 second delay, for some strange reason.
Where the box is
"white"
before it takes the red color.
by hrlarsen
Thu Jul 26, 2018 5:45 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Thanks jvierra. That was a big help. I have some problems now. 1. How do I change the background color off $webbrowser1? 2. How do I insert 1 button center screen in the box when clicked open in normal PC browser. 3. How do I Insert 1 text link open in normal PC browser. <a href="https://www.google....
by hrlarsen
Thu Jul 26, 2018 2:34 am
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

I have been trying out your Demo. I am sorry to say I cut not get it to work. Can you tell me the rigth way to do it. First we have the HTML code. ------------------------------------------------------------- #HTML code under here $controls = @' <!DOCTYPE html> <html> <head> <title>Page Title</titl...
by hrlarsen
Tue Jul 24, 2018 10:55 pm
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Thanks for the 2 links.

I am sorry to say, that I cut not find a guide about "Form how to create WebBrowser control".
I have been doing different search terms whitout any luck on those 2 pages.

There must be people that have created a guide how to do this and solved the html problem.
by hrlarsen
Tue Jul 24, 2018 9:27 pm
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

Re: GUI Forms MessageBox How to insert html

Hi jvierra

Thanks for clearing out that I can unly use TEXT and not HTML in:
[System.Windows.Forms.MessageBox]::Show("Menu Application v1.0","Menu Application");
How do I chance this and insert a custom message box? in $aboutToolStripMenuItem_Click
by hrlarsen
Tue Jul 24, 2018 8:59 pm
Forum: PowerShell GUIs
Topic: GUI Forms MessageBox How to insert html
Replies: 22
Views: 2431

GUI Forms MessageBox How to insert html

How do I insert HTML TAG "CODE" in GUI Forms System.Windows.Forms.MessageBox ---------------------------------------------------------------- 1.Line: <hr> 2.Link: <a href="https://www.website.com/html/">HTMLCLICKME</a> 3.Size MessageBox: height and Weight --------------------------------------------...