Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Appukuttan
(94)
Abhi
(72)
Babu Akkandi
(62)
Last 7 Days
Appukuttan
(619)
Babu Akkandi
(469)
divya
(321)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Adding Task Pane in to office word
Posted Date:
30 Jun 2008
Total Responses:
0
Posted By:
sunil samawar
Member Level:
Bronze
Points
: 1
i have created task pane but unable to add it to MS office word.
i am getting error saying:"Unable to create specified ActiveX control."
given code below:
private void TestReadOnly(ICTPFactory ctpFactoryInst)
{
object missing = Type.Missing;
try
{
CustomTaskPane readonlyCustomTaskPane = ctpFactoryInst.CreateCTP(typeof(MyTaskPane).FullName,"ReadOnlyPane", missing);
readonlyCustomTaskPane.Width = 100;
readonlyCustomTaskPane.Height = 100;
readonlyCustomTaskPane.DockPosition = MsoCTPDockPosition.msoCTPDockPositionTop;
this.myTaskPane = (MyTaskPane)readonlyCustomTaskPane.ContentControl;
readonlyCustomTaskPane.Visible = true;
}
catch (Exception ex)
{
MessageBox.Show("AddIn:"+ex.Message);
}
}
Any help could be great,as its very urgent.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Post Reply
You must
Sign In
to post a response.
Next :
About Cookies
Previous :
Double-clicking on a listbox item
Return to Discussion Forum
Post New Message
Category:
.NET
Related Messages
finding no of rows and columns in an excel file
datagridview
WebBrowser control help me
gridview to a variable
SQL ( Urgent)
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use