<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>netoffice Discussions Rss Feed</title><link>http://netoffice.codeplex.com/discussions</link><description>netoffice Discussions Rss Description</description><item><title>New Post: cannot explicitly call operator or accessor</title><link>http://netoffice.codeplex.com/discussions/444646</link><description>&lt;div style="line-height: normal;"&gt;I´ve &amp;quot;converted&amp;quot; all my code from Interop to NetOffice, except these two lines:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;doc.set_AttachedTemplate(globalTemplatePath);
doc.Application.Selection.ParagraphFormat.set_Style(&amp;quot;Normal&amp;quot;);&lt;/code&gt;&lt;/pre&gt;

The error is: 'NetOffice.WordApi._Document.AttachedTemplate.set': cannot explicitly call operator or accessor (in both lines)&lt;br /&gt;
&lt;br /&gt;
I´ve tried with:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;doc.AttachedTemplate = globalTemplatePath;
doc.Application.Selection.ParagraphFormat.Style = &amp;quot;Normal&amp;quot;;&lt;/code&gt;&lt;/pre&gt;

But same error. Any idea how to set these properties?&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>darkxer0x</author><pubDate>Wed, 22 May 2013 19:31:46 GMT</pubDate><guid isPermaLink="false">New Post: cannot explicitly call operator or accessor 20130522073146P</guid></item><item><title>New Post: Outlook 2010 Windows 8 Error</title><link>http://netoffice.codeplex.com/discussions/444595</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
i´m using your program to save a message in Outlook. On Windows 8 gives a error (mscorlib system.unauthorized access).&lt;br /&gt;
&lt;br /&gt;
In Windows 7 works ...&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://cloudpt.pt/link/0123acc6-c265-424b-9dc3-f153d800bfc1/CodigoOutlook_NetOffice.png" rel="nofollow"&gt;https://cloudpt.pt/link/0123acc6-c265-424b-9dc3-f153d800bfc1/CodigoOutlook_NetOffice.png&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://cloudpt.pt/link/513ee759-ed8d-4a9f-b9af-623ddbd00b5e/References_NetOffice.png" rel="nofollow"&gt;https://cloudpt.pt/link/513ee759-ed8d-4a9f-b9af-623ddbd00b5e/References_NetOffice.png&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please help.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Baltazar&lt;br /&gt;
&lt;/div&gt;</description><author>baltazar_oliveira</author><pubDate>Wed, 22 May 2013 14:07:13 GMT</pubDate><guid isPermaLink="false">New Post: Outlook 2010 Windows 8 Error 20130522020713P</guid></item><item><title>New Post: Excel Custom Task Pane</title><link>http://netoffice.codeplex.com/discussions/444440</link><description>&lt;div style="line-height: normal;"&gt;Is it not possible to do something like this, which seems a lot simpler:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-US/library/aa942846(v=vs.80).aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-US/library/aa942846(v=vs.80).aspx&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>murtuzah</author><pubDate>Tue, 21 May 2013 15:29:49 GMT</pubDate><guid isPermaLink="false">New Post: Excel Custom Task Pane 20130521032949P</guid></item><item><title>New Post: Excel Custom Task Pane</title><link>http://netoffice.codeplex.com/discussions/444440</link><description>&lt;div style="line-height: normal;"&gt;Is it not possible to do something like this, which seems a lot simpler:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-US/library/aa942846(v=vs.80).aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-US/library/aa942846(v=vs.80).aspx&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>murtuzah</author><pubDate>Tue, 21 May 2013 15:29:49 GMT</pubDate><guid isPermaLink="false">New Post: Excel Custom Task Pane 20130521032949P</guid></item><item><title>New Post: Excel Custom Task Pane</title><link>http://netoffice.codeplex.com/discussions/444440</link><description>&lt;div style="line-height: normal;"&gt;I am trying to create a dockable custom task pane in Excel. I have looked at the example but do not fully understand how to use it as it's not a complete example.&lt;br /&gt;
&lt;br /&gt;
It seems as though I need to create a ICTPFactory which then creates a CTP based on a fully qualified class name (of the user control that I want to display inside the CTP).&lt;br /&gt;
&lt;br /&gt;
My misunderstanding is with the factory - the example states&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Office.ICTPFactory ctpFactory = new NetOffice.OfficeApi.ICTPFactory(_excelApplication, CTPFactoryInst);&lt;/code&gt;&lt;/pre&gt;

