IClientObject.ShowImageServicesDialog method
Applies To: IClientObject
Displays a list of services on a specified server. It shows the default Image Services dialog that allows the users to pick a published Image Services or browse to an .ISRef. Multiple services can be selected from the dialog.
[Visual Basic 6.0]
variable = Object.ShowImageServicesDialog(imageServicesXML)
Arguments
[in] imageServicesXML
String that represents the ImageServicesInfo XML. For more details view the XML schema available at: [ArcGIS Image Server installation folder]\Developer Kit\XML\ISClient.ShowImageServicesDialog.XSD.
Return Value
String. An XML string containing the list of services selected and also the metadata of the selected services.
For more details view the XML schema available at: [ArcGIS Image Server installation folder]\Developer Kit\XML\ISClient.SelectedImageService.XSD.
Remarks
When calling this function, if the server name is not specified then the 'Browse for Servers' dialog appears where the user can select the server. Then the list of services on that selected server is displayed.
Requirements
Platform |
32 bit Windows OS (WinXP) |
Environment |
.NET Framework, COM, ANSI C / C++ Standard compliant |
Dependency |
ESRI.ImageServer.ISClient.dll (.NET Framework), ISClient.dll (COM/C++), ISClientC.dll (C/C++) |
Include |
isclientc.h (ANSI C) |
Example
[Visual Basic 6.0]
Private Sub Form1_Load()
Dim client As New CClientObject
Dim strConfigPath As String
strConfigPath = "c:\Program Files\ArcGIS\ImageServer10.0\XADefs\ISViewer.ISCConfig"
If client.Init(strConfigPath) = False Then
MsgBox client.Status
Exit Sub
End If
Dim selectedImageServicesXML As String
selectedImageServicesXML = client.ShowImageServicesDialog(“”)
End Sub
For a detailed example, please see the ISViewer Sample in VB 6.0 in [ArcGIS Image Server installation folder]\Developer Kit\Client Applications\Samples\ folder.