Results 1 to 31 of 31

Thread: Interop vs. Core [Not Resolved]

Threaded View

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Arrow Interop vs. Core [Not Resolved]

    What is the difference between ...
    VB Code:
    1. Option Explicit On
    2. Option Strict On
    3.  
    4. Imports Microsoft.Office.Interop
    5.  
    6. Public Class Blah
    7. '...
    8.  
    9. 'And
    10.  
    11. Option Explicit On
    12. Option Strict On
    13.  
    14. Imports Microsoft.Office.Core
    15.  
    16. Public Class Blah
    17. '...
    I have two systems both running the same version of VS 2003 w/VSTO 2003 on XP. Only difference is one
    is XP SP1 and the other is XP SP2. Now if on the system without the .Interop namespace some Office code will give
    errors. I have to end up only importing just the Microsoft.Office namespace only.

    Here is the code in question.

    And on the working system -


    The XP SP1 system only shows the Core namespace.



    Is there any reason that I should not import the entire Office namespace?

    Thanks for any insight into this.
    Last edited by RobDog888; Apr 27th, 2005 at 12:24 AM.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

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



Click Here to Expand Forum to Full Width