Hi GaetanoG, I am having the same issue in which i have to set some vaues in the Custom Task Pane programmatically. I'll appreciate if you guide me the way you handle this. Saves a alot of my time. Thanks in Advance!!!! -Syed "GaetanoG" wrote: > Hi > I solve the problem.. now I can call a function in the add-in and set some > variables.. From word I can call the com object (the add-in) and use the > variables set before from external program and call function which can > operate in the program directly. I will publish the solution in my blog in a > few days.. > Thanks for your suggestion > > Regards > GaetanoG > > "Jonathan West" wrote: > > > > > "GaetanoG" wrote in message > > news:066347A2-626E-46C9-8514-6B3EE2A8FF4A@microsoft.com... > > > Hi all, > > > > > > I build a com add-in for word 2003/2007 using c# and it works well. Now I > > > need > > > to set variable values and run funcions from an external .net program. How > > > can I do? I tried to access the add-in via object model but with no > > > results.. > > > Is it possible to intercept the add-in events? > > > > > > > The problem here is that you may be creating different instances of your COM > > add-in when calling from Word, and when calling from the external program, > > and the different instances don't share data. > > > > Since your problem is between your .NET external program and your add-in > > written in C#, I suspect that Word has little to do with the issue, and > > experts able to help are more likely to be found in the C# groups. > > > > > > -- > > Regards > > Jonathan West - Word MVP > > www.intelligentdocuments.co.uk > > Please reply to the newsgroup > > > > > >