GoMa
Sep 3 2004, 09:53 AM
This panel displays Microsoft Outlook contacts.
NeilN released the code for his outdated Outlook Contacts panel which was no more compatible with the newer builds, so I changed it a bit and made it ready for release again.
Note that the panel is far from being feature-complete, this is just a conversion of the old panel. I will update it once I have some time.
INSTALLATION:
Please download the DSPACKAGE file from
the Fileforum page and open it when DS is running (make sure it is saved as a DSPACKAGE and not a ZIP file). Once installed the panel should be visible in the Add Panel dialog, inside the Outlook category.
NeilN
Sep 3 2004, 10:22 AM
Got an error when pressing Go (running Outlook 2002).
System.IO.FileNotFoundException: File or assembly name Microsoft.Office.Interop.Outlook, or one of its dependencies, was not found.
File name: "Microsoft.Office.Interop.Outlook"
at OutlookContacts.OutlookConnector..ctor()
at OutlookContacts.Panel.btnGo_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
NeilN
Sep 3 2004, 10:24 AM
Oh yeah I remember I had to include another file in the install.
Interop.Outlook.dll
tapufd
Sep 3 2004, 11:05 AM
Thanks for this plugin!
Is it right that only the local contacts are searched?
Maybe an option to define where you want to search, because I want to search the contacts on the exchange server (Global Address List).
Maybe you can open the default Address Book from Outlook, instead of viewing the contacts in a grid?!
Greets
/tap
Indian_Mayhem
Sep 3 2004, 11:28 AM
I could be wrong, but if I remember right...easier GAL access would require the Exchange server to be setup for LDAP.
GoMa
Sep 3 2004, 11:28 AM
Thanks, Neil. I've updated the package, can you check it out again?
tapufd - I don't know of a way to do a global exchange server search, and also I think opening the Outlook Address Book is not possible. Sorry
GoMa
Sep 3 2004, 11:57 AM
OK, I think I've found a way to get the addresses from the Global Address List. However, I don't have a way to test this. tapufd - is it OK if I'll send you the updated panel and you'll tell me if it's working? If yes, please PM me you email address. Thanks.EDIT: Forget that, I didn't find a way.

Sorry about that.
NeilN
Sep 3 2004, 01:06 PM
Works great now.
Note to kdam: It'd be really nice if Outlook Contact searching could be incorporated into the super-duper Command Line panel.
GoMa
Sep 3 2004, 01:25 PM
Happy it's working now.

I think once kdam said something about "programmatic" command line searches, I don't know.
P.S.
Your code uses a very cumbersome method of enumerating contacts, I will change it to a "foreach" statement, and that will also allow me to (hopefully) enumerate GAL entries.
tapufd
Sep 3 2004, 01:40 PM
I've checked Indian_Mayhem's reply on the LDAP thing, and he is right. The easy way is using LDAP.
I checked this, and our exchange server supports LDAP. I've even managed to do a LDAP search and find the contacts --> Windows Address Book under Accessories has the option to do a search through LDAP. See in Windows Address Book under Tools, Accounts what I mean.
Maybe this LDAP option can be added in the Contacts plugin?
Thanks already for your research into this.
Greets,
/tap
NeilN
Sep 3 2004, 01:41 PM
I tried For Each but ran into a problem (can't remember what). Hope you have better luck.
stuffedtiger79
Sep 3 2004, 06:03 PM
yipie!!!!!!!!!!!!! my prayers have been answered. thank you go(d)ma!

) lol
Indian_Mayhem
Sep 3 2004, 11:02 PM
I ventured into the world of LDAP not to long ago when I upgraded all our Macs to OS X and Office 2004. Entourage can connect to an Exchange server but has to resolve the GAL using LDAP. OWA uses it as well, which would be probably the coolest thing for corporate users AND college kids that don't have Outlook but on the university Exchange server. It would be pimping if DS could read OWA.
But back to LDAP. Check out cdolive.com for some different tips on that.
GoMa
Sep 3 2004, 11:10 PM
| QUOTE (stuffedtiger79 @ Sep 4 2004, 05:03 AM) |
yipie!!!!!!!!!!!!! my prayers have been answered. thank you go(d)ma! ) lol |
Thanks.