what is the second parameter? How do I call CTPFactoryAvailable() - ie what object to I pass to it?&lt;br /&gt;
&lt;br /&gt;
Also why does the example include lots of extra functions for registration and connection handling when the others do not? Is this purely coincidently and showing off more advanced API features or is it more of a legacy example from a previous version of the API?&lt;br /&gt;
&lt;br /&gt;
Any tips guys, thanks?&lt;br /&gt;
&lt;/div&gt;</description><author>murtuzah</author><pubDate>Tue, 21 May 2013 15:13:20 GMT</pubDate><guid isPermaLink="false">New Post: Excel Custom Task Pane 20130521031320P</guid></item><item><title>New Post: Linking Ribbon Control with Custom Task Pane</title><link>http://netoffice.codeplex.com/discussions/444021</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br /&gt;
&lt;br /&gt;
I am trying to link the control of a checkbox in the ribbon to toggle the custom task pane visibility status. I believe I am almost there however missing a step or 2.&lt;br /&gt;
&lt;br /&gt;
Assistance would be greatly appreciated thanks&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Private taskPane As Office._CustomTaskPane
Private ctpFactory As Office.ICTPFactory

Private Const taskPane_PROGID As String = &amp;quot;Advance Tools with Custom Task Pane&amp;quot;

Shared _application As Word.Application

Shared myuserControl As UserControl1

Public Sub CTPFactoryAvailable(ByVal CTPFactoryInst As Object) Implements NetOffice.OfficeApi.ICustomTaskPaneConsumer.CTPFactoryAvailable

    ctpFactory = CTPFactoryInst

End Sub

Public Sub CheckBox1_Pressed(ByVal control As Office.IRibbonControl, ByVal CheckBox1State As Boolean)

    If CheckBox1State Then

        taskPane = ctpFactory.CreateCTP(GetType(Addin).Assembly.GetName().Name + &amp;quot;.UserControl1&amp;quot;, &amp;quot;Picture Table Editor&amp;quot;, Type.Missing)
        taskPane.DockPosition = MsoCTPDockPosition.msoCTPDockPositionFloating
        taskPane.Width = 300
        taskPane.Height = 420
        taskPane.Visible = True
        taskPane.DockPosition = MsoCTPDockPosition.msoCTPDockPositionLeft
        taskPane.Width = 300
        myuserControl = taskPane.ContentControl

    Else

        taskPane.Visible = False

    End If

