heres wat i have coded:
Expand|Select|Wrap|Line Numbers
- Private Sub Command1_Click()
- Dim SearchFile As String
- Dim FileName As String
- If Drive1.Drive = "c:" Then
- SearchFile = Dir$("C:\*.*")
- While SearchFile <> ""
- List1.AddItem (SearchFile)
- SearchFile = Dir$
- Wend
- End If
- End Sub
So my question is 1.) How i'am able to search a file inside a folder and display it
2.) How iam able the to look for a specific file in my drive c:, by in-putting a filename in a textbox. i hope u can picture what i'am trying to do.
Hoping for an immediate help! thank you....