MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Sample application in c#

This is a discussion on Sample application in c# within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi everyone - I am pulling what is left of my hair out over this one... So - to aid ...


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

Today's Posts Twitter Feed 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 09-14-2004
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 9
Sample application in c#

Hi everyone -

I am pulling what is left of my hair out over this one...

So - to aid in my tasks...

could someone PLEASE post a COMPLETE sample of a win form application that uses the OCX (activex) control and have it load a map???

i've been trying the blog solution - but there just seems to be too many missing parts for me to assimilate the procedures...

thanks
tony
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 09-14-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Doesn't look like this forum will let you upload files? Email me at mhildner@afweb.com and I'll send you a quick app that does that.

But, just start a new project, reference and add the MapPoint control, then do something like this: (axMap is the MapPoint ActiveX)
Code:
axMap.NewMap(MapPoint.GeoMapRegion.geoMapNorthAmerica);
axMap.ActiveMap.Location = axMap.ActiveMap.GetLocation(36.39394, -105.28393, 0);
I really have no idea of the *proper* way to go about it, as I struggled myself until I got something to work. It does work, though.

Mike HIldner
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 09-16-2004
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 9
Any idea what this means???

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in axinterop.mappoint.dll

Additional information: This method or property is not implemented.


thanks for the assistance!!

take care
tony
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 09-16-2004
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 9
hmmm

Well -

on a fluke - i re-installed mappoint,
and it is working now


go figure


thanks for everyones help!!

take care
tony
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
application, sample


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
MP 2006 & VB6 Sample Code Mike2005 MapPoint 2006/2009 Discussion 1 06-18-2006 11:23 AM
MegaPoints VS.NET Sample Project Anonymous MapPoint 2006/2009 Discussion 1 09-20-2004 12:42 PM
c# code sample?? alt-088 MapPoint 2006/2009 Discussion 0 07-23-2004 10:13 AM
SDK Sample Code Anonymous MapPoint 2006/2009 Discussion 0 09-23-2003 06:31 AM
Home Locator Sample Application Anonymous MP2K Magazine Articles 4 11-20-2002 03:07 PM


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


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Taba Heights Holiday
Visit Egypt with your Taba Heights holiday. Book through UlookUbook and save!



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 55 56 57 58 59