Click here to Skip to main content
15,879,490 members
Home / Discussions / C#
   

C#

 
GeneralOpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:11
Radoslav Bielik20-Jan-04 7:11 
GeneralRe: OpenFileDialog initial directory Pin
Mazdak20-Jan-04 7:42
Mazdak20-Jan-04 7:42 
GeneralRe: OpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:51
Radoslav Bielik20-Jan-04 7:51 
QuestionHow to make Combinations Pin
jacal9920-Jan-04 7:02
jacal9920-Jan-04 7:02 
AnswerRe: How to make Combinations Pin
MaxGuernsey20-Jan-04 8:42
MaxGuernsey20-Jan-04 8:42 
AnswerRe: How to make Combinations Pin
leppie21-Jan-04 6:17
leppie21-Jan-04 6:17 
Generalconvert textstring to html Pin
Herman<T>.Instance20-Jan-04 5:26
Herman<T>.Instance20-Jan-04 5:26 
GeneralRe: convert textstring to html Pin
Heath Stewart20-Jan-04 5:39
protectorHeath Stewart20-Jan-04 5:39 
You should embed the WebBrowser control. That's what many of the HTML Email readers do, like Outlook, Outlook Express, and various other third-party email readers. Customize your Toolbox in VS.NET and find the Microsoft Web Browser Control (shdocvw.dll). Add that to your toolbox and drag it on your form. You can then use various methods to display the HTML content, such as saving it to a file and using WebBrowser.Navigate2, or referencing the Microsoft.mshtml.dll assembly and either setting the HTML to the body.innerHtml, or use the UCOMIPersistFile class in the .NET base class library to cast the WebBrowser.Document to the interface and then use the Load method to load the HTML file that represents the body of your email message.

You can find many articles about using the WebBrowser control and even utilizing and implementing its designer interfaces to allow your program to type HTML email by using the following search: http://www.codeproject.com/info/search.asp?cats=3&cats=5&searchkw=webbrowser[^].

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 5:17
Jose Fco Bonnin20-Jan-04 5:17 
GeneralRe: Properties Page Pin
Heath Stewart20-Jan-04 5:30
protectorHeath Stewart20-Jan-04 5:30 
GeneralSystem.Diagnostics.Process.Start Pin
elena1234520-Jan-04 4:22
elena1234520-Jan-04 4:22 
GeneralRe: System.Diagnostics.Process.Start Pin
Heath Stewart20-Jan-04 4:36
protectorHeath Stewart20-Jan-04 4:36 
GeneralCOM Interop Pin
Ungi.20-Jan-04 3:47
Ungi.20-Jan-04 3:47 
GeneralRe: COM Interop Pin
Heath Stewart20-Jan-04 4:24
protectorHeath Stewart20-Jan-04 4:24 
GeneralRe: COM Interop Pin
Ungi.20-Jan-04 18:04
Ungi.20-Jan-04 18:04 
GeneralRe: COM Interop Pin
Heath Stewart21-Jan-04 3:42
protectorHeath Stewart21-Jan-04 3:42 
GeneralRe: COM Interop Pin
Ungi.21-Jan-04 20:23
Ungi.21-Jan-04 20:23 
GeneralGOT IT!!!! Pin
Ungi.28-Jan-04 2:14
Ungi.28-Jan-04 2:14 
Questionhow to avoid references Pin
Mephisto18720-Jan-04 3:44
Mephisto18720-Jan-04 3:44 
AnswerRe: how to avoid references Pin
Heath Stewart20-Jan-04 4:17
protectorHeath Stewart20-Jan-04 4:17 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 4:54
Mephisto18720-Jan-04 4:54 
GeneralRe: how to avoid references Pin
Heath Stewart20-Jan-04 5:26
protectorHeath Stewart20-Jan-04 5:26 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 22:12
Mephisto18720-Jan-04 22:12 
GeneralRe: how to avoid references Pin
Heath Stewart21-Jan-04 3:46
protectorHeath Stewart21-Jan-04 3:46 
GeneralRe: how to avoid references Pin
Mephisto18721-Jan-04 5:08
Mephisto18721-Jan-04 5:08 

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.