Hosting application in IE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I wonder if the following is possible to do. Say I have created my own
document format and a document handler, much like Microsoft Word doc and
Microsoft Word itself. Now is it possible to make my application hosted in IE
just like MS Word? So if a user click on a link that points to my document it
knows which app it needs to load in its body and pass this document to the
app to be rendered. So imagine like MS Word in IE.

Is this possible - using .Net of course :)

Regards,
 
Hi Victor

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to run your own application in
IE. If there is any misunderstanding, please feel free to let me know.

As far as I know, this isn't called IE hosting applications. Actually,
Microsoft Word is the server, while IE is the client. We need to implement
the Active Document Server interface to achieve this. Here is a link on
this.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html
/vcovroverviewofactivedocumentcontainment.asp

I think it's very hard for us to achieve this with current .NET, since too
much COM interop will be involved. It's better to do with MFC.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Hi Kevin,

Yes that's what I want to implement, I misunderstood the terminology used in
these area. So MS Word is the Active Document Server.

You said it'll be too hard, however is it 'possible'? To do so? I know we
can create ActiveX Document using the old VB 6.0 is there an equivalent in
..Net?

Thanks,

Victor
 
Hi Victor,

I think there is still some misunderstanding here. In VB6, the ActiveX
document control is an OLE control that will do what IE does. That's the
Active Document Client. However, I think what we need to do now what Word
does. It is the Active Document Server.

Currently we don't have such classes or interfaces to implement this in
..NET framework. So if we need to achieve this, we have rely on COM interop
completely. It is possible, however it is very complicated. As far as I
know, the most easy way is to do with MFC. HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Victor Hadianto said:
Hi,

I wonder if the following is possible to do. Say I have created my own
document format and a document handler, much like Microsoft Word doc and
Microsoft Word itself. Now is it possible to make my application hosted in IE
just like MS Word? So if a user click on a link that points to my document it
knows which app it needs to load in its body and pass this document to the
app to be rendered. So imagine like MS Word in IE.

Is this possible - using .Net of course :)

Regards,

Not sure if this is of any use to you, but why don't you
decide

MSDN Magazine 2002 January
DHTML and .NET
Host Secure, Lightweight Client-Side Controls in Microsoft
Internet Explorer
http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx
 
You're welcome, Victor.

Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top