Deploy Excel Template

G

Goh

Hi,

How to deploy Excel template with task pane? for this moment the
template only work when compile and run from VS 2005.

Second question is after then document save from the template it's this
document must open with this template available? If I send this document to
others person that did not have this smart document template what will
happen?


With regards,
goh
 
P

Peter Huang [MSFT]

Hi Goh,

Here I understand you mean the VSTO 2005 Excel Template project.
Here is a link about how to deploy VSTO 2005 solution.
http://blogs.msdn.com/vsto2/archive/2005/10/13/480648.aspx

Commonly an XCopy is necessary to deploy the solution.
But for this application to run on another machine, there were some
prerequisites.
1. .NET 2.0 runtime
2. Office 2003 PIA
3. We must set CAS for the assembly path on that machine.

For detailed information please refer to the link above.


After you save the Excel workbook that open with a Template file, you not
need to open the Saved Workbook again with the template. But the assembly
shipped with the template file is necessary.
That is to say after deploy and solutio works, the saved Workbook and the
assembly is necessary to run the xls workbook. Because the VSTO code is in
the assembly, without the code, an workbook can not run.

If you still have any concern, please feel free to let me know.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M.

Hi Goh,
If I send this document to
others person that did not have this smart document template what will
happen?
The person will be able to open and use the workbook, but none of the
customization code (including the custom task pane) will be available.
They'll probably get a message to this effect.

There is a way to remove the customizations from the workbook, so that
the recipient wouldn't get any message. See this message in the VSTO
forum, for example

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=434488&SiteID=1

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top