Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on ActiveX Control within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Ok, I have a VB project with several forms that have the mappoint activex control embedded on them... problem is ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| ActiveX Control Any ideas of how to get around this? |
| ||||
|
Do your check for mappoint either in a splash screen or sub main.
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| ||||
|
Sure, this code will add the MapPoint control to form1. (You still need to have the Control added to your project.) 'General Declarations Section Dim WithEvents MPC As MappointControl Private Sub Command1_Click() Set MPC = Controls.Add("Mappoint.Control.9", "MappointControl1", Form1) MPC.Move 1, 1, Form1.Width - 100, Form1.Height - 100 MPC.Visible = True Set objMap = MPC.NewMap(geoMapNorthAmerica) End Sub
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| activex, control |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Keyboard control in mappoint activex control | djcapslock | MapPoint 2006/2009 Discussion | 1 | 03-10-2005 10:16 AM |
| Getting [SelectedArea] from an ActiveX control | Bug | MapPoint 2006/2009 Discussion | 1 | 02-19-2004 10:43 AM |
| I am trying to build an activeX control using Map.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-24-2001 05:05 PM |
| I am using the MapPoint ActiveX control in a VB Ap.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-24-2001 06:35 AM |
| How does one get the activeX mappoint control to d.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-25-2001 06:26 PM |
Corfu Holiday
Why not enjoy the option of a Corfu holiday through UlookUbook? Check out the online offers...