| Missing a line?
Have you initialised the MapPoint ActiveX on the form in the Form_Load event?
Private Sub Form_Load()
Me.MappointControl1.newMap geoMapEurope ' geoMapNorthAmerica
End Sub
Otherwise "ActiveMap" is Nothing (hence "object not set").
Try that and let me know if you're still stuck.
__________________
Regards
Anthony Hunt ach@kl2.com
Senior Technical Specialist
Kappa Lambda Squared Limited www.kl2.com
Erskine House, 53 London Road, Maidstone, Kent. ME16 8JH
Tel: 01622 670095
Fax: 01622 200119
magnus frater spectat te
|