Click here to Skip to main content
16,008,183 members
Home / Discussions / C#
   

C#

 
GeneralExcel Automation Add-in Pin
Paulo Rosa26-Jul-04 7:41
Paulo Rosa26-Jul-04 7:41 
GeneralRe: Excel Automation Add-in Pin
Heath Stewart26-Jul-04 18:57
protectorHeath Stewart26-Jul-04 18:57 
GeneralDatabase update error Pin
C#Coder6726-Jul-04 6:28
C#Coder6726-Jul-04 6:28 
GeneralRe: Database update error Pin
Heath Stewart26-Jul-04 13:28
protectorHeath Stewart26-Jul-04 13:28 
QuestionHow to load file to webbrowser control from richtextbox ? Pin
BeiJing200826-Jul-04 5:24
BeiJing200826-Jul-04 5:24 
AnswerRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart26-Jul-04 11:43
protectorHeath Stewart26-Jul-04 11:43 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200826-Jul-04 17:47
BeiJing200826-Jul-04 17:47 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart26-Jul-04 18:11
protectorHeath Stewart26-Jul-04 18:11 
You said you copied the actual HTML into the RichTextBox, so I can only presume that the RichTextBox contains HTML markup. In this case, you can do exactly what I told you that you can do, or you can use Navigate or Navigate2. Either way works. If you understand COM and read Programming and Reusing the Browser[^], you'd see that the coclass for IHTMLDocument also implements IPersistFile, which is declared in .NET as UCOMIPersistFile as I said before.

If you're looking for something to convert RTF to HTML, then you should use google[^] to find such a component (or, for internal applications where you have control over system dependencies, you can interop and use Word). Nothing in the .NET BCL (base class libraries) provides such functionality.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 1:17
BeiJing200827-Jul-04 1:17 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart27-Jul-04 3:39
protectorHeath Stewart27-Jul-04 3:39 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 17:22
BeiJing200827-Jul-04 17:22 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart27-Jul-04 17:57
protectorHeath Stewart27-Jul-04 17:57 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 19:26
BeiJing200827-Jul-04 19:26 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 19:42
BeiJing200827-Jul-04 19:42 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart28-Jul-04 3:53
protectorHeath Stewart28-Jul-04 3:53 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 20:31
BeiJing200827-Jul-04 20:31 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart28-Jul-04 4:00
protectorHeath Stewart28-Jul-04 4:00 
GeneralSendInput Citrix Alt and Ctrl Keys Pin
Gregory Webb26-Jul-04 4:26
Gregory Webb26-Jul-04 4:26 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart26-Jul-04 11:26
protectorHeath Stewart26-Jul-04 11:26 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb27-Jul-04 2:23
GTWebb27-Jul-04 2:23 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart27-Jul-04 4:03
protectorHeath Stewart27-Jul-04 4:03 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb28-Jul-04 4:25
GTWebb28-Jul-04 4:25 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart28-Jul-04 4:43
protectorHeath Stewart28-Jul-04 4:43 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb28-Jul-04 13:18
GTWebb28-Jul-04 13:18 
GeneralFull Screen Notification. Pin
LokiSD26-Jul-04 2:22
LokiSD26-Jul-04 2:22 

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.