Private Sub Command1_Click()
Dim X, Y
InfoMapControl1.LocateOnePostcode Text4, X, Y, -1
End Sub
The help file says
short LocateOnePostcode(
BSTR Postcode, // the postcode you want to search for
BSTR X, // buffer for x coordinate
BSTR Y, // buffer for y coordinate
short SetMapPosition // option to centre the map on the postacode
)
<\pre>
TIAIain Brodie