I_M, tapufd - I do think I've found a solution, however it has nothing to do with LDAP. I will inform you when I'll have it ready.
ilNebbioso
Sep 21 2004, 04:11 AM
I just installed Desktopside Toolbar with Outlook Contacts panel. I receive the following error, as NeilN, when clicking on Go. I tested both with Outlook running and not.
I downloaded the plugin from
here, but I see v1.0 and not (minimum) 1.1 as expected after the "updated package" by GoMa.
Nothing also happens when choosing Panel Properties.
What's wrong?
ps my config: WinXp SP2 italian P4M 2.0Ghz 768Mb Ram, Office 2003 italian
GoMa
Sep 21 2004, 06:22 AM
Which Outlook version are you using?
| QUOTE |
| I downloaded the plugin from here, but I see v1.0 and not (minimum) 1.1 as expected after the "updated package" by GoMa. |
I marked it as version 1.0 because it was just a port of the incompatible previous version. Nothing has really changed.
| QUOTE |
| Nothing also happens when choosing Panel Properties. |
Nothing happens because there's no properties for this panel, it doesn't have any property to set.
Please attach a screenshot of the error message, that would help.
ilNebbioso
Sep 21 2004, 09:43 AM
As I wrote, I'm using Office 2003 ita (alias Outlook 2003 ita).
GoMa
Sep 21 2004, 09:54 AM
Sorry, didn't notice that.
Can you please check the plugin directory (usually c:\Documents and Settings\[USER NAME]\Application Data\Desktop Sidebar\plugins\OutlookContacts\) and tell me if you see a file called Microsoft.Office.Interop.Outlook.dll there?
ilNebbioso
Sep 22 2004, 05:31 AM
GoMa,
don't worry, you're welcome!
Regarding the DLL file, it's exactly there where you indicated, it is a file 408176 byte lenght dated 10/08/2004 15.03.52.
The error I receive is titled Microsoft .net Framework and the text gives me an exception. Below the full debug information given (please note their in italian language):
| CODE |
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra sono riportate in fondo al messaggio.
************** Testo dell'eccezione ************** System.IO.FileNotFoundException: Impossibile trovare il modulo specificato. at OutlookContacts.OutlookConnector..ctor() at OutlookContacts.Panel.btnGo_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati ************** mscorlib Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- CapturePanel Versione assembly: 1.0.1634.26434 Versione Win32: 1.0.1634.26434 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/CapturePanelv3/CapturePanel.DLL ---------------------------------------- dsidebarpia Versione assembly: 1.4.68.0 Versione Win32: 1.4.68.65535 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/CapturePanelv3/dsidebarpia.DLL ---------------------------------------- mscorlib.resources Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.573 Base di codice: file:///c:/windows/assembly/gac/mscorlib.resources/1.0.5000.0_it_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- System.Drawing Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- System.Windows.Forms Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- ClipboardViewer Versione assembly: 2.1.0.0 Versione Win32: 2.1.0.0 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/ClipboardViewer/ClipboardViewer.DLL ---------------------------------------- dsidebarpia Versione assembly: 1.4.69.0 Versione Win32: 1.4.69.65535 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/ClipboardViewer/dsidebarpia.DLL ---------------------------------------- IPPanel Versione assembly: 4.0.0.0 Versione Win32: 4.0.0.0 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/IPPanel/IPPanel.DLL ---------------------------------------- OutlookContacts Versione assembly: 1.0.1707.37285 Versione Win32: 1.0.1707.37285 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/OutlookContacts/OutlookContacts.DLL ---------------------------------------- dsidebarpia Versione assembly: 1.4.74.0 Versione Win32: 1.4.74.65535 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/OutlookContacts/dsidebarpia.DLL ---------------------------------------- PrinterQueue Versione assembly: 1.0.1714.21078 Versione Win32: 1.0.1714.21078 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/PrinterQueue/PrinterQueue.DLL ---------------------------------------- dsidebarpia Versione assembly: 1.4.75.0 Versione Win32: 1.4.75.65535 Base di codice: file:///C:/Documents%20and%20Settings/Administrator/Dati%20applicazioni/Desktop%20Sidebar/plugins/PrinterQueue/dsidebarpia.DLL ---------------------------------------- ClipObjects Versione assembly: 1.0.0.0 Versione Win32: 1.0.0.0 Base di codice: file:///C:/Programmi/Desktop%20Sidebar/ClipObjects.DLL ---------------------------------------- System.resources Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.573 Base di codice: file:///c:/windows/assembly/gac/system.resources/1.0.5000.0_it_b77a5c561934e089/system.resources.dll ---------------------------------------- System.Management Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll ---------------------------------------- RegexAssembly6_0 Versione assembly: 0.0.0.0 Versione Win32: N/D Base di codice: ---------------------------------------- System.Xml Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- System.Data Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.2032 Base di codice: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll ---------------------------------------- Microsoft.Office.Interop.Outlook Versione assembly: 11.0.0.0 Versione Win32: 11.0.5530 Base di codice: file:///c:/windows/assembly/gac/microsoft.office.interop.outlook/11.0.0.0__71e9bce111e9429c/microsoft.office.interop.outlook.dll ---------------------------------------- SYSTEM.WINDOWS.FORMS.resources Versione assembly: 1.0.5000.0 Versione Win32: 1.1.4322.573 Base di codice: file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.5000.0_it_b77a5c561934e089/system.windows.forms.resources.dll ----------------------------------------
************** Debug JIT ************** Per attivare il debug JIT (Just-In-Time), è necessario impostare il valore jitDebugging nella sezione system.windows.forms del file di configurazione dell'applicazione o del computer (machine.config). L'applicazione inoltre deve essere compilata con il debug attivato.
Ad esempio:
<configuration> <system.windows.forms jitDebugging="true" /> </configuration>
Quando il debug JIT è attivato, tutte le eccezioni non gestite vengono inviate al debugger JIT registrato nel computer, anziché essere gestite da questa finestra di dialogo. |
blegat
Sep 29 2004, 02:14 AM
Hello,
I'm also very interested with extending the search to LDAP account set in Outlook. It works great with adress book in Outlook. Are you working on it ? and do you have an estimation date for this feature ?
Thanks
GoMa
Sep 29 2004, 04:52 AM
Estimation of date - don't have one at all and don't like deadlines. ;p
Working on it - I am trying to find a way, anybody with code samples could post a link and that would help.
GoMa
Sep 29 2004, 05:51 AM
Are these LDAP contacts in an Outlook folder (i.e. you can see it in the folder tree)? Because I can show the contents of any folder in the panel.
Someone with Exchange that wants to test a totally untested and unguaranteed version which might get the contacts from the GAL, please tell me your email address.
blegat
Sep 29 2004, 06:45 AM
no, LDAP contacts don't appear in an Outlook folder. When you open Outlook and make a search (directly on top of the window), the result of LDAP appears on a popup. If you can just show this popup it will be nice, like Notes or Calendar do. I'll send you my email by PM to test your beta version.
GoMa
Oct 3 2004, 02:52 PM
Is someone willing to test the GAL functionality? Email me. Thanks. It's quite a big problem that I don't have any way to test it myself.
reggu_heert
Dec 16 2004, 07:43 AM
A useful feature to add to the Outlook Contacts bar is to add a column in the tabular output of "Details" that would contain a link next to each name that would open that person's detailed (outlook) contact card.
The format for links to specific address book entries is:
Outlook:contacts/~[Firsname]%20[Lastname]
Considering how great the panel is at finding people based on words entered into the contacts folder, then I assume it wouldn't be too much to add a specific link to each person's contact card (since the name would be known, so it would be easy to populate the generic Outlook:contacts/... link as above)
The only possible issue is that when I type the Outlook:contacts... link in a browser window, it will not only display the contact card (which I want) but also creates a new "no page to display" page in the browser. Perhaps this wouldn't be a problem if the link were not launhed from a browser but from the contacts results table itself..?
Then again, perhaps GoMa and other developers already encountered problems / limitations with what I'm suggesting. Alternatively some way of adding columns to the tabular output (like email) could be useful (even without a GUI, like having some XML file to list columns)
In any case, the Outlook Contacts bar is yet another great feature of the DesktopSidebar. So far I haven't encountered any of the problems that other posters on this forum have (using O2002 on XP). Awesome work GoMa and the entire community!
- Eric
GoMa
Dec 16 2004, 07:47 AM
I think it will not be a problem to add this feature (it was not requested before). I will try to implement it.
| QUOTE |
| Awesome work GoMa and the entire community! |
Actually you need to thank NeilN. He programmed this panel initially, I just ported it to the new Desktop Sidebar SDK.
Vidge
Jan 6 2005, 12:44 PM
I'm having the same problem with this panel as ilNebbioso above, running Outlook 2003 Pro. I think I've figured out what part of my problem is: the contacts panel must be reading the defualt contacts folder and I don't have any contacts in that folder. All of mine are in another folder (done for other reasons and I can't really change them over). All the other OL panels have the ability to select the folder, but this one does not. Am I missing something here? Thanks!
deflef
Jan 19 2005, 06:00 PM
Hey.. Me would be number three. I have the same probem as ilNebbioso and Vidge using Outlook2000. And I am using German version... but the message I get is the same as ilNebbioso already posted in Italian.
Looks like a bigger problem? :(
GoMa
Jan 20 2005, 12:00 PM
Er.. I don't know. I would have thought the problem to be Outlook 2000 but apparently the error occurs with Outlook 2003 too.
yoyo-pete
Jan 24 2005, 01:56 PM
Well, while you are working on things, here are some more ideas:
1. Display the company field.
2. Allow searches by company. <-- This would be really great!
You could show the address and search on that, but company is better for us corporate users.
I have a system I developed where the search field looks at first name, last name, company, and street address.
Just some ideas.
MetaHawk
Jan 28 2005, 09:19 AM
| QUOTE (reggu_heert @ Dec 16 2004, 10:43 AM) |
A useful feature to add to the Outlook Contacts bar is to add a column in the tabular output of "Details" that would contain a link next to each name that would open that person's detailed (outlook) contact card. |
You can already pick up a contact's detail card by using the Notes panel.
See
THIS piccie for a view.
Clicking on contact will bring up the details card.
Just select the contacts folder instead of notes folder in the settings.
yoyo-pete
Jan 28 2005, 10:03 AM
Mine is all wacky cause I have my contacts by company in outlook, so using the notes panel to view contacts give me a list of names out of order.
Likewise, it would be nice if the preview pane for that gave you more than just the notes for that contact (like a summary view of their contact info).
I think the real contacts panel is better, but it needs to be able to use company.
Like show me all my contacts at "Ropeadope".
It should give a list of all the people at that company.
Please? With sugar?
MetaHawk
Jan 28 2005, 11:45 AM
Oh, it does have its shortcomings, no doubt. But, until the other contacts panel is fully developed, it is a way of getting to the cards easily.
I would like to see the same layout in the new contacts panel tbh, perhaps with ordering & filter options? Would then still be a nice & quick click to get the details card displayed.
robc
Aug 9 2005, 01:28 AM
I already asked for it elsewhere, but forgot exactly where... sorry: wasn't the source for this panel available? I cannot find it anywhere (only the source for yyy's panel which doesn't work with Outlook) and I need it to make a few changes.
GoMa
Aug 9 2005, 01:45 AM
It was in PM and I already answered you IIRC.

I am almost sure I lost the code of this panel after formatting my drive (forgot to back it up I guess).

I'll check again when I'll get home.
See
here for Neil's old source. I did not make many modifications.
Sorry.
robc
Aug 9 2005, 01:55 AM
Right, GoMa, I remembered the "lost" source problem but not that we talked about it in PMs

Now, why didn't I find the post you linked to? shame on me...

or on the forum's search engine???
Thanks anyway, will get the original code and play with it.
robc
Aug 9 2005, 05:22 AM
Oh, well, the original source seems to have some missing references and the original panel doesn't work, DS b94 says it was made for an old release, while yours, GoMa, seems to work.
Now, let's start a discussion about backups...
GoMa
Aug 9 2005, 08:36 AM
QUOTE
Oh, well, the original source seems to have some missing references and the original panel doesn't work, DS b94 says it was made for an old release, while yours, GoMa, seems to work.
I didn't mean it would work right away. The reason for me "taking over" the panel is an API change and Neil's lack of time (or will

) to update it.
You can probably use
.NET Reflector and
Reflector.FileDisassembler pretty easily on my panel if you're really desperate.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.