Click here to Skip to main content
15,915,864 members
Home / Discussions / C#
   

C#

 
QuestionHow I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani26-May-06 19:29
Nafiseh Salmani26-May-06 19:29 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Farrukh_526-May-06 19:59
Farrukh_526-May-06 19:59 
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani26-May-06 20:07
Nafiseh Salmani26-May-06 20:07 
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Farrukh_526-May-06 20:26
Farrukh_526-May-06 20:26 
QuestionRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani26-May-06 20:34
Nafiseh Salmani26-May-06 20:34 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Farrukh_526-May-06 20:55
Farrukh_526-May-06 20:55 
QuestionRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani26-May-06 21:17
Nafiseh Salmani26-May-06 21:17 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
emran83426-May-06 21:52
emran83426-May-06 21:52 
If you want to load HTML file in a webbrowser control, Its the straight forward way to set the property value of DocumentText of the Webbrowser with the HTML string.

Example,

If your Webbrowser control has instance name, webBrowserControlMyBrowser then

string htmlString = " Hello World ";
webBrowserControlMyBrowser.DocumentText = htmlString;

In this way, You dont need to create a file, save and delete etc, moreover, you dont even need to wait for couple of seconds to load. Its the DIRECT way.

Emran
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani26-May-06 22:08
Nafiseh Salmani26-May-06 22:08 
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Farrukh_527-May-06 0:21
Farrukh_527-May-06 0:21 
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani27-May-06 0:26
Nafiseh Salmani27-May-06 0:26 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
ahmad2x427-May-06 1:44
ahmad2x427-May-06 1:44 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
ahmad2x427-May-06 1:54
ahmad2x427-May-06 1:54 
GeneralRe: How I can open HTML page with html source code in Winapplication,without Create a file? [modified] Pin
ahmad2x427-May-06 2:30
ahmad2x427-May-06 2:30 
QuestionRe: How I can open HTML page with html source code in Winapplication,without Create a file? [modified] Pin
Nafiseh Salmani29-May-06 23:06
Nafiseh Salmani29-May-06 23:06 
AnswerRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani29-May-06 21:19
Nafiseh Salmani29-May-06 21:19 
QuestionRe: How I can open HTML page with html source code in Winapplication,without Create a file? Pin
Nafiseh Salmani29-May-06 23:04
Nafiseh Salmani29-May-06 23:04 
Questionif else for forms displayed [modified] Pin
IMC200626-May-06 19:07
IMC200626-May-06 19:07 
AnswerRe: if else for forms displayed [modified] Pin
Stefan Troschuetz26-May-06 23:06
Stefan Troschuetz26-May-06 23:06 
GeneralRe: if else for forms displayed [modified] Pin
IMC200627-May-06 6:28
IMC200627-May-06 6:28 
AnswerRe: if else for forms displayed [modified] Pin
Colin Angus Mackay26-May-06 23:08
Colin Angus Mackay26-May-06 23:08 
AnswerRe: if else for forms displayed [modified] Pin
stancrm28-May-06 21:26
stancrm28-May-06 21:26 
Questionupdate Pin
kjosh26-May-06 16:30
kjosh26-May-06 16:30 
AnswerRe: update Pin
maryamf26-May-06 21:03
maryamf26-May-06 21:03 
GeneralRe: update Pin
kjosh26-May-06 22:17
kjosh26-May-06 22:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.