MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB6 Com Add-In Not Working on Vista

This is a discussion on VB6 Com Add-In Not Working on Vista within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 04-12-2007
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2007
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 787
Blog Entries: 5
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-02-2007
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-02-2007
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-03-2007
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 787
Blog Entries: 5
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-15-2007
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Re: VB6 Com Add-In Not Working on Vista

Did you try registering the dll with regsvr32
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/vb6-com-add-not-working-vista-5826.html

Posted By For Type Date
Spatial Data Importer Contest Submission - MP2K Magazine This thread Refback 04-24-2007 08:01 PM
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 04-17-2007 01:59 PM
MapPoint Gets New General Manager - MapPoint News - MP2K Magazine This thread Refback 04-14-2007 08:53 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Upgrade to Vista - Check Readiness Eric Frost News and Announcements 3 10-15-2007 12:53 PM
Vista Gadget That Tracks the International Space Station Eric Frost MP2K Magazine Articles 1 04-20-2007 04:41 AM
Using Virtual Earth in a Vista Gadget Eric Frost MP2K Magazine Articles 0 03-06-2007 01:53 PM
FindAddressResults not always working? Anonymous MapPoint 2006/2009 Discussion 1 09-10-2003 05:25 AM
plz help me : working on GPS system shami Products: Pushpin Tool, Single State Mapper 0 07-17-2003 05:15 AM


All times are GMT -5. The time now is 11:08 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Weekend
Slip in a sneaky ski weekend to add a bit of variety compared to normal weekends. A ski weekend can be great value when you book online at Holiday Hypermarket.

Luxury Travel Agent
Travel Counsellors is a leading Luxury Travel Agent. Whatever your travel needs, city break or luxury holiday, your personal Travel Counsellor can help.

Cape Town Flights
Book Cape Town flights through dealchecker.co.uk to get a great deal. Cape Town has fantastic weather and a wide range of activities to keep you busy.

Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.

Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.

Holidays Package
Make use of our service at Travel.co.uk to compare holidays. We can find you a package deal that will delight you.

Holidays to Fuerteventura
Come on; jump on the plane to the Canary Islands. Get information on cheap holidays to Fuerteventura at On The Beach.


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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51