Issue while calling Microsoft office Dll to get office toolbars.

Started by SuyogK, January 19, 2009, 10:43:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SuyogK

Hi,
I want to use/call functionality for office toolbars in my application for that i am using Microsoft office dll (Microsoft.Office.Core) to get the toolbar functionality.
But it work well in my sample application when i tried to integrate the same in my project it does not call any toolbar, while doing r&d it has been observed that internally it changes the dll id's for commandbars while calling office dll method.

following is the syntax is what i am using to get the toolbar functionality.
<code>
((axDrawingControl.ShowCommandBars((int)CommandBarType.Standard);
</code>

Here standard is the name of tool bar & i am going to call different toolbars using the same method.

Can you please help for what would be the problem for calling office dll or
how would i call the office toolbar functionality in different manner.

Please send me the sample code so i can try out the same.

Regards,
SuyogK