Find file by VB6

G

Hallo everybody. I have a problem in VB6: i want to find a file, having as
output the normal visualization of WIN.
In VB I wrote:

Private Sub Command1_Click()
With Label1
..LinkTopic = "Folders|AppProperties"
..LinkMode = vbLinkManual
..LinkExecute "[OpenFindFile(,)]"
End With
End Sub

Where LABEL1 is a Label into a Form.
The problem is that, if you run this code, the Office Assistance appears,
ask for the file you want to seach, and the initial path or research.
How can I do to tell the Sub the correct parameters to search, for example,
the file XXX.txt in C.\WINDOWS?
Many thanks to everyone will help me!

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top