Leo
Tue Jul 06 08:21:02 CDT 2004
Peter,
Thanks for the help...... I did not realize how the .net code traveled with the Word Document. I Thought I had to open it run the code from the office codebehind. It is know working great thanks again.
--
Thank You, Leo
""Peter Huang"" wrote:
> Hi Leo,
>
> I am sorry for misunderstanding your meaning.
> I think we can consider the OfficeCodeBehind assembly as a managed Addin
> compared with the COM Addin, or the compiled MACRO compared with the VBA
> macro.
> For office 2003, the word or excel unmanaged COM DLL (OTkLoadr.dll) to load
> the CLR and the CodeBehind assembly, and it will then called the _
> Startup and _ShutDown method in the OfficeCodeBehind assembly, we can
> consider it as the entrypoint of the OfficeCodeBehind assembly. So we do
> not need to call the officecodebehind directly, when we open the word or
> excel file, the codebehind dll associated with it will be loaded and
> executed automatically.
>
> We can display a winform in the codebehind as the links below.
> Walkthrough: Collecting Data Using a Windows Form
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/h
> tml/wrwlkUsingWinFormToObtainUserInput.asp
>
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>