End Sub&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>tfitzhardinge</author><pubDate>Fri, 17 May 2013 09:28:15 GMT</pubDate><guid isPermaLink="false">New Post: Linking Ribbon Control with Custom Task Pane 20130517092815A</guid></item><item><title>New Post: Retrieving Outlook Instance Not Created By NetOffice</title><link>http://netoffice.codeplex.com/discussions/443126</link><description>&lt;div style="line-height: normal;"&gt;did you have skype or msn?&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 21:00:29 GMT</pubDate><guid isPermaLink="false">New Post: Retrieving Outlook Instance Not Created By NetOffice 20130509090029P</guid></item><item><title>New Post: Outlook address book logic is not working for office version 2003</title><link>http://netoffice.codeplex.com/discussions/442763</link><description>&lt;div style="line-height: normal;"&gt;i cant modify outlook of course. NetOffice helps you a lot to analyze problems in this direction. thats all.&lt;br /&gt;
&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 20:46:18 GMT</pubDate><guid isPermaLink="false">New Post: Outlook address book logic is not working for office version 2003 20130509084618P</guid></item><item><title>New Post: Retrieving Outlook Instance Not Created By NetOffice</title><link>http://netoffice.codeplex.com/discussions/443126</link><description>&lt;div style="line-height: normal;"&gt;Hi Sebastian,&lt;br /&gt;
&lt;br /&gt;
Thanks for the reply.&lt;br /&gt;
&lt;br /&gt;
We are calling this function from Visual Studio with and without debugging while running with administrative privileges. Are you suggesting that doing the same without these privileges will allow us to obtain the reference? Also is this suggestion based on GetActiveObject or GetActiveInstance(s)?&lt;br /&gt;
&lt;br /&gt;
We have also seen mention of a slightly similar error in which the 32 bit instance of Outlook is running on code set to build in 64 bit. This is the case for us although switching build architecture will require quite a few modifications - so only worth trying if it is likely the cause. Also it is fair to expect that clients will use 32 bit Office applications on 64 bit machines.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
&lt;/div&gt;</description><author>MichaelColesky</author><pubDate>Thu, 09 May 2013 20:41:29 GMT</pubDate><guid isPermaLink="false">New Post: Retrieving Outlook Instance Not Created By NetOffice 20130509084129P</guid></item><item><title>New Post: Visio AddIn Projekt-Vorlage?</title><link>http://netoffice.codeplex.com/discussions/442715</link><description>&lt;div style="line-height: normal;"&gt;Ja richtig, leg dir quasi selbst eine leere Vorlage an. Ich arbeite gerade noch daran das die Developer Toolbox auch Visio Projekte erzeugen kann. Visio und Project sind erst später zu NetOffice hinzugekommen, daher ist der Service hier noch nicht ganz so weit wie bei den anderen Office Produkten.&lt;br /&gt;
&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 20:39:48 GMT</pubDate><guid isPermaLink="false">New Post: Visio AddIn Projekt-Vorlage? 20130509083948P</guid></item><item><title>New Post: Cannot Add Worksheet</title><link>http://netoffice.codeplex.com/discussions/442652</link><description>&lt;div style="line-height: normal;"&gt;this sounds strange. i'm wondering why this very simple scenario doesnt works.&lt;br /&gt;
its possible to send me your (simplified) project so i can debug the problem?&lt;br /&gt;
&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 20:37:22 GMT</pubDate><guid isPermaLink="false">New Post: Cannot Add Worksheet 20130509083722P</guid></item><item><title>New Post: Application.GetActiveInstance throws exception "The object's type must be __ComObject..."</title><link>http://netoffice.codeplex.com/discussions/441304</link><description>&lt;div style="line-height: normal;"&gt;this is strange, no idea why the ROT instance doesnt support __ComObject.&lt;br /&gt;
i want change the implementation. thanks !!!&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 20:35:01 GMT</pubDate><guid isPermaLink="false">New Post: Application.GetActiveInstance throws exception "The object's type must be __ComObject..." 20130509083501P</guid></item><item><title>New Post: Retrieving Outlook Instance Not Created By NetOffice</title><link>http://netoffice.codeplex.com/discussions/443126</link><description>&lt;div style="line-height: normal;"&gt;a typical problem could be the security. &lt;br /&gt;
if your code runs without admin permissions you got all proxies from applications without.&lt;br /&gt;
if your code runs with admin permissions you got all proxies from applications with admin permissions(no com proxies without admin privileges)&lt;br /&gt;
is this helpful for you?&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;/div&gt;</description><author>SebastianDotNet</author><pubDate>Thu, 09 May 2013 20:31:04 GMT</pubDate><guid isPermaLink="false">New Post: Retrieving Outlook Instance Not Created By NetOffice 20130509083104P</guid></item><item><title>New Post: Retrieving Outlook Instance Not Created By NetOffice</title><link>http://netoffice.codeplex.com/discussions/443126</link><description>&lt;div style="line-height: normal;"&gt;Hi there,&lt;br /&gt;
&lt;br /&gt;
We are having issues trying to attain an instance of NetOffice.OutlookApi.Application through GetActiveInstances and System.Runtime.InteropServices.Marshal.GetActiveObject(&amp;quot;Outlook.Application&amp;quot;); &lt;br /&gt;
&lt;br /&gt;
For GetActiveInstance and GetActiveInstances we are able to retrieve the instance created by our application, but not one created outside the application. When Outlook is opened outside of our application and we call these methods, they return null and an empty Application[] array respectively.&lt;br /&gt;
&lt;br /&gt;
When trying to use GetActiveObject(&amp;quot;Outlook.Application&amp;quot;); we are presented with a COMException detailing that Outlook.Application does not exist for us to retrieve. The exception is as follows:&lt;br /&gt;
Operation unavailable (Exception from HRESULT: 0x800401E3 (MK_E_UNAVAILABLE)).&lt;br /&gt;
&lt;br /&gt;
This exception appears even if we use the PID or Outlook.Application.14&lt;br /&gt;
&lt;br /&gt;
Could you tell us what we are doing wrong? &lt;br /&gt;
&lt;/div&gt;</description><author>MichaelColesky</author><pubDate>Thu, 09 May 2013 15:16:38 GMT</pubDate><guid isPermaLink="false">New Post: Retrieving Outlook Instance Not Created By NetOffice 20130509031638P</guid></item><item><title>New Post: How to suppress Disable add-in dialog when Excel is force close</title><link>http://netoffice.codeplex.com/discussions/443018</link><description>&lt;div style="line-height: normal;"&gt;When there is a modal dialog displayed,  users force close Excel. Next time when they launch excel, Excel will say &amp;quot; Excel experienced a serious problem with the '***' add-in. If you have seen this message multiple times, you should disable this add0in and checke to see if an update is available. Do you want to disable this add-in?&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
Yes, No&lt;br /&gt;
 &lt;br /&gt;
