"Kevin" <Greer_Kevin_C@ cat.com> wrote in message
news:005f01c38e 83$c21c2430$a40 1280a@phx.gbl.. .[color=blue]
> Is it possible to develop an Active Document Full Server
> or a Container application using C#?
>[/color]
I'm sure its possible, but it will require some interop. You need to
implement the various COM interfaces required to be a server or container.
Asking in the interop group[1] may get you better answers than you are going
to get here.
For really simple interop, you can use the WebBrowser control to load active
documents, its not as nice and really is just a container.
One of microsofts articles promised an Active Document container control for
the 2.0 framework, that is still a way off and such plans may change,
however I hope they do not.
As I understand, you want to create an Active Document Server which hosts
Active Document to be opened in an Active document container say, Internet
Explorer. Based on my experience, we are able to create the Active Document
Servers in Visual C++. While C# and Visual Basic .NET cannot. Please refer
to the following MSDN article on Active Document Servers:
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Kevin" <Greer_Kevin_C@ cat.com>
| Sender: "Kevin" <Greer_Kevin_C@ cat.com>
| Subject: Active Documnet Server Support
| Date: Thu, 9 Oct 2003 09:38:24 -0700
| Lines: 5
| Message-ID: <005f01c38e83$c 21c2430$a401280 a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcOOg8Ic0ZLt2xU VTHCiSxgf4SrQSw ==
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1902 98
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Is it possible to develop an Active Document Full Server
| or a Container application using C#?
|
| Thanks,
| Kevin.
|
In addtion to my original post, you may implement your "Active Document
Server" on your hand.
You should implement many interfaces that start with "IOle", you can refer
to the "Requiremen ts for Active Documents" section in the link below to
know what interfaces you should implement: http://msdn.microsoft.com/library/de...us/vccore/html
/_core_internet_ first_steps.3a_ .activex_docume nts.asp
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| X-Tomcat-ID: 183686054
| References: <005f01c38e83$c 21c2430$a401280 a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-jetan@online.mi crosoft.com (Jeffrey Tan[MSFT])
| Organization: Microsoft
| Date: Fri, 10 Oct 2003 09:31:48 GMT
| Subject: RE: Active Documnet Server Support
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| Message-ID: <nABRIFxjDHA.26 16@cpmsftngxa06 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Lines: 48
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1905 05
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
|
| Hi Kevin,
|
| As I understand, you want to create an Active Document Server which hosts
| Active Document to be opened in an Active document container say,
Internet
| Explorer. Based on my experience, we are able to create the Active
Document
| Servers in Visual C++. While C# and Visual Basic .NET cannot. Please
refer
| to the following MSDN article on Active Document Servers:
|
| Active Document Servers
| http://msdn.microsoft.com/library/de...us/vccore/html
| /_core_activex_d ocument_servers .asp
|
| You also can get the sample of implement the Active Document Server in
the
| link below:
| http://msdn.microsoft.com/library/de...us/vcsample/ht
| ml/_sample_atl_act ivedoc.asp
|
| Hope this helps,
|
| Jeffrey Tan
| Microsoft Online Partner Support
| Get Secure! - www.microsoft.com/security
| This posting is provided "as is" with no warranties and confers no rights.
|
| --------------------
| | Content-Class: urn:content-classes:message
| | From: "Kevin" <Greer_Kevin_C@ cat.com>
| | Sender: "Kevin" <Greer_Kevin_C@ cat.com>
| | Subject: Active Documnet Server Support
| | Date: Thu, 9 Oct 2003 09:38:24 -0700
| | Lines: 5
| | Message-ID: <005f01c38e83$c 21c2430$a401280 a@phx.gbl>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="iso-8859-1"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| | Thread-Index: AcOOg8Ic0ZLt2xU VTHCiSxgf4SrQSw ==
| | Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| | Path: cpmsftngxa06.ph x.gbl
| | Xref: cpmsftngxa06.ph x.gbl
microsoft.publi c.dotnet.langua ges.csharp:1902 98
| | NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| |
| | Is it possible to develop an Active Document Full Server
| | or a Container application using C#?
| |
| | Thanks,
| | Kevin.
| |
|
|
Comment