
09-10-2010, 03:49 AM
|
|
Newcomer
|
|
Join Date: Sep 2010
Posts: 1
|
|
Integration problem with Outlook View Control (Office 2003 - VS2008)
|
Hello,
I have a problem with Outlook view control office 2003 integration
The order of my actions is nextÖ
I add new toolbox group
Then add component - click choose items
Then go to "Com components" tab and add Microsoft Office Outlook View Control (...\Office11\Outlctl.dll) version 1.0
Next I try to add control to VB.NET form
VS automatically add reference to OLXLib.dll (Microsoft.Office.Interop.OutlookViewCtl) and generate AxOlXLib (AxInterop.OlXLib)
For Office 12 - VS Aoutmatically add reference to Microsoft.Office.Interop.OutlookViewCtl.dll insteal OLXLib.dll
It seems for me VS coolse wrong Dll for reference, because VS has in special directory \Visual Studio tools for Ouffice\PIA\Office11 same libraries for Office 11
Control took top left conner on the form and don't react on design mode properties changes.
Then - I change Taget CPU to x86 and start form.
Form displays Nothing.
In the Registry written {0006F063-0000-0000-C000-000000000046}\InProcServer32\Assembly = Microsoft.Office.Interop.OutlookViewCtl, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
{0006F063-0000-0000-C000-000000000046}\InProcServer32\Class = Microsoft.Office.Interop.OutlookViewCtl.ViewCtlClass
It seems VS must use reference to the Microsoft.Office.Interop.OutlookViewCtl assembly, but it does not.
As result, nothing works. Formm displays no control, in try to set properties in runtime, appliication crash with error.
OS Windows 2008 64 bit
Microsoft Visual Studio 2008
Microsoft Office 2003 Professional SP3
Please any help!
Thanks
Denis.
|
|