Users usually click Yes or enter without reading the message and then my add-in disappears from Excel.  So I do not want this dialog to show up. Is it possible and how? thanks&lt;br /&gt;
 &lt;br /&gt;
I try to catch all exception in my addin like below. but it has no effect. thanks&lt;br /&gt;
 &lt;br /&gt;
public void AutoOpen()&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; {           &lt;/code&gt;&lt;/pre&gt;

..... System.Windows.Forms.Application.ThreadException += ApplicationOnThreadException;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;         AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException;
         Dispatcher.CurrentDispatcher.UnhandledException += CurrentDispatcher_UnhandledException;
         TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;&lt;/code&gt;&lt;/pre&gt;

.... &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;}


public void TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e)
 {
     Helper.LogError(e.Exception);            
}

public void ApplicationOnThreadException(object sender, ThreadExceptionEventArgs threadExceptionEventArgs)
 {
     Helper.LogError(threadExceptionEventArgs.Exception);
 }

public void CurrentDomainUnhandledException(object sender, UnhandledExceptionEventArgs args)
 {
     if (!(args.ExceptionObject is ThreadAbortException))
     {
         Exception exc = args.ExceptionObject as Exception;               
        Helper.LogError(exc);
     }           
}

public void CurrentDispatcher_UnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
 {
     Helper.LogError(e.Exception);
     e.Handled = true;
 }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>toosensitive</author><pubDate>Wed, 08 May 2013 21:27:36 GMT</pubDate><guid isPermaLink="false">New Post: How to suppress Disable add-in dialog when Excel is force close 20130508092736P</guid></item><item><title>New Post: Application.GetActiveInstance throws exception "The object's type must be __ComObject..."</title><link>http://netoffice.codeplex.com/discussions/441304</link><description>&lt;div style="line-height: normal;"&gt;Today I had the same problem with Access 2010 application.&lt;br /&gt;
&lt;br /&gt;
Checking the instance type before calling Marshal.ReleaseComObject would solve this issue.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;if (comInstance.GetType().IsCOMObject)
    Marshal.ReleaseComObject(comInstance);&lt;/code&gt;&lt;/pre&gt;

