⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.frm

📁 labwindows 源码 CVI的 DDE数据交换源代码 这是CVI和VB2种平台之间的数据交互
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmMain 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "DDE Conversation with CVI Application"
   ClientHeight    =   5340
   ClientLeft      =   45
   ClientTop       =   1455
   ClientWidth     =   6210
   FontTransparent =   0   'False
   ForeColor       =   &H80000008&
   LinkMode        =   1  'Source
   LinkTopic       =   "System"
   PaletteMode     =   1  'UseZOrder
   ScaleHeight     =   5340
   ScaleWidth      =   6210
   Begin VB.Frame Frames 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Destination Data"
      ForeColor       =   &H80000008&
      Height          =   3015
      Index           =   2
      Left            =   120
      TabIndex        =   20
      Top             =   2280
      Width           =   6015
      Begin VB.TextBox txtData 
         Appearance      =   0  'Flat
         Height          =   2160
         Left            =   120
         LinkTimeout     =   1200
         MultiLine       =   -1  'True
         ScrollBars      =   3  'Both
         TabIndex        =   21
         Top             =   720
         Width           =   5760
      End
      Begin VB.OptionButton optDataType 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "Text"
         ForeColor       =   &H80000008&
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   13
         Top             =   360
         Value           =   -1  'True
         Width           =   1095
      End
      Begin VB.PictureBox picData 
         Appearance      =   0  'Flat
         AutoRedraw      =   -1  'True
         BackColor       =   &H80000005&
         DrawWidth       =   2
         ForeColor       =   &H80000008&
         Height          =   2160
         Left            =   120
         ScaleHeight     =   2130
         ScaleWidth      =   5730
         TabIndex        =   22
         Top             =   720
         Visible         =   0   'False
         Width           =   5760
      End
   End
   Begin VB.Frame Frames 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Server Properties"
      ForeColor       =   &H80000008&
      Height          =   1440
      Index           =   1
      Left            =   4200
      TabIndex        =   19
      Top             =   720
      Width           =   1920
      Begin VB.TextBox txtSourceTopic 
         Appearance      =   0  'Flat
         Height          =   285
         Left            =   120
         TabIndex        =   16
         Text            =   "System"
         Top             =   960
         Width           =   1695
      End
      Begin VB.CheckBox chkSourceMode 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "Enable &Server"
         ForeColor       =   &H80000008&
         Height          =   240
         Left            =   120
         TabIndex        =   14
         Top             =   360
         Value           =   1  'Checked
         Width           =   1680
      End
      Begin VB.Label Labels 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "Server &Link Topic"
         ForeColor       =   &H80000008&
         Height          =   240
         Index           =   3
         Left            =   120
         TabIndex        =   15
         Top             =   720
         Width           =   1680
      End
   End
   Begin VB.CommandButton cmdExit 
      Appearance      =   0  'Flat
      Caption         =   "E&xit"
      Height          =   480
      Left            =   4200
      TabIndex        =   17
      Top             =   120
      Width           =   1920
   End
   Begin VB.Frame Frames 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Client Properties"
      ForeColor       =   &H80000008&
      Height          =   2160
      Index           =   0
      Left            =   120
      TabIndex        =   18
      Top             =   0
      Width           =   3960
      Begin VB.ComboBox cboAppName 
         Appearance      =   0  'Flat
         Height          =   300
         Left            =   720
         TabIndex        =   1
         Text            =   "Test Server"
         Top             =   360
         Width           =   1695
      End
      Begin VB.ComboBox cboTopic 
         Appearance      =   0  'Flat
         Height          =   300
         Left            =   720
         TabIndex        =   3
         Text            =   "DDE Test"
         Top             =   720
         Width           =   1695
      End
      Begin VB.ComboBox cboItem 
         Appearance      =   0  'Flat
         Height          =   300
         Left            =   720
         TabIndex        =   5
         Text            =   "Knob"
         Top             =   1080
         Width           =   1695
      End
      Begin VB.OptionButton optLinkMode 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "&Notify"
         ForeColor       =   &H80000008&
         Height          =   240
         Index           =   3
         Left            =   2640
         TabIndex        =   8
         Top             =   1200
         Width           =   960
      End
      Begin VB.CommandButton cmdExecute 
         Appearance      =   0  'Flat
         Caption         =   "&Execute"
         Enabled         =   0   'False
         Height          =   480
         Left            =   2640
         TabIndex        =   12
         Top             =   1560
         Width           =   1080
      End
      Begin VB.CommandButton cmdPoke 
         Appearance      =   0  'Flat
         Caption         =   "&Poke"
         Enabled         =   0   'False
         Height          =   480
         Left            =   1440
         TabIndex        =   11
         Top             =   1560
         Width           =   1080
      End
      Begin VB.CommandButton cmdRequest 
         Appearance      =   0  'Flat
         Caption         =   "&Request"
         Enabled         =   0   'False
         Height          =   480
         Left            =   240
         TabIndex        =   10
         Top             =   1560
         Width           =   1080
      End
      Begin VB.OptionButton optLinkMode 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "&Manual"
         ForeColor       =   &H80000008&
         Height          =   240
         Index           =   2
         Left            =   2640
         TabIndex        =   7
         Top             =   960
         Width           =   960
      End
      Begin VB.OptionButton optLinkMode 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "A&utomatic"
         ForeColor       =   &H80000008&
         Height          =   240
         Index           =   1
         Left            =   2640
         TabIndex        =   6
         Top             =   720
         Value           =   -1  'True
         Width           =   1200
      End
      Begin VB.CommandButton cmdConnect 
         Appearance      =   0  'Flat
         Caption         =   "&Connect"
         Height          =   480
         Left            =   2520
         TabIndex        =   9
         Top             =   240
         Width           =   1320
      End
      Begin VB.Label Labels 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "Item"
         ForeColor       =   &H80000008&
         Height          =   255
         Index           =   2
         Left            =   120
         TabIndex        =   4
         Top             =   1080
         Width           =   615
      End
      Begin VB.Label Labels 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "&Topic"
         ForeColor       =   &H80000008&
         Height          =   255
         Index           =   1
         Left            =   120
         TabIndex        =   2
         Top             =   720
         Width           =   615
      End
      Begin VB.Label Labels 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "&App"
         ForeColor       =   &H80000008&
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   0
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Label lblSysLink 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      ForeColor       =   &H80000008&
      Height          =   375
      Left            =   4440
      TabIndex        =   24
      Top             =   5400
      Visible         =   0   'False
      Width           =   1455
   End
   Begin VB.Label Topics 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      ForeColor       =   &H80000008&
      Height          =   375
      Left            =   120
      TabIndex        =   23
      Top             =   5400
      Visible         =   0   'False
      Width           =   2175
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Option Compare Text     ' Perform case-insensitive string comparisons

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -