QuickOPC User's Guide and Reference
OpcComputerAndServerDialog Class
Members 



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.Forms.Browsing Namespace : OpcComputerAndServerDialog Class
Displays a dialog box from which the user can select a computer and an OPC server residing on it.
Object Model
OpcComputerAndServerDialog ClassEasyAEClientSelector ClassComputerElement ClassEasyDAClientSelector ClassServerDescriptor ClassServerElement Class
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog)>
<ComVisibleAttribute(True)>
<GuidAttribute("D3D40A97-847B-4E86-84C3-1AE9DB949218")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<DesignerCategoryAttribute("Component")>
Public NotInheritable Class OpcComputerAndServerDialog 
   Inherits OpcDialog
   Implements OpcLabs.BaseLib.Forms.ComTypes._FormCommonDialog, OpcLabs.BaseLib.Forms.ComTypes._SizableCommonDialog, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcDialog, System.ComponentModel.IComponent, System.IDisposable 
'Usage
 
Dim instance As OpcComputerAndServerDialog
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog)]
[ComVisible(true)]
[Guid("D3D40A97-847B-4E86-84C3-1AE9DB949218")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
public sealed class OpcComputerAndServerDialog : OpcDialog, OpcLabs.BaseLib.Forms.ComTypes._FormCommonDialog, OpcLabs.BaseLib.Forms.ComTypes._SizableCommonDialog, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcDialog, System.ComponentModel.IComponent, System.IDisposable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog)]
[ComVisible(true)]
[Guid("D3D40A97-847B-4E86-84C3-1AE9DB949218")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
public ref class OpcComputerAndServerDialog sealed : public OpcDialog, OpcLabs.BaseLib.Forms.ComTypes._FormCommonDialog, OpcLabs.BaseLib.Forms.ComTypes._SizableCommonDialog, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcComputerAndServerDialog, OpcLabs.EasyOpc.Forms.Browsing.ComTypes._OpcDialog, System.ComponentModel.IComponent, System.IDisposable  
Remarks

This is a modal dialog box; therefore, when shown, it blocks the rest of the application until the user has made a selection. When a dialog box is displayed modally, no input (keyboard or mouse click) can occur except to objects on the dialog box. The program must hide or close the dialog box (usually in response to some user action) before input to the calling program can occur.

 

In This Topic

General

Icon:

With OpcComputerAndServerDialog, your application can integrate a dialog box from which the user can select a computer and an OPC server residing on it. This dialog box combines functions of the Computer Browser Dialog -  and OPC Server Dialog into a single dialog. 

In addition, the user can add Computer nodes in case the particular computer is not visible on the network, or add OPC Server nodes in case the OPC Server is known to exist but is not returned by OPC Server enumeration feature.

Here is an example of OPC Computer and Server dialog in action:

Advanced

If you want to change the parameters of the client objects the component uses to perform its OPC operations, you can use the DAClientSelector Property or the AEClientSelector Property.

 

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.CommonDialog
            OpcLabs.BaseLib.Forms.ConcreteCommonDialog
               OpcLabs.BaseLib.Forms.FormCommonDialog
                  OpcLabs.BaseLib.Forms.SizableCommonDialog
                     OpcLabs.EasyOpc.Forms.Browsing.OpcDialog
                        OpcLabs.EasyOpc.Forms.Browsing.OpcComputerAndServerDialog

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also