I created a new Issue for this problem, hoping it will be solved in the next release.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://netoffice.codeplex.com/workitem/19683" rel="nofollow"&gt;https://netoffice.codeplex.com/workitem/19683&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>MrKagami13</author><pubDate>Wed, 08 May 2013 13:47:09 GMT</pubDate><guid isPermaLink="false">New Post: Application.GetActiveInstance throws exception "The object's type must be __ComObject..." 20130508014709P</guid></item><item><title>New Post: How to save unicode .txt file to .xls/.xlsx file with NetOffice?</title><link>http://netoffice.codeplex.com/discussions/442947</link><description>&lt;div style="line-height: normal;"&gt;Does anyone have an example of how to save unicode .txt file to .xls/.xlsx file with NetOffice?&lt;br /&gt;
Text contains tabs and double quotes.&lt;br /&gt;
Such as:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;Title&amp;quot;    &amp;quot;&amp;quot;    &amp;quot;&amp;quot;
&amp;quot;Name&amp;quot;    &amp;quot;Type&amp;quot;    &amp;quot;Value&amp;quot;
&amp;quot;A&amp;quot;    &amp;quot;1&amp;quot;    &amp;quot;1&amp;quot;
&amp;quot;B&amp;quot;    &amp;quot;1&amp;quot;    &amp;quot;2&amp;quot;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>Caliber44</author><pubDate>Wed, 08 May 2013 11:54:55 GMT</pubDate><guid isPermaLink="false">New Post: How to save unicode .txt file to .xls/.xlsx file with NetOffice? 20130508115455A</guid></item><item><title>New Post: Visio AddIn Projekt-Vorlage?</title><link>http://netoffice.codeplex.com/discussions/442715</link><description>&lt;div style="line-height: normal;"&gt;Hi Mike, &lt;br /&gt;
&lt;br /&gt;
besten Dank für den Hinweis!! Ich habe zwar die DLLs referenziert und im Kode eingebunden, aber nicht die DLLs von den entsprechenden .NET Version(...\NetOffice 1.5.1.2 [RC]\NetOffice 1.5.1.2 [RC]\&amp;lt;meine .NET version&amp;gt;\Assemblies\Any CPU), sondern vom Ordner ...\netoffice-98664\Assemblies\Any CPU\&lt;br /&gt;
&lt;br /&gt;
Ich habs geändert und es klappt, zumindest kommen jetzt keine Fehler am Ende des Kompiliervorgangs. Vermutlich kann ich auf dieser Art und Weise bestehende Visio AddIns migrieren?&lt;br /&gt;
&lt;/div&gt;</description><author>tritonit</author><pubDate>Tue, 07 May 2013 13:42:33 GMT</pubDate><guid isPermaLink="false">New Post: Visio AddIn Projekt-Vorlage? 20130507014233P</guid></item><item><title>New Post: Visio AddIn Projekt-Vorlage?</title><link>http://netoffice.codeplex.com/discussions/442715</link><description>&lt;div style="line-height: normal;"&gt;Hallo,&lt;br /&gt;
&lt;br /&gt;
Wenn du den NetOffice 1.5.1.2 [RC] + Office 2013(Preview) + .NET 4.5 Support runtergeladen hast unter &lt;a href="http://netoffice.codeplex.com/releases/view/70943" rel="nofollow"&gt;http://netoffice.codeplex.com/releases/view/70943&lt;/a&gt; dann kannst du einfach das bestehende Projekt benutzen unter &amp;lt;Dein Verzeichnis&amp;gt;\NetOffice 1.5.1.2 [RC]\NetOffice 1.5.1.2 [RC]\&amp;lt;Deine .NET version&amp;gt;\Examples.&lt;br /&gt;
&lt;br /&gt;
Damit du NetOffice benutzen kannst im VSTO, muss du die Referenzen von NetOffice in dein Projekt einbinden unter Projekt-&amp;gt;Neue Referenz, von da aus, muss du die VisioApi.dll und NetOffice.dll (&amp;lt;Dein Verzeichnis&amp;gt;\NetOffice 1.5.1.2 [RC]\NetOffice 1.5.1.2 [RC]\&amp;lt;Deine .NET version&amp;gt;\Assemblies\Any CPU\VisioApi.dll und NetOffice.dll)einbinden in dein Projekt, danach müsstest du im Projekt folgenden Kode einbinden könnten:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;using myVisio = NetOffice.VisioApi;&lt;/code&gt;&lt;/pre&gt;

