MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Embedding MapPoint app into a WinForm?

This is a discussion on Embedding MapPoint app into a WinForm? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does anyone know how to embed the MapPoint app into a WinForm? C# reply is most helpful. Thanks....


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-22-2005
Junior Member
Yellow Belt
 
Join Date: Mar 2005
Posts: 17
Embedding MapPoint app into a WinForm?

Does anyone know how to embed the MapPoint app into a WinForm? C# reply is most helpful. 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 03-23-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

There is a component: mappointcontrol.ocx that you can import in the IDE. Then you can just drop it on a winform and you are started..
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 03-23-2005
Junior Member
Yellow Belt
 
Join Date: Mar 2005
Posts: 17
component refrence

Thanks.

Do you just give the component a name and reference the name the same way you would a MapPoint Application instance?
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 03-23-2005
Junior Member
Yellow Belt
 
Join Date: Feb 2005
Posts: 19
http://support.microsoft.com/kb/302898/EN-US/

no comments
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 03-23-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: component refrence

Hi,

Quote:
Originally Posted by tacaldo
Do you just give the component a name and reference the name the same way you would a MapPoint Application instance?
I'm not sure I understeand you completely. It is very simple, but please explain what you try to do, what your programming skills are, and what your experiance is in C#. Then it is more easy to explain the right steps..
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 03-23-2005
Junior Member
Yellow Belt
 
Join Date: Mar 2005
Posts: 17
background info

Hi Wilfried,

I'm new to MapPoint, so please excuse me if I mangle the references. I'm trying to determine the smoothest development path, whether it makes the most sense to embed a MapPoint component into a form, described in previous post, or to just reference the application through the object model (I beleive is the correct term).

I want to build an application to make use of all the MapPoint capacity, but I want complete control of how the user interacts with it.

As for my background, I am a software architect, 17 years experience building systems, BS CMPS, 3 years using C# and .NET framework, blah, blah, blah.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 03-23-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Ok I was not sure of all that. Also my primary language is not english so difficult to read 'beween the lines'.

so the answer to your question is, yes you drop a mappoint component on your winform in C# and start with it in 5 minute.

However to have all mappoint.exe things in your app;lication you have to code all these thins. Most of them are simple. So the component display the map, has a lots of events and properties but is NOT a mappoint.exe applicatoin withc is good of course.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 03-24-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
In C# it's easy. Open the Toolbox in the forms designer. Right-click the toolbox and select Add/Remove Items. Go to COM components, and select the MapPoint ActiveX control. Then it will generate a wrapper for you, and add Mappoint to the toolbox.
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


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
Embedding MapPoint Install Process in Our Software Install jbendiner MapPoint 2006/2009 Discussion 1 12-30-2004 01:50 PM
Embedding MP within BorlandC++Builder5 mccheese MapPoint 2006/2009 Discussion 1 05-27-2004 07:01 AM
Embedding Mappoint 2002 Europe into Powerpoint XP amyles MapPoint 2006/2009 Discussion 0 05-08-2003 05:17 PM
Embedding a map in an Access report Anonymous MapPoint 2006/2009 Discussion 2 10-14-2002 10:27 AM
10 Second Tutorial: Embedding With Word Anonymous MP2K Magazine Articles 0 06-30-2001 11:48 PM


All times are GMT -5. The time now is 01:59 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

Canada Ski Holidays
Canada is rich in culture and heritage. It boasts over 41 national parks diverse in wildlife and spectacular scenery. Canada ski holidays offer a truly remarkable ski holiday destination.

Cyprus Holidays
Find great Cyprus Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Cyprus.

Cape Town Flight
Book a Cape Town Flight for great value when you book through dealchecker.co.uk. It doesn't take long to find the latest great deals for you.

Holidays in Dubai
Holidays in Dubai are an eclectic mix of the ancient and the modern. Discover an oasis of luxury amid the Arabian desert. Book here now!

Cheap Cyprus Holidays
Finding cheap Cyprus holidays can be difficult unless you know where to look and where to book. With ulookubook.com you can conduct a simple search to find the latest holiday deals to your particular destination.

Travel
Check out the travel options on Travel.co.uk.

Holidays in Gran Canaria
Have some fun in the sun on the Canary Islands! See On The Beach for information on holidays in Gran Canaria.


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