Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help needed in understanding OOXML and custom tags!

3 views
Skip to first unread message

Indianz

unread,
Jun 26, 2009, 8:03:01 PM6/26/09
to

Hi everyone,

I have gone through Brian Jones posts and others but cant find what I want.
Here is what I want. I am using VSTO, VS2008, Office2007

1. I have a button on a custom ribbon called "Save To DB", installed via
add-in
2. When a client selects anything (pictures,tables anything) in the word
document and presses the button, the selection is saved in another Word
document called db.docx.
3. Yes, I am using a word document as a database, I know this seems funny,
but please dont laugh. Still new here!
4. And that db.docx, must have a custom tag such as below (example)

<w:customTag name="selectionID" value="someNumber1"/>
<w:p>
<What ever the client had selected>
</w:p>

<w:customTag name="selectionID" value="someNumber2"/>
<w:p>
<What ever the client had selected>
</w:p>

5. I am using the value of selectionID as a primary key. Why? so that I can
retrieve what ever that was saved for later on.
6. Is this a good way? Or a really bad idea? I need a direction friends,
please help!

Thanks

Peter Flynn

unread,
Jun 27, 2009, 8:53:18 AM6/27/09
to

If you could explain *what* you want to do, instead of *how* you want to
do it, perhaps we can help.

///Peter

0 new messages