By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,264 Members | 1,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,264 IT Pros & Developers. It's quick & easy.

Active Documnet Server Support

P: n/a
Is it possible to develop an Active Document Full Server
or a Container application using C#?

Thanks,
Kevin.
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Kevin" <Gr***********@cat.com> wrote in message
news:00****************************@phx.gbl...
Is it possible to develop an Active Document Full Server
or a Container application using C#?

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.

1. microsoft.public.dotnet.framework.interop
Thanks,
Kevin.

Nov 15 '05 #2

P: n/a

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_document_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_activedoc.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" <Gr***********@cat.com>
| Sender: "Kevin" <Gr***********@cat.com>
| Subject: Active Documnet Server Support
| Date: Thu, 9 Oct 2003 09:38:24 -0700
| Lines: 5
| Message-ID: <00****************************@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: AcOOg8Ic0ZLt2xUVTHCiSxgf4SrQSw==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:190298
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Is it possible to develop an Active Document Full Server
| or a Container application using C#?
|
| Thanks,
| Kevin.
|

Nov 15 '05 #3

P: n/a

Hi 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 "Requirements 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_documents.a sp

There is also a Visual C++ samples you can refer to:
http://msdn.microsoft.com/library/de...us/vcsample/ht
ml/_sample_atl_activedoc.asp

Hope this helps,

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: <00****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-*****@online.microsoft.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.public.dotnet.languages.csharp
| Message-ID: <nA**************@cpmsftngxa06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Lines: 48
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:190505
| 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_document_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_activedoc.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" <Gr***********@cat.com>
| | Sender: "Kevin" <Gr***********@cat.com>
| | Subject: Active Documnet Server Support
| | Date: Thu, 9 Oct 2003 09:38:24 -0700
| | Lines: 5
| | Message-ID: <00****************************@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: AcOOg8Ic0ZLt2xUVTHCiSxgf4SrQSw==
| | Newsgroups: microsoft.public.dotnet.languages.csharp
| | Path: cpmsftngxa06.phx.gbl
| | Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.csharp:190298
| | NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| |
| | Is it possible to develop an Active Document Full Server
| | or a Container application using C#?
| |
| | Thanks,
| | Kevin.
| |
|
|

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.