D
David Thielen
Hi;
I am trying to create an ActiveX control (in C++/MFC based on suggestions)
that will go in a Word document. Our Word AddIn (written in C#) will
insert/edit/delete the control - the ActiveX control should have no UI. It is
merely a way to display itself in Word.
1a) From inside my ActiveX code, when they double clicked on the object, I
need to bring up a form in our C# AddIn set to edit the properties in the
control. How can I launch my C# AddIn from inside the C++ ActiveX control?
1b) And when the Form comes up, how can I tell it which object I am on so it
can populate itself from the properties in the control?
2) Our back end engine is a Java program and needs to be able to extract the
properties in the control. How do we parse the byte stream of a control to do
so in rtf, Word 2003 WordML, and docx? I can uudecode the bytes but then
what? It's some binary structure.
3) How do I (from my C# AddIn) call Word to have it give me all of my
objects within a range?
4) How do I (from my C# AddIn):
a) create a control, setting it's properties.
b) edit a control, reading it's properties, changing them, and writing
the new properties back out.
c) delete a control.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I am trying to create an ActiveX control (in C++/MFC based on suggestions)
that will go in a Word document. Our Word AddIn (written in C#) will
insert/edit/delete the control - the ActiveX control should have no UI. It is
merely a way to display itself in Word.
1a) From inside my ActiveX code, when they double clicked on the object, I
need to bring up a form in our C# AddIn set to edit the properties in the
control. How can I launch my C# AddIn from inside the C++ ActiveX control?
1b) And when the Form comes up, how can I tell it which object I am on so it
can populate itself from the properties in the control?
2) Our back end engine is a Java program and needs to be able to extract the
properties in the control. How do we parse the byte stream of a control to do
so in rtf, Word 2003 WordML, and docx? I can uudecode the bytes but then
what? It's some binary structure.
3) How do I (from my C# AddIn) call Word to have it give me all of my
objects within a range?
4) How do I (from my C# AddIn):
a) create a control, setting it's properties.
b) edit a control, reading it's properties, changing them, and writing
the new properties back out.
c) delete a control.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm