Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: C++ to C# - Dragging nightmare Pin
TylerBrinks25-Jun-04 9:17
TylerBrinks25-Jun-04 9:17 
GeneralRe: C++ to C# - Dragging nightmare Pin
Heath Stewart25-Jun-04 9:50
protectorHeath Stewart25-Jun-04 9:50 
GeneralDll Merge Pin
Visionsoft25-Jun-04 8:05
Visionsoft25-Jun-04 8:05 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 8:38
protectorHeath Stewart25-Jun-04 8:38 
GeneralRe: Dll Merge Pin
leppie25-Jun-04 9:37
leppie25-Jun-04 9:37 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 10:19
protectorHeath Stewart25-Jun-04 10:19 
Questionie control and ASP.NET not behaving? Pin
LongRange.Shooter25-Jun-04 5:10
LongRange.Shooter25-Jun-04 5:10 
AnswerRe: ie control and ASP.NET not behaving? Pin
Heath Stewart25-Jun-04 6:20
protectorHeath Stewart25-Jun-04 6:20 
You should take a look at the Comzept NetRIX Editor[^], which wraps MSHTML and can write XHTML and has all the bells and whistles you'd expect from an HTML editor, plus it also saves you from such an elaborate and tightly-coupled system.

As far as your problem goes, just because yo'ure embedding the WebBrowser control doesn't mean that the WebBrowser control and iexplore.exe or explorer.exe (when hosting the WebBrowser control) will function the same. The container provides a lot of services to the MSHTML control, and any scripted calls to window.external will break as well.

You can provide services to the MSHTML and WebBrowser controls, however (the WebBrowser control does provide some service to MSHTML). Read the article Using MSHTML Advanced Hosting Interfaces[^] as well as the articles linked to MSDN which describe the hosting interfaces in depth.

To provide such services to the WebBrowser control, you really have to be familiar with COM and COM Interop with .NET. There's a lot to do, which NetRIX has already done for you (at a decent price).

No, I'm not trying to peddle NetRIX. There are other solutions (though not as good, I assure you, since we've tried to look at them all here). I have done this interop to a degree but I was spending far too many man-hours adding more interop functionality (trust me, it's not so easy with when one interface recursively requires many others) than what it cost to buy NetRIX. You might want to take a look.

 

Microsoft MVP, Visual C#
My Articles
GeneralExtended Ascii Encoding Pin
zainu25-Jun-04 2:46
zainu25-Jun-04 2:46 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart25-Jun-04 5:42
protectorHeath Stewart25-Jun-04 5:42 
GeneralRe: Extended Ascii Encoding Pin
zainu25-Jun-04 19:50
zainu25-Jun-04 19:50 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart26-Jun-04 14:02
protectorHeath Stewart26-Jun-04 14:02 
GeneralRe: Extended Ascii Encoding Pin
yosr20-Jan-13 1:33
yosr20-Jan-13 1:33 
GeneralRe: Extended Ascii Encoding Pin
Hovik Melkomian7-Jul-04 22:56
Hovik Melkomian7-Jul-04 22:56 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart8-Jul-04 3:45
protectorHeath Stewart8-Jul-04 3:45 
Generaltext encoding Pin
amatyasik25-Jun-04 2:01
amatyasik25-Jun-04 2:01 
GeneralRe: text encoding Pin
zainu25-Jun-04 2:53
zainu25-Jun-04 2:53 
GeneralRe: text encoding Pin
amatyasik25-Jun-04 2:56
amatyasik25-Jun-04 2:56 
Generalc# query biulder Pin
Member 114126625-Jun-04 1:46
Member 114126625-Jun-04 1:46 
GeneralRe: c# query biulder Pin
Heath Stewart25-Jun-04 5:11
protectorHeath Stewart25-Jun-04 5:11 
GeneralRe: c# query biulder Pin
partyganger25-Jun-04 14:16
partyganger25-Jun-04 14:16 
GeneralDllImport Pin
deeps2625-Jun-04 1:33
deeps2625-Jun-04 1:33 
GeneralRe: DllImport Pin
Jeremy Kimball25-Jun-04 2:57
Jeremy Kimball25-Jun-04 2:57 
GeneralRe: DllImport Pin
Heath Stewart25-Jun-04 5:09
protectorHeath Stewart25-Jun-04 5:09 
GeneralXML document as Resource File Pin
ganeshvijay25-Jun-04 1:21
ganeshvijay25-Jun-04 1:21 

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.