M
Matthias Langbein
Hi all,
I tried to build a MSDN-Tip how to integrates a word-toolbar in a
addin:
(http://support.microsoft.com/Default.aspx?kbid=302901#XSLTH3228121124120121120120)
The class member applicationObject was initialized with the
word-application-objekt. When calling
Microsoft.Office.Core.Commandbar toolbar = null;
try
{
toolbar = (Microsoft.Office.Core.CommandBar)_
applicationObject.CommandBars.Add("My Toolbar",_
Microsoft.Office.Core.MsoBarPosition.msoBarFloating,_
System.Reflection.Missing.Value, true);
}
catch (Exception ee)
{
......
}
I recieve the exception:
"Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
which means pretty much:
"The bject link was not assigned with a object instance."
How comes? I'm desparate...
THX for all the help, yours Langi
I tried to build a MSDN-Tip how to integrates a word-toolbar in a
addin:
(http://support.microsoft.com/Default.aspx?kbid=302901#XSLTH3228121124120121120120)
The class member applicationObject was initialized with the
word-application-objekt. When calling
Microsoft.Office.Core.Commandbar toolbar = null;
try
{
toolbar = (Microsoft.Office.Core.CommandBar)_
applicationObject.CommandBars.Add("My Toolbar",_
Microsoft.Office.Core.MsoBarPosition.msoBarFloating,_
System.Reflection.Missing.Value, true);
}
catch (Exception ee)
{
......
}
I recieve the exception:
"Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
which means pretty much:
"The bject link was not assigned with a object instance."
How comes? I'm desparate...
THX for all the help, yours Langi