MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mapoint 2002 and MS Access 2000

This is a discussion on Mapoint 2002 and MS Access 2000 within the MapPoint 2006/2009 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 ...


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

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 11-25-2003
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
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 11-28-2003
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?)
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 12-01-2003
Junior Member
White Belt
 
Join Date: Nov 2003
Posts: 4
Its a typing error.
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 12-04-2003
Senior Member
Green Belt
 
Join Date: Sep 2003
Posts: 103
what error are you getting?
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 12-04-2003
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
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
2000, 2002, access, mapoint


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


All times are GMT -5. The time now is 03:21 PM.


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


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