Unable to import Office objects-VBForums
Results 1 to 2 of 2

Thread: Unable to import Office objects

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2012
    Posts
    25

    Unable to import Office objects

    Hi,

    I wish to use outlook from VB 2010 but when i try to import any Office applications like the following :

    Code:
    Imports Outlook = Microsoft.Office.Interop.Outlook
    i cant see everything under Office in the namespace...

    when i type Imports Outlook = Microsoft. (...) i got the following but not Office :
    * CSharp
    * Reporting
    * ReportingServices
    * SQLServer
    * VisualBasic
    * Win32

    any idea why can't i see office?

  2. #2
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,920

    Re: Unable to import Office objects

    Did you add the reference from menu Project~~> Add reference?
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.