i am using the mappoint control of mappoint european 2004 to create an application
I want to use pushpins to show data on the map
in some exsamples i saw code like:
But it doesnt work!Dim myPushpins(1) As Pushpin
myPushpins(0) = New Pushpin()
myPushpins(0).IconDataSource = "MapPoint.Icons"
myPushpins(0).IconName = "31"
myPushpins(0).Label = "Start"
Here is my Code
plz help me, what sould i do?Code:Dim pinCounter As Integer pinCounter = 0 objRecordSet.MoveFirst() Dim myPushpins(pinCounter.MaxValue - 1) As MapPoint.Pushpin Do While Not objRecordSet.EOF myPushpins(pinCounter) = New MapPoint.Pushpin '<<--- ? "New cannot be used with an Interface..." ? objRecordSet.MoveNext() pinCounter += 1 Loop