Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Germany, Germany
    Posts
    169
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Creation of a common addin (Visual Studio 2005 Pro

    Hello everybody,

    Since a couple of days I am the proud owner of Visual Studio 2005 Professional. I want to create Office AddIns and experience some basic problems. I have set up a very simple project (see attachment), which creates a simple COM-AddIn and simply produces a MessageBox when loaded by an office component. I have configured setup to make the AddIn work with Excel, PowerPoint, Word and Access. Unfortunately, all Office components react differently. The office version is XP with SP3 installed.
    Here are the reactions:
    <UL><LI>PowerPoint reacts like expected, providing the simple MessageBox
    <LI>Access does the same
    <LI>Word provides an error message, which gave a hint to a certain .Net-version. A second start of Word showed no reaction at all
    <LI>Excel does show no reaction at all[/list]Now I am wondering, what I am doing wrong. The Visual Studio is completely new to me, and to be honest, I do have no idea where to start. So if there is someone out there who could help me getting started, that would be great.
    Thanks in advance for your suggestions.
    Attached Files Attached Files

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Creation of a common addin (Visual Studio 2005 Pro

    Office XP was based on VB6, not VB.Net, so that may be where you are running into problems. I work in VS 2005, but I haven't tried building a com add-in to work with Office 2002. <img src=/S/sorry.gif border=0 alt=sorry width=15 height=15>
    Charlotte

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Creation of a common addin (Visual Studio 2005

    Are you using VSTO Second Edition? Apparently you can create COM Add-ins with out it (for an Outlook example, see the links in this post) so the troubleshooting might go in a very different direction.

  4. #4
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Germany, Germany
    Posts
    169
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Creation of a common addin (Visual Studio 2005

    Hello Charlotte, hello Jefferson,

    thank you for your replies, though they do not really encourage me in finding a solution. Unfortunately, I have the situation, that my company is still using Office XP, and it is not very likely that they will change this. My main target would be PowerPoint for the moment, and here it seems to generally work. Unfortunately, I still could not make my COM AddIn respond to events which are fired by PowerPoint. So if there is a resource of knowledge somewhere... It seems that my software-constellation is quite unusual.
    So thanks again for your replies. I would be happy to get some general hints related to Visual Studio 2005 in connection with Office XP. Jefferson, I am NOT working with VSTO, but with Visual Studio Professional.

Posting Permissions

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