GeoMedia client application samples
The ArcGIS Image Server GeoMedia client was originally developed for GeoMedia 6.0. Since its release GeoMedia has been updated with newer versions which include GeoMedia 6.1, basic and professional versions. The source code is compatible with the GeoMedia 6.0 release.
The client application is developed in VB6. It uses the ISClient.dll which is COM DLL. The ISClient.dll needs to be installed on the system prior to development.
System requirements
The source files for the ArcGIS Image Server GeoMedia client are in the C:\Program Files\ArcGIS\ImageServer10.0\Developer Kit\Client Applications\Samples\ArcGIS Image Server GeoMedia Client folder. You need Visual Basic 6.0 to open the sample source code of the tool.
Software requirements
To start customizing the GeoMedia client application the following are required:
• | GeoMedia v6.0 or 6.1 (basic or professional) |
• | Microsoft Visual Basic 6.0 |
• | ArcGIS Image Server Client Core (ClientCore.msi) |
• | ArcGIS Image Server GeoMedia client source code |
Customizing the ArcGIS Image Server GeoMedia client
Following are the list of source files that are available in the C:\Program Files\ArcGIS\ImageServer10.0\Developer Kit\Client Applications\Samples\ArcGIS Image Server GeoMedia Client folder.
You can open the ImageServerGM.vbp in VB6.
The Geomedia.ISCConfig is the configuration file for GeoMedia client.
The ImageServerGM.dll is the ImageServer GeoMedia client DLL executable file.
The ImageServerGM.xml is an XML file which defines the commands contained in the DLL, and instructions to the DLL registration procedures and how to make them accessible within GeoMedia.
The ImageServerGM.ini is the client application toolbar initialization file.
Deployment guidelines
Installing client application
1. | Check for the GeoMedia installation. |
2. | If found, check the version number. |
3. | If version number is less than 6 then provide a message stating it is not supported and exit. If the version number is 6 then install. |
4. | Copy files to destination location. |
5. | Register components using the following command line: |
<GeoMedia_appPath>\Program\InstallAppCmd.exe /cmdset ImageServerGM /loc
%ProgramFiles%\ESRI\ImageServerGeomediaClient/dll
%ProgramFiles%\ESRI\ImageServerGeomediaClient
Uninstalling client application
1. | Unregister the following command line. |
<appPath>\GeoMedia\Program\InstallAppCmd.exe /u /cmdset ImageServerGM /loc
%ProgramFiles%\ESRI\ImageServerGeomediaClient /dll
%ProgramFiles%\ESRI\ImageServerGeomediaClient
2. | Remove files from installation location. |
3. | Remove installation folder. |
Deploying ISClient Core
In addition to deploying the GeoMedia client application you should make sure the client core is installed on the target machine. To do this simply include ClientCore.msi along with the GeoMedia client deployment.