Re: Basic VSTO Questions
- From: "Michael Rodriguez" <mike@xxxxxxxxxx>
- Date: Fri, 21 Oct 2005 08:25:46 -0500
Thanks!
"Maarten van Stam [1026636]" <aafvstam@xxxxxxxxxxxxxxxxxx> wrote in message
news:OJ5zBMi1FHA.3520@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Michael Rodriguez" <mike@xxxxxxxxxx> wrote in message
>> - Do you have to create a separate project for each Word document you
>> want to manipulate?
>
> No you can attach assemblies to multiple documents:
>
> ' Visual Basic
> Dim sd As ServerDocument = Nothing
> Try
> sd = New ServerDocument("<full document path>")
> sd.AppManifest.Dependency.AssemblyPath = _
> "<full assembly path>"
> sd.Save()
> Finally
> If Not sd Is Nothing Then
> sd.Close()
> End If
> End Try
>
> // C#
> ServerDocument sd = null;
> try
> {
> sd = new ServerDocument(@"<full document path>");
> sd.AppManifest.Dependency.AssemblyPath =
> @"<full assembly path>";
> sd.Save();
> }
> finally
> {
> if (sd != null)
> {
> sd.Close();
> }
> }
>
> For more deployment solutions you can go to and read:
> http://blogs.msdn.com/vsto2/default.aspx
>
>
>> - If you want to have an open Word document with the ability for users to
>> click controls on the Action pane to change the data in the document in
>> real time, are XML tags the only/best option?
>
> It depends on what you are planning to do with your document. In fact you
> can get to all parts of the document from the Action Pane, with or without
> the XML tags.
>
> -= Maarten =-
> http://blogs.officezealot.com/maarten
>
.
- References:
- Basic VSTO Questions
- From: Michael Rodriguez
- Re: Basic VSTO Questions
- From: Maarten van Stam [1026636]
- Basic VSTO Questions
- Prev by Date: Re: Create excel object from asp.net
- Next by Date: Re: i really hate Microsoft.Office.Interop.Word.XMLNode namespace
- Previous by thread: Re: Basic VSTO Questions
- Next by thread: i really hate Microsoft.Office.Interop.Word.XMLNode namespace
- Index(es):
Relevant Pages
|