What method are you using to "Open" the file in Question?
I have a Form I copy into my project space when I want to access files...
Copy the code below into a text file and then rename it FN.frm
Because the FN form can be thought of as a separate Class or Object anything on the form can be accessed using FN. until the form is unloaded.
Let me know if it helps. :)
VERSION 5.00
Begin VB.Form FN
AutoRedraw = -1 'True
Caption = "Select Files"
ClientHeight = 7950
ClientLeft = 60
ClientTop = 345
ClientWidth = 4365
Icon = "FN.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7950
ScaleWidth = 4365
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox txtNewFile
Height = 435
Left = 105
TabIndex = 8
Text = "Text1"
Top = 3570
Width = 4110
End
Begin VB.ComboBox cmboExts
Height = 315
Left = 2205
TabIndex = 5
Text = "Combo1"
Top = 3000
Width = 1995
End
Begin VB.FileListBox File1
Height = 2820
Left = 2200
TabIndex = 2
Top = 90
Width = 2000
End
Begin VB.DirListBox Dir1
Height = 2790
Left = 120
TabIndex = 1
Top = 100
Width = 2000
End
Begin VB.DriveListBox Drive1
Height = 315
Left = 100
TabIndex = 0
Top = 2940
Width = 2000
End
Begin VB.Label Mode
AutoSize = -1 'True
Caption = "0"
Height = 195
Left = 1050
TabIndex = 9
Top …