Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i add an "add article" option to MS Word menu ?

Status
Not open for further replies.

dimsis

Programmer
Aug 6, 2000
76
GR
Is it possible to add a menu option to MS Winword 2002, via programming (vba, or visual basic) like the "Save as HTML" in the File menu, that connects to an internet database (SQL Server 2000) and inserts the working document into the db?
If something like this can be implemented, then we can give the option to our clients to continue writing their documents in ms word, and update their site with a simple "save article" option.
To do something like this i think we need:
- code (exe file /setup?) to automatically add the option to the menu
- VBA code that connects to a remote SQL Server database and inserts the word document as a database record (with some extra data for example a category id, or title which can be the first line of the word document or it's filename etc...)

Any suggestions how to do it?
Thanx in advance.
 
I think you could make template with menu-adaptions as well as VBA module, and put it in
Program Files\Microsoft Office\Office\Startup
But I'm not if its possible or advisable to put the document itself in a database.
Why not save on a file-server, and save the URL in your database?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top