J
Jay Chadderwala
Hi all
If office components ( word, excel, powerpoint....) has more than two
addins are installed . Then what will be order of loading of those
addin.
for example i have one addin which sets visible property of some menu
item to false. And another addin which sets visible property of some
of those item to true.... So How can i make load order of addin to
fixed?
or other way how can i disable other addin to load when my addin is
loaded.? Is it possible?
I am using VBA,VC6, and want to check this on almost all version of
office...
Another thing that i want to ask
I am displaying office document in office from my vc app thru DoVerb()
pPersistObj->Load(m_lpStorage);
hr = pOfficeDoc->DoVerb(OLEIVERB_SHOW ,NULL,NULL,0,0,&rect);
Now i want an event from excel, powerpoint when user close the
excel/ppt
How can i capture that?
I am getting this iin word by writing eventsink class . and handling
Quit()
How can i do same for excel/powerpoint?
for word i am capturing event for folling IID
static const GUID IID_IWordEventSink =
{0x000209f7,0x000,0x0000,{0xc0,0x00,0x0,0x00,0x00,0x00,0x00,0x46}};
which iid i should use in case of excel/ppt?
Thanks in advance.
Jay
If office components ( word, excel, powerpoint....) has more than two
addins are installed . Then what will be order of loading of those
addin.
for example i have one addin which sets visible property of some menu
item to false. And another addin which sets visible property of some
of those item to true.... So How can i make load order of addin to
fixed?
or other way how can i disable other addin to load when my addin is
loaded.? Is it possible?
I am using VBA,VC6, and want to check this on almost all version of
office...
Another thing that i want to ask
I am displaying office document in office from my vc app thru DoVerb()
pPersistObj->Load(m_lpStorage);
hr = pOfficeDoc->DoVerb(OLEIVERB_SHOW ,NULL,NULL,0,0,&rect);
Now i want an event from excel, powerpoint when user close the
excel/ppt
How can i capture that?
I am getting this iin word by writing eventsink class . and handling
Quit()
How can i do same for excel/powerpoint?
for word i am capturing event for folling IID
static const GUID IID_IWordEventSink =
{0x000209f7,0x000,0x0000,{0xc0,0x00,0x0,0x00,0x00,0x00,0x00,0x46}};
which iid i should use in case of excel/ppt?
Thanks in advance.
Jay