if VB6, then one option would be to do something like(if there's just one file in the folder that is.)VB Code:
Private Sub Command1_Click() Dim sPath As String sPath = "C:\Path\To\File\" Debug.Print Dir(sPath & "*.*") End Sub
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |