hi all,I'm trying to use axmapcontrol.centerat and axmapcontrol.flashpoint in a function.I use flashpoint after the centerat function but it flash the center of the map before moving to the point on which i want to centerat. Dim x, y As Double
        Dim bb As Boolean = False
        Dim psymbol As ISymbol
        Dim pfillsymbol As ISimpleMarkerSymbol
        Dim irgbcolor As IRgbColor = New RgbColor
        Dim ppoint As IPoint
        x = CType(TextBox1.Text, Double)
        y = CType(TextBox2.Text, Double)
        ppoint = New ESRI.ArcGIS.Geometry.Point
        ppoint.X = x
        ppoint.Y = y
        ppoint.SpatialReference = axMapControl1.SpatialReference
        irgbcolor.RGB = System.Drawing.Color.Red.ToArgb
        pfillsymbol = New SimpleMarkerSymbol
        pfillsymbol.Style = esriSimpleMarkerStyle.esriSMSDiamond
        pfillsymbol.Color = irgbcolor
        pfillsymbol.Size = 25
        psymbol = CType(pfillsymbol, ISymbol)
        psymbol.ROP2 = esriRasterOpCode.esriROPNotXOrPen
        axMapControl1.CenterAt(ppoint)
        axMapControl1.FlashShape(ppoint, 5, 500, psymbol)
 
can anyone tell me why i have this result and how to center on the point before flashing it ?RegardsC. MILLOT