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

how can i use mappoint ocx with delphi desktop applications?

This is a discussion on how can i use mappoint ocx with delphi desktop applications? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, We would like to use mappoint OCX with our delphi desktop applications. We have MapPoint 60 Day trial version. ...

  1. #1
    joesebi is offline Junior Member White Belt
    Join Date
    Jul 2003
    Posts
    6

    how can i use mappoint ocx with delphi desktop applications?

    Hi,

    We would like to use mappoint OCX with our delphi desktop applications. We have MapPoint 60 Day trial version. I installed that mappoint component to delphi 6. i am getting one error message 'no such interface supported' when i am placing that component over a form. Should i by an evaluvation version or the original ocx? please help to find out a solution.

    Thanks

    Joe

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    MapPoint OCX in Delphi

    We have jusr released version 2 of our VCL wrapper component for Delphi. This allows access to a lot of the functionality of the ActiveX control. Adds interactive maps, etc.

    http://www.gkconsulting.co.uk and look at the "Products" section

  3. #3
    matt1168 is offline Junior Member Yellow Belt
    Join Date
    Jul 2003
    Posts
    14

  4. #4
    joesebi is offline Junior Member White Belt
    Join Date
    Jul 2003
    Posts
    6

    I need more help

    Hi

    The initial part of the artlicle was helpful. i finished the step (1) successfully. but i tried the step(2) & step (3).

    I am using the Trial version of mappoint 2002. Do i need to set up the 'Auto Connect' property of TApplication to TRUE. There is no error message here but i couldnt see the map.

    Here is the code for step (3).

    Var
    vGUID : TGUID;
    begin
    OleContainer1.CreateObject('MapPoint.Map.EU.9',FAl SE);
    OleContainer1.DoVerb(1);
    OleContainer1.OleObjectInterface.GetUserClassID(vG UID);
    FMap := IDispatch(OleContainer1.OleObject) as _Map;
    end;


    I am getting an error message like 'Invalid Class String' for OleContainer1.CreateObject('MapPoint.Map.EU.9',FAl SE);

    how can i find out the OleClassName for MapPoint?

    I added the olecontainer and double clicked the olecontainer and imported the mappoint. if i am double clicking again then i could see the mappoint with all menus and tools.

    Thanks
    Joe

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Hello,

    If you have the trial version of NA, try 'MapPoint.Map.NA.9'

    Greetings, Jack.

  6. #6
    matt1168 is offline Junior Member Yellow Belt
    Join Date
    Jul 2003
    Posts
    14
    Add a _tmap component and call _TMap1.Connect after you previous code this will then trigger the events within _tmap1

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MapPoint 2004 (Desktop version) and Web application
    By William in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 03-24-2006, 03:05 AM
  2. GPS data different in Mappoint then in other applications?
    By Detonator in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-22-2006, 12:19 PM
  3. Web applications and mappoint
    By dantheman in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-17-2005, 12:58 PM
  4. MapPoint Control in Web applications
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-04-2005, 04:09 AM
  5. Web Applications & MapPoint 2002
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-01-2003, 06:34 PM

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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66