Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 7 of 7

VB6 Com Add-In Not Working on Vista

This is a discussion on VB6 Com Add-In Not Working on Vista within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a com add-in created with VB 6 which works fine on all XP machines with MapPoint 2006, but ...

  1. #1
    dmaestro22 is offline Junior Member White Belt
    Join Date
    Apr 2007
    Posts
    3

    VB6 Com Add-In Not Working on Vista

    I have a com add-in created with VB 6 which works fine on all XP machines with MapPoint 2006, but when I try to add it to MapPoint 2006 on a Vista machine, I get an error that ..."is not a valid Office Add-in"

    I can not find any explanation on the Internet and am assuming that Vista won't work with a VB 6 com add-in and I must reprogram it in VB.net. Unfortunately, MSDN's "Creating Com Add-ins" example is still using VB 6 and VB.net appears to be drastically different (I have no vb.net experience).

    Create COM add-ins in Visual Basic

    Any idea on why I'm getting the error on vista and if it is because the com add-in needs to be in VB.net, where I would find an example vb.net com add-in?

    Thanks,
    Doug

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: VB6 Com Add-In Not Working on Vista

    It isn't the language, as I have two VB6 add-ins that I've tested in MapPoint.
    I'm not sure what I would be doing that is different - they're wrapped in a third party security library (which will tend to cause problems rather than solve them!). The installer is code signed, but the add-ins themselves are not.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    dmaestro22 is offline Junior Member White Belt
    Join Date
    Apr 2007
    Posts
    3

    Re: VB6 Com Add-In Not Working on Vista

    Since it is not the VB6 language, I thought maybe Vista was requiring the dll to be signed so I purchased a code signing cert and signed the dll but still get the same error.

    Again, the add-in installs and works fine in MapPoint 2006 on XP. I am only getting the error in MapPoint 2006 on Vista.

    "C:\EMRI-MP\WebAddin.dll" is not a valid Office add-in.

    Any input would be apreciated.

    Thanks,
    Doug

  4. #4
    dmaestro22 is offline Junior Member White Belt
    Join Date
    Apr 2007
    Posts
    3

    Re: VB6 Com Add-In Not Working on Vista

    It appears to be a bug with MapPoint/Vista with the manual adding of add-ins as I installed the PushPin Tool from Mapping-Tools.com via its Setup program and the add-in worked. When I removed the add-in though and tried to add it back via the manual process I was given the same error.

    Anyone know where to take this problem to find out a fix?

  5. #5
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: VB6 Com Add-In Not Working on Vista

    More likely to be Vista's various restrictions - especially when installing programs. You should include an installer for your add-in - it is generally considered a good idea for your customers, and has been recommended by Microsoft for quite a while now.

    I also recommend you check the Microsoft website for recommendations and best practices for developing with Windows Vista - I think you might also be surprised by a few other things that you should be doing.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  6. #6
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478

    Re: VB6 Com Add-In Not Working on Vista

    Did you try registering the dll with regsvr32

  7. #7
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: VB6 Com Add-In Not Working on Vista

    Thanks Richard and John, from your posts I was able to piece this together --
    COM Add-in is "not a valid Office add-in." under Windows 7 64-bit
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vista Gadget That Tracks the International Space Station
    By Eric Frost in forum MP2K Magazine Articles
    Replies: 2
    Last Post: 01-21-2009, 11:20 AM
  2. Using Virtual Earth in a Vista Gadget
    By Eric Frost in forum MP2K Magazine Articles
    Replies: 1
    Last Post: 01-21-2009, 11:18 AM
  3. Upgrade to Vista - Check Readiness
    By Eric Frost in forum News and Announcements
    Replies: 3
    Last Post: 10-15-2007, 01:53 PM
  4. FindAddressResults not always working?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-10-2003, 06:25 AM
  5. plz help me : working on GPS system
    By shami in forum Products: Pushpin Tool, Single State Mapper
    Replies: 0
    Last Post: 07-17-2003, 06:15 AM

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25