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 8 of 8

Embedding MapPoint app into a WinForm?

This is a discussion on Embedding MapPoint app into a WinForm? within the MapPoint Desktop 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....

  1. #1
    tacaldo is offline 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.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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..

  3. #3
    tacaldo is offline 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?

  4. #4
    Jeurink is offline Junior Member Yellow Belt
    Join Date
    Feb 2005
    Posts
    19

  5. #5
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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..

  6. #6
    tacaldo is offline 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.

  7. #7
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

  8. #8
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Embedding MapPoint Install Process in Our Software Install
    By jbendiner in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-30-2004, 02:50 PM
  2. Embedding MP within BorlandC++Builder5
    By mccheese in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-27-2004, 08:01 AM
  3. Embedding Mappoint 2002 Europe into Powerpoint XP
    By amyles in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-08-2003, 06:17 PM
  4. Embedding a map in an Access report
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-14-2002, 11:27 AM
  5. 10 Second Tutorial: Embedding With Word
    By Anonymous in forum MP2K Magazine Articles
    Replies: 0
    Last Post: 07-01-2001, 12:48 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 26 27 28 29 30 31 32 33 34 35 36