Cant See Mappoint.Application from VB

Anonymous
06-16-2003, 05:53 AM
I am an experienced VB6 developer new to Mappoint. I wish to start using the product and have clicked on Microsoft Mappoint Control 9 to add the component to my project.

However, when I view the available components all I can see is:

Map
MappedDataField
MappedDataFields
MappointControl
MappointCtl
MappointUtilities

I cant see the Mappoint application itself.

if I type 'Dim objApp As New MapPoint.Application' I get 'User Defined Type not defined'

What am I doing wrong ?

Joakim
06-16-2003, 07:33 AM
Not sure what you mean, but you must work with your ActiveX (MapPointCtl) in VB6 if you do not plan to make an Comm Add-In to MapPoint.

1) Add your MapPoint Control to the Form
2) Add following code in Form_load to make it visible: Me.MappointControl1.NewMap MapPointCtl.GeoMapRegion.geoMapEurope

(or MapPointCtl.GeoMapRegion.geoMapNorthAmerica if you want that region)

Joakim
http://www.spedsoft.se

friendleyvoices
04-15-2004, 10:15 AM
I am an experienced VB6 developer new to Mappoint. I wish to start using the product and have clicked on Microsoft Mappoint Control 9 to add the component to my project.

However, when I view the available components all I can see is:

Map
MappedDataField
MappedDataFields
MappointControl
MappointCtl
MappointUtilities

I cant see the Mappoint application itself.

if I type 'Dim objApp As New MapPoint.Application' I get 'User Defined Type not defined'

What am I doing wrong ?


to open mappoint as an application check the mappoint controls in the references

 
Web mp2kmag.com
mapforums.com