O'Reilly logo

ArcGIS By Example by Hussein Nasser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Real-time search and filtering

After adding the textbox right on the toolbar, it will make it easier for us to search for restaurants. Let us code this control:

  1. If necessary, open Visual Studio Express in administrator mode.
  2. Go to File, then click on Open Project, browse to the Bestaurants project from the C:\ArcGISByExample\bestaurants\Code, and click on Open.
  3. We need the txtSearchform control to have access to ArcMap application. For that, we need to add an Application property and then set it. Right-click on txtSearchForm.vb and select View Code.
  4. Add the following property to the code:
    Public Class txtSearchform
    
        Private _application As ESRI.ArcGIS.Framework.IApplication
     Public Property ArcMapApplication() As ESRI.ArcGIS.Framework.IApplication ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required