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

Mapoint 2002 and MS Access 2000

This is a discussion on Mapoint 2002 and MS Access 2000 within the MapPoint Desktop Discussion forums, part of the Map Forums category; Why can't I figure out, get to work or find code for the following. All I want to do is ...

  1. #1
    huggesc is offline Junior Member White Belt
    Join Date
    Nov 2003
    Posts
    4

    Mapoint 2002 and MS Access 2000

    Why can't I figure out, get to work or find code for the following. All I want to do is open an existing PTM file in a MS Access subform.

    Dim gappMP As Mappoint Application
    Set gappMP = CreateObject("MapPoint.Application")
    gappMP.OpenMap ("C:\Maps\AnyMap.ptm")
    gappMP.Visible = False
    gappMP.PaneState = geoPaneNone
    'Get the handle of the MapPoint Window
    ghwndMP = FindWindow(vbNullString, "Map")
    'Remove MapPoint Title Bar
    FlipBit ghwndMP, WS_CAPTION, False
    LoadMap = True

  2. #2
    Mossoft is offline Member Yellow Belt
    Join Date
    Feb 2003
    Posts
    48
    Dim gappMP As Mappoint Application --> Dim gappMP As Mappoint.Application
    (or is that just a typo here?)

  3. #3
    huggesc is offline Junior Member White Belt
    Join Date
    Nov 2003
    Posts
    4

  4. #4
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    what error are you getting?

  5. #5
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    try
    Code:
    ghwndMP = FindWindow(vbNullString, "Map - Microsoft MapPoint Europe")
    I'm not sure what this should read for North America if thats what your using

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MS Access extracting data from MP 2002
    By edsager in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 07-25-2005, 09:00 PM
  2. Reporting with MS Access 2000
    By EJBATL in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-02-2003, 09:37 AM
  3. MapPoint Control 9 in Access 2000
    By TomBynum in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-28-2003, 03:51 PM
  4. Is there a simple way to access MapPoint 2002 with....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-25-2002, 12:50 AM
  5. map point 2002 and access
    By frankkk in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-18-2002, 02:59 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