Hi,
my problem is, that I need the PostalCode to be shown at the SearchWindow. But I couldn't find any posibility to show the PostalCode at the results of the search.
So I started to create my own searchwindow by using the FindResults-Method. But anyway I get a error returned. This is my code: The line where the error is being returned is marked.
I'm using VB6.0.
Can anybody please help me? I don't know what to do.Code:Dim objApp As New MapPoint.Application Dim objMap As MapPoint.Map Dim strAddress As String Dim objFR As MapPoint.FindResults Dim objSA As MapPoint.StreetAddress Dim objLOC As MapPoint.Location Set objMap = objApp.ActiveMap objApp.Visible = True objApp.UserControl = True strAddress = "Paris, France" Set objFR = objMap.FindResults(strAddress) Set objLOC = objFR.Item(1) Set objSA = objLOC.StreetAddress '############################################ 'here appears the error '91': object variable not set MsgBox objSA.PostalCode
Thank you