Specifications

DDE reference
Gallagher & Robertson Glink: API reference manual 189
Visual Basic Examples
The online help in Glink/Windows contains an example that you may use to help
get you started with your own programs. Here we will include another example
that may give you some ideas as to how you can use the DDE verbs. Many
thanks to Ken Shepherd for giving us permission to use this code.
'
' This VisualBasic program uses DDE to capture system information from
' the GCOS8 TSS VIDY system monitor. VIDY can be invoked by any
' TSS user who enters "vidy" at the TSS prompt.
' This code contains other examples of using DDE to perform
' various functions with Glink.
Global masslock As Integer
Global vidyline$
Global vidylnum% ' 1..24, initially zero
Global sysname$ ' system name
Global sysproc% ' number of active processors
Global sysmemk& ' system available memory in Kwords
Global jobmore% ' 1=**MORE** in job column
Global gcosmemk& ' GCOS memory used in Kwords
Global gcoscp% ' GCOS percent of processor used
Global idlememk& ' idle memory in the system in Kwords
Global idlecp% ' percent of system idle processor
VERSION 2.00
Begin Form ddemain
Caption = "Glink DDE Visual Video"
ClientHeight = 5415
ClientLeft = 1560
ClientTop = 1695
ClientWidth = 7425
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MT Extra"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 6105
Left = 1500
LinkTopic = "Form1"
ScaleHeight = 5415
ScaleWidth = 7425
Top = 1065
Width = 7545
Begin CommonDialog CMDialog1
CancelError = -1 'True
Left = 6120
Top = 120
End
Begin TextBox viewhost
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"