Using the PowerSolutionDOTNetOLE Class Library
The classes within the PowerSolutionDOTNetOLE DLL are
for use with VB.NET and C#.NET. They cannot be used with VB6.
Before you can use the classes within the
PowerSolutionDOTNetOLE DLL, your VB.NET or C#.NET project must have a reference
added to the DLL.
If you have received a project from elsewhere, or when
opening the examples provided, it may also be necessary the first time you open
the project, to add a reference to the DLL.
-
For either case, follow the steps below...
-
In Visual Studio, start a new project, or open an
existing project.
-
Open the References node in the Solution Explorer
window..
-
Check if the PowerSolutionDOTNetOLE reference exists
there. If it already exists, ensure the warning icon does not appear
beside the reference.
-
If the warning icon appears (usually if you open a
project sent from somebody else), right click the PowerSolutionDOTNetOLE
reference and select REMOVE. Then continue with the steps below.
-
If the reference exists, but there is no warning
triangle, then the reference is setup correctly and you can then use the
classes within the DLL.
-
If no reference exists, add by selecting from the
menus, PROJECT, ADD REFERENCE.
-
Click the BROWSE button.
-
Browse for and select the DLL (usually installed to
C:\Program Files\Delcam PLC\PowerSolutionDOTNetOLE API
Classes\PowerSolutionDOTNetOLE.dll)
-
It should then appear in the Selected Component window
of the Add Reference form.
-
Finally, click OK.
The reference should now appear, and you can now use the
classes in your application.