Projects

Find all our projects in development below.
All source code is GNU General Public License (GPL)

QuickQuery Half-Life Edition

Browsing QuickQuery HL Edition/CDPathForm.frm (3.46 KB)

VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form CDPathForm 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Cheating-Death Location"
   ClientHeight    =   1095
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4095
   ClipControls    =   0   'False
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "CDPathForm.frx":0000
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1095
   ScaleWidth      =   4095
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  'CenterOwner
   Begin VB.CommandButton Command3 
      Caption         =   "..."
      Height          =   255
      Left            =   3680
      Style           =   1  'Graphical
      TabIndex        =   1
      ToolTipText     =   "Browse for PunkBuster executable"
      Top             =   140
      Width           =   300
   End
   Begin VB.CommandButton Command2 
      Cancel          =   -1  'True
      Caption         =   "Cancel"
      Height          =   375
      Left            =   2400
      TabIndex        =   3
      Top             =   600
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "OK"
      Default         =   -1  'True
      Height          =   375
      Left            =   1080
      TabIndex        =   2
      Top             =   600
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      Height          =   315
      Left            =   120
      MaxLength       =   300
      TabIndex        =   0
      Top             =   120
      Width           =   3495
   End
   Begin MSComDlg.CommonDialog EXEDialog 
      Left            =   600
      Top             =   480
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      CancelError     =   -1  'True
      DialogTitle     =   "Browse for Cheating-Death Executable"
      Filter          =   "Cheating-Death Executable (cdeath.exe)|cdeath.exe|Program Files (*.exe)|*.exe|All Files (*.*)|*.*"
   End
   Begin VB.Image ImgCD 
      Height          =   480
      Left            =   120
      Picture         =   "CDPathForm.frx":000C
      Top             =   540
      Width           =   480
   End
End
Attribute VB_Name = "CDPathForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
    LaunchOptn_CDLocation = Text1.Text
    LaunchForm.lstOptions.List(2) = "Run Cheating-Death: " + LaunchOptn_CDLocation
    Unload Me
End Sub

Private Sub Command2_Click()
    Unload Me
End Sub

Private Sub Command3_Click()
On Error GoTo CancelErr
    EXEDialog.FileName = Text1.Text
    EXEDialog.ShowOpen
    Text1.Text = EXEDialog.FileName
    Text1.SetFocus
    Text1.SelStart = 0
    Text1.SelLength = Len(Text1.Text)
CancelErr:
End Sub

Private Sub Form_Load()
    EXEDialog.flags = cdlOFNOverwritePrompt + cdlOFNLongNames + cdlOFNHideReadOnly
    CButton Command3
    Text1.Text = LaunchOptn_CDLocation
    Text1.SelStart = 0
    Text1.SelLength = Len(Text1.Text)
End Sub



Download QuickQuery HL Edition/CDPathForm.frm

Back to file list


Back to project page