If "c:\sample.txt" file will always be there then you can define your constant like this:
Change scope to Private if you want to declare it in the form.Code:Public Const SAMPLE_FILE As String = "C:\Sample.txt"
|
Results 1 to 7 of 7
Thread: (Help) Dir Function in Module..Threaded View
|
Click Here to Expand Forum to Full Width |