VERSION 5.00 Begin VB.Form FrmOpenFileBB Caption = "Open File" ClientHeight = 5820 ClientLeft = 60 ClientTop = 345 ClientWidth = 5700 LinkTopic = "Form1" ScaleHeight = 5820 ScaleWidth = 5700 StartUpPosition = 2 'CenterScreen Begin VB.FileListBox filFile Height = 1260 Left = 1800 TabIndex = 5 Top = 3360 Width = 3135 End Begin VB.DirListBox DirFile Height = 2565 Left = 1800 TabIndex = 3 Top = 600 Width = 3135 End Begin VB.DriveListBox DrvFile Height = 315 Left = 1800 TabIndex = 1 Top = 120 Width = 1215 End Begin VB.Label LblFile Caption = "Open input file:" Height = 255 Left = 120 TabIndex = 4 Top = 3480 Width = 1455 End Begin VB.Label LblDirectory Caption = "Look in directory:" Height = 255 Left = 120 TabIndex = 2 Top = 720 Width = 1335 End Begin VB.Label LblLookIn Caption = "Look in drive:" Height = 255 Left = 120 TabIndex = 0 Top = 120 Width = 1095 End End Attribute VB_Name = "FrmOpenFileBB" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit 'FrmOpenFile (FrmOpenFile.frm) Private Sub dirFile_Change() filFile.Path = DirFile.Path End Sub Private Sub drvFile_Change() DirFile.Path = DrvFile.Drive End Sub Private Sub filFile_DblClick() FileFullName = DirFile.Path & "\" & filFile.FileName MsgBox "File is" & FileFullName Call Unload(FrmOpenFileBB) Call LoadFile End Sub