Hoffe du kommst so voran.&lt;br /&gt;
&lt;/div&gt;</description><author>mike27015</author><pubDate>Tue, 07 May 2013 09:59:10 GMT</pubDate><guid isPermaLink="false">New Post: Visio AddIn Projekt-Vorlage? 20130507095910A</guid></item><item><title>New Post: Outlook address book logic is not working for office version 2003</title><link>http://netoffice.codeplex.com/discussions/442763</link><description>&lt;div style="line-height: normal;"&gt;Hi Experts,&lt;br /&gt;
&lt;br /&gt;
I'm working on a application where users should be able to select user names from outlook address book. since the logic should support multiple office version i tried NetOffice. Code works fine in office 2007 and latest versions but it fails in office 2003, it throws an exception.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;            //Initializing application object
            Application application = GetApplicationObject();
            
            //Initializing SelectNamesDialog from the current session
            __SelectNamesDialog snd = application.Session.GetSelectNamesDialog();__

            //Restricts multiple selections
            snd.AllowMultipleSelection = false;

            ////Disabling To, Cc, Bcc lists
            //snd.NumberOfRecipientSelectors = OlRecipientSelectors.olShowNone;

            //Set the global address list as default
            snd.InitialAddressList = application.Session.GetGlobalAddressList();
            snd.Display();

            //Return selected  recipients collection
            return snd.Recipients;&lt;/code&gt;&lt;/pre&gt;

Exception is thrown at GetSelectNamesDialog() invocation. apparently its not supported in 2003 object model. Is there any work around supported by NetOffice to handle this ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exception &lt;br /&gt;
&lt;br /&gt;
Runtime.InteropServices.COMException (0x80004005): See inner exception(s) for details. ---&amp;gt; System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))&lt;br /&gt;
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)&lt;br /&gt;
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)&lt;br /&gt;
   at NetOffice.Invoker.MethodReturn(COMObject comObject, String name, Object[] paramsArray)&lt;br /&gt;
   at NetOffice.Invoker.MethodReturn(COMObject comObject, String name, Object[] paramsArray)&lt;br /&gt;
   at NetOffice.OutlookApi._NameSpace.GetSelectNamesDialog()&lt;br /&gt;
   at OutlookTest1.Outlook2010AddressBook.SelectedRecipients() in C:\Users\kthiyagarajah\Desktop\NetOffice\NET 4.0\Examples\Outlook\C#\Examples\OutookExamples\Outlook2010AddressBook.cs:line 91&lt;br /&gt;
   at OutlookTest1.Outlook2010AddressBook.SelectedRecipient() in C:\Users\kthiyagarajah\Desktop\NetOffice\NET 4.0\Examples\Outlook\C#\Examples\OutookExamples\Outlook2010AddressBook.cs:line 61&lt;br /&gt;
   at OutlookTest1.Outlook2010AddressBook.SelectedContact() in C:\Users\kthiyagarajah\Desktop\NetOffice\NET 4.0\Examples\Outlook\C#\Examples\OutookExamples\Outlook2010AddressBook.cs:line 51&lt;br /&gt;
   at OutlookExamplesCS4.Example01.buttonStartExample_Click(Object sender, EventArgs e) in C:\Users\kthiyagarajah\Desktop\NetOffice\NET 4.0\Examples\Outlook\C#\Examples\OutookExamples\Examples\Example01.cs:line 62&lt;br /&gt;
   at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Appreciate your help on this&lt;br /&gt;
kuru.&lt;br /&gt;
&lt;/div&gt;</description><author>kurubaran</author><pubDate>Tue, 07 May 2013 05:52:07 GMT</pubDate><guid isPermaLink="false">New Post: Outlook address book logic is not working for office version 2003 20130507055207A</guid></item></channel></rss>