Office 2003 - Add-In to Submit Document to ASP.NET App

  • Thread starter Christopher Pragash
  • Start date
C

Christopher Pragash

Hello All,

Is there a way to develop an Add-in menu option that could submit the
document to a web site in the XML format? Ideally what I am looking for is
to develop an add in using VS.NET tools for office 2003, that could add a
menu option in Word. When the user selects this menu option, I need to
convert the document into XML (technically 'Save As' on the document) and
send it to an ASP.NET App. Does anybody have any ideas or samples for this?
Any help is greatly appreciated.

Thanks,
Chris
 
N

Nick

Hi,

You already explained what you want to do and it certainly work if you
choose to develop an add-in.

The following tutorial is from MS which teach you to make a smart client
for outlook, consume web services and more, have a look:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_dnscof.asp

Although it is for outlook, with some small changes, it also work for Word.


If you are completely new to add-in dev, you might also want to start
from this:

http://support.microsoft.com/defaul...port/kb/articles/q302/9/01.asp&NoWebContent=1

Nick
 
C

Christopher Pragash

Nick,

Thanks for the info. I followed the Add-in link you sent me and get to work
as a sample. Now, as a next step I am trying to retrieve some information of
the current document...How do I initialize the Document object inside the
Add-in...Also another thought...Is there an article that explains how to
create a wizard when the user clicks the custom add-in? Any ideas would be
really helpful..

Again...thanks so much for getting me started on this.

Thanks,
Chris
 
N

Nick

Hi,

I am afraid that there is no official tutorial/howto from MS which teach
you to how build a Word COM Add-in using C# steps by steps.

However, they have VSTO tutorial on MSDN
http://msdn.microsoft.com/library/d...l/wroriautomatingwordusingwordobjectmodel.asp

if you are sure that you must need to develop COM add-in, not by VSTO,

you might want start with building a simple COM outlook addin first,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_dnscof.asp

Most contents in this tutorial can be used for building a word add-in,
for example, VS.net shared-addin wizard, Add-in design, Office XP
PIA(You must read this!), etc. (in fact, what you need to change is to
reference the word object rather than the outlook object + small code
modification).

The code is very similar as I have tried before.

Nick
 

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