MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB 6.0 and MapPoint add a pushpin?

This is a discussion on VB 6.0 and MapPoint add a pushpin? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I’ve been surfing all day and downloading all kinds of crazy MapPoint examples but for the life of me can’t ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 6
VB 6.0 and MapPoint add a pushpin?

I’ve been surfing all day and downloading all kinds of crazy MapPoint examples but for the life of me can’t seem to create my own MapPoint interactive program. Can anyone give me an example of some full code that will add a pushpin to an open MapPoint application by postal or zip code? Right now I’m exhausted and about 6 pots of coffee shy of a working solution.

In the end I’d like to have my code start running based on a “right click” on the MapPoint map but for the time being I’m fine with stepping through my code from VB 6.0 , for some reason all of the examples I’ve tried to create just sit there and none of the events ever get fired. EXAMPLES, IDEAS or COFEEE Welcome? I'm familiar with VB 6.0 but not on how to get it working with MapPoint... THANKS
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 07-19-2005
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Try this example.

Code:
Dim objmap As MapPoint.Map
Set objmap = GetObject(, "MapPoint.Application").ActiveMap
Set objFindResults = objmap.FindAddressResults(, , , , "20037", geoCountryUnitedStates)
objmap.AddPushpin objFindResults(1).Location, "My Pushpin"
__________________
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

Tags
add, mappoint, pushpin


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
Getting the cursor to look like a MapPoint pushpin BobFromBoston MapPoint 2006/2009 Discussion 1 02-04-2006 04:02 AM
MapPoint logo obscuring pushpin Anonymous MapPoint 2006/2009 Discussion 1 09-29-2004 06:13 PM
How to Add pushpin to a MapPoint Direction every 50m.? Anonymous MapPoint 2006/2009 Discussion 3 06-26-2003 03:15 PM
Finding Pushpin Name by clicking on the Pushpin?(MP 2002) NickSP MapPoint 2006/2009 Discussion 4 01-10-2003 01:11 PM
VB6 + MapPOINT : How to go to a Pushpin ? Vincent BENNER MapPoint 2006/2009 Discussion 1 09-06-2002 11:14 AM


All times are GMT -5. The time now is 06:25 AM.


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


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 52 53 54