Use the class wizard to add an OPC client class to an existing project. The project may be and ASP.NET application, a Windows Forms or Console application or actually any type of project.
The XMLDA.NET Class Wizard adds a reference to the XmlDaNet.dll or XmlDaNet.Net4.dll assembly and a server access class to the project. The class contains small sample code that calls GetStatus and Browse. Either use, modify or delete the sample code and add the project specific client code.
Action | Description |
Add Class |
1) In the current project right click the project name in the solution explorer window. |
Sample Code
|
The wizard created sample code calls: The sample code is in the namespace XmlDANetClient. Either add a |
XMLDA.NET Assembly
|
The wizard copies the XmlDaNet.dll or XmlDaNet.Net4.dll interface assembly from the template directory into the project directory. To upgrade the project to a new version of the Wrapper assembly you need to:
|