>Private Sub Command1_Click() > Dim X, Y > InfoMapControl1.LocateOnePostcode Text4, X, Y, -1 >End Sub > Yiu have an object InfoMapControl1 which has to be instantiated (probably by CreateObject()); you call the method LocateOnePostcode passing it three text strings and a numeric memvar, and expect to get back a number. Your code might looik something like: <pre>oIMC = CREATEOBJ(<i>ProgId of the Control</>) cPostCode = '06516' cX = SPACE(30) cY = SPACE(30) nResult = oIMC.LocateOnePostCode(cPostCode,@cX, @cY, -1)>The help file says