Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML - Editor How to create "Preview in Webbrowser " Button
#1
HI Everybody
Sorry for my Late arrival
Actually i am currently creating a software HTML-Editor in visual basic
I have also added a button "Preview in Browser" in It

But i don't know how to code it so that the computer's default webbrowser opens the Html we have typed in Richtextbox1.text.

So i want to know How to code it

Thanks in ADVANCE!
The Power to Believe in Yourself is the Power to change the Fate!
#2
Try something like this:

Code:
Dim writer as new StreamWriter("website.html")
writer.write(Richtextbox1.text)
Process.start("website.html")
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Thanks Buddy
That was Really of Great HELP!!!!!!!!
The Power to Believe in Yourself is the Power to change the Fate!


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Make button performs keyboard Button Functions? Himansh 1 9,614 09-15-2012, 10:57 AM
Last Post: brandonio21
  Create a new file Covert2String 5 19,978 04-11-2012, 02:47 PM
Last Post: brandonio21
  How to create a change password Button?? Himansh 8 29,644 04-05-2012, 11:54 AM
Last Post: brandonio21
  How to code a print Button? Himansh 1 9,862 04-01-2012, 01:16 PM
Last Post: brandonio21
  How to add code to Cross(X) button on a form Himansh 3 14,868 03-27-2012, 11:06 PM
Last Post: brandonio21
  How to create a software like lockNote Himansh 0 6,131 03-22-2012, 11:49 PM
Last Post: Himansh
  Help Editor in VB Covert2String 17 51,056 12-27-2011, 07:39 AM
Last Post: AnchoredFTW
  Read Webbrowser url box Protection4Real 6 22,519 02-22-2011, 03:31 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)