DDE connection from VisualBasic.NET

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Interface > DDE Interface >

DDE connection from VisualBasic.NET

overview

This article explains examples of settings and application creation for connecting to DDE via the DDE interface of FA-Server from a unique DDE client application developed with VisualBasic.NET.

 

The steps introduced here can be broadly divided into three parts:

 

Step 1 Server settings

 

Set up tag registration.

Step 2 Basic settings for VB

 

Make the necessary definitions to make a DDE connection from VB.NET.

Step 3: Reading and writing values

 

This allows you to read and write item values at any time from VB.NET.

 

 

Download the sample

The creation examples shown on this page are provided with samples.

 

The sample can be downloaded from below.

 

Detailed explanations of each step will be based on VB.NET2010.

 

 

attention

Please note that this sample only supports CF_TEXT and does not support CF_UNICODETEXT.