None
This document will outline the Business Objects Environment and the development of a simple application.
Requirements
Visual Studio 2022 IDE
.NET Framework (not .NET Core)
Module license for E.Net Business Objects
SDK.dll located within our DATASCOPE WMS SDK
A WMS Test Environment
If you would like more information on Getting Started, you can refer to the Business Objects Overview User Guide.
If you don’t like reading, you can watch the video.
Try it!
How to Develop a Simple Application
Prerequisites
As per the prerequisites, you will have to get our DATASCOPE WMS SDK, specifically the DATASCOPE.SDK.dll file, prior to starting coding.
To do that, you will need the .dll file from the DATASCOPE WMS server.
On the DATASCOPE WMS server, browse to C:/ Program Files (x86) / DATASCOPE / DATASCOPE WMS SDK / DATASCOPE.SDK.dll.
Right-click on the .dll file and select Copy.
Paste it on your local machine (C:/Business Objects should be fine) where you will be developing the new app. Creating a folder specifically for Business Objects might be a good idea.
A second prerequisite is to have the WMS_ENET_OBJECT license. To confirm your licensing is correct:
On the DATASCOPE WMS Server, browse to the Licensing folder in your File Explorer.
It will typically be located under C: / DatascopeLicense / License.xml.
Open the License.xml file and search for WMS_ENET_OBJECTS.
This .xml file can also be copied from the DATASCOPE WMS server to your local machine (C:/Business Objects)
If you do not have WMS_ENET_OBJECTS within your license file, then you are not licensed to use this. Contact your local DSP (Datascope Solution Provider) to obtain the Business Objects License and continue with the development.
Setting up your project within Visual Studio
Create a project
First, you'll create a C# application project. The project type comes with all the template files you'll need before you've even added anything.
Open Visual Studio
On the start window, select Create a new project.
From the Create a new project window, search for WinForms and select the Windows Forms App (.NET Framework) template for C#.
Select Next
In the Configure your new project window, enter a name in the Project name box. Example: BODemo
Note: The Project name shouldn’t have any spaces. It is also wise to prefix it with a BO to indicate it’s a new Business Objects App.
Select Create
Note: We’re using the Framework .NET Framework 4.7.2
Insert the DATASCOPE.SDK.dll as a Reference
The base Windows Form Application screen will open.
Next, you must include the DATASCOPE.SDK.dll as a Reference under the References
Right-click on References within your project
Select Add Reference
Browse to the C:/Business Objects folder on your local machine and insert the DATASCOPE.SDK.dll file in the Reference list for the project.
Next, you can start coding.