Simple Map Viewer of IMS Services

Last Modified:1/24/2002

This stand-alone VB application connects to any ArcIMS server by using the URL of the server.

How to use:
  1. To run this sample, navigate to your ArcGIS installation directory.
  2. Navigate to \ArcObjects Developer Kit\Samples\IMS\SimpleViewer directory.
  3. In Form_Load, change the following lines of code to match to the infromation of the ArcIMS server you want to connect to. If you don't change these line of code, data from the Geographt Network will be displayed.
      pIMSServiceDescription.URL = ""
      pIMSServiceDescription.Name = "ESRI_Veg"
      pIMSServiceDescription.ServiceType = acMapService
  4. Compile the sample into SimplerViewer.exe.
  5. Run the executable.


Minimum ArcGIS Version Required: 8.1

Difficulty: Intermediate

Visual Basic
File Description
frmIMSViewer.frm Form containing the Map Control.
frmIMSViewer.frx Binary file for form containing the Map Control.
prjSimpleIMSViewer.vbp The project file.

Key CoClasses: IMSConnection, IMSServiceName, IMSLayerFactory, IMSWorkspaceFactory
Key Interfaces: IIMSConnection, IIMSServiceDescription, IIMSMapLayer, ILayer, IActiveView, IPoint, IEnvelope