home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form dlgOpen
- Caption = "Open Telnet connection"
- ClientHeight = 2160
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 4560
- Height = 2565
- Left = 1035
- LinkTopic = "Form1"
- ScaleHeight = 2160
- ScaleWidth = 4560
- Top = 1140
- Width = 4680
- Begin SSPanel Panel3D1
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- Font3D = 0 'None
- Height = 2175
- Left = 0
- TabIndex = 1
- Top = 0
- Width = 4575
- Begin CommandButton Command1
- Caption = "VAX"
- Height = 255
- Left = 2760
- TabIndex = 7
- Top = 840
- Visible = 0 'False
- Width = 495
- End
- Begin CommandButton butCancel
- Caption = "&Cancel"
- Height = 375
- Left = 2760
- TabIndex = 6
- Top = 1440
- Width = 1215
- End
- Begin CommandButton butOpen
- Caption = "&Open"
- Default = -1 'True
- Height = 375
- Left = 600
- TabIndex = 5
- Top = 1440
- Width = 1215
- End
- Begin TextBox txtPort
- Height = 285
- Left = 840
- TabIndex = 4
- Text = "23"
- Top = 840
- Width = 735
- End
- Begin TextBox txtSite
- Height = 285
- Left = 840
- TabIndex = 0
- Top = 360
- Width = 3495
- End
- Begin Label Label2
- Alignment = 1 'Right Justify
- BackStyle = 0 'Transparent
- Caption = "Port:"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 840
- Width = 495
- End
- Begin Label Label1
- Alignment = 1 'Right Justify
- BackStyle = 0 'Transparent
- Caption = "Site:"
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 360
- Width = 495
- End
- End
- Option Explicit
- Sub butCancel_Click ()
- Unload Me
- End Sub
- Sub butOpen_Click ()
- frmMain!wskTelnet.IPName = txtSite.Text
- frmMain!wskTelnet.Port = txtPort.Text
- frmMain!wskTelnet.Open = True
- Unload Me
- End Sub
- Sub Command1_Click ()
- txtSite.Text = "cpcvax.uea.ac.uk"
- End Sub
-