Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Office Automation > Integration problem with Outlook View Control (Office 2003 - VS2008)


Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2010, 03:49 AM
gdsoft gdsoft is offline
Newcomer
 
Join Date: Sep 2010
Posts: 1
Default 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}\InProcServe​r32\Assembly = Microsoft.Office.Interop.OutlookViewCtl, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
{0006F063-0000-0000-C000-000000000046}\InProcServe​r32\Class = Microsoft.Office.Interop.OutlookViewCtl.ViewCtlCla​ss

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.
Reply With Quote
Reply

Tags
office 2003, outlook view control, vb.net, vs 2008


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->