• Subject: Using a tlb file in VB 2010 project for Outlook
  • Author: Sanjay
  • Date: 15 Sep 2010
  • References:
I am trying to use XL-Dennis'es tlb file as recommend in Professional
Outlook 2007 Programming (Ken Slovak) .

I tried to add the tlb file to VB in Vs2010 and got the error:

A reference to the <filename> could not be added.Please maje sure that
the file is accessible and it is a valid assembly or COM component.

I then tried tlbimp.exe on it and got the message:

TlbImp: error TI1000: The type library encountered an unexpected
exception: Sustem.IO.IOException - Access is denied. <Excpetion from
HRESULT:0x80070005 <E_AccessDENIED>>

I would love to get this working in VB2010.

What am I doing wrong?

Thanks
Sanjay
15 Sep 2010Using a tlb file in VB 2010 project for Outlook.Sanjay
16 Sep 2010\ Re: Using a tlb file in VB 2010 project for Outlook.Ken Slovak
16 Sep 2010   \ Re: Using a tlb file in VB 2010 project for Outlook.Sanjay
17 Sep 2010      \ Re: Using a tlb file in VB 2010 project for Outlook.Ken Slovak
19 Sep 2010         \ Re: Using a tlb file in VB 2010 project for Outlook.Sanjay
20 Sep 2010            \ Re: Using a tlb file in VB 2010 project for Outlook.Ken Slovak
20 Sep 2010               \ Re: Using a tlb file in VB 2010 project for Outlook.Sanjay
21 Sep 2010                  \ Re: Using a tlb file in VB 2010 project for Outlook.Ken Slovak
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)