Click here to Skip to main content
16,005,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 6:03
Javier Lozano8-Dec-04 6:03 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:26
Skynyrd8-Dec-04 11:26 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:43
Skynyrd8-Dec-04 11:43 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 12:06
Javier Lozano8-Dec-04 12:06 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 13:18
Skynyrd8-Dec-04 13:18 
GeneralHTML style RichTextBox control Pin
Beringer7-Dec-04 12:06
Beringer7-Dec-04 12:06 
GeneralRe: HTML style RichTextBox control Pin
Beringer7-Dec-04 12:08
Beringer7-Dec-04 12:08 
GeneralRe: HTML style RichTextBox control Pin
Heath Stewart7-Dec-04 14:44
protectorHeath Stewart7-Dec-04 14:44 
The WebBrowser control (what actually is "Internet Explorer") itself does. Customize your toolbox in VS.NET to include the "Microsoft WebBrowser Control" and click OK (this is under the COM tab, not the .NET tab).

Drag and drop that onto your form. That'll create a couple of RCWs (runtime-callable wrappers) that encapsulate the COM control for marshaling to and from managed code. Then add a reference to the Microsoft.mshtml.dll assembly that should've been installed with VS.NET, IIRC.

Cast the AxWebBrowser.Document property to IHTMLDocument2 and set the designMode property to "On" (case-sensitive).

If you google for "WebBrowser designMode" you should find many articles that discuss more advanced interaction and persisting the document.

There's also a lot of commercial controls that extend the capabilities for managed code, like the NetRix HtmlEditor[^] that I evaluated (along with others) and choose for my former employer. It's very good and priced pretty decently. It extends the basic authoring that the WebBrowser control provides with advanced features like tables and more. You can accomplish this all yourself if you read about the hosting interfaces and more for Internet Explorer. Read Programming and Reusing the Browser[^] on MSDN. Knowledge of OLE/COM is very helpful, especially about Interoperating with Unmanaged Code[^].

There are also editors that don't use the WebBrowser control and rely entirely on their own HTML generation and user interaction, like the Writer for .NET[^], from the same guy that wrote .NET Reflector.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralSockets and Win2k Issues Pin
Tristan Rhodes7-Dec-04 11:34
Tristan Rhodes7-Dec-04 11:34 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart7-Dec-04 14:27
protectorHeath Stewart7-Dec-04 14:27 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:25
Tristan Rhodes8-Dec-04 0:25 
GeneralRe: Sockets and Win2k Issues Pin
Daniel Turini7-Dec-04 20:12
Daniel Turini7-Dec-04 20:12 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:26
Tristan Rhodes8-Dec-04 0:26 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart8-Dec-04 6:01
protectorHeath Stewart8-Dec-04 6:01 
GeneralFree Lightweight C# SDE Pin
Tristan Rhodes7-Dec-04 8:30
Tristan Rhodes7-Dec-04 8:30 
GeneralRe: Free Lightweight C# SDE Pin
Stanciu Vlad7-Dec-04 9:48
Stanciu Vlad7-Dec-04 9:48 
GeneralRe: Free Lightweight C# SDE Pin
Heath Stewart7-Dec-04 14:21
protectorHeath Stewart7-Dec-04 14:21 
GeneralRe: Free Lightweight C# SDE Pin
leppie8-Dec-04 2:42
leppie8-Dec-04 2:42 
GeneralRe: Free Lightweight C# SDE Pin
Nick Parker7-Dec-04 16:00
protectorNick Parker7-Dec-04 16:00 
GeneralRe: Free Lightweight C# SDE Pin
leppie8-Dec-04 2:40
leppie8-Dec-04 2:40 
GeneralMaking parts of a panel transparent Pin
G.Ringbom7-Dec-04 8:28
G.Ringbom7-Dec-04 8:28 
GeneralRe: Making parts of a panel transparent Pin
Heath Stewart7-Dec-04 14:16
protectorHeath Stewart7-Dec-04 14:16 
GeneralRe: Making parts of a panel transparent Pin
G.Ringbom8-Dec-04 1:45
G.Ringbom8-Dec-04 1:45 
GeneralRe: Making parts of a panel transparent Pin
Heath Stewart8-Dec-04 6:22
protectorHeath Stewart8-Dec-04 6:22 
GeneralRe: Making parts of a panel transparent Pin
G.Ringbom8-Dec-04 6:38
G.Ringbom8-Dec-04 6:38 

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.