search for file but not with "App.path"
how do you make it so that when the form loads it will search for a file that's not in the same directory as the application. how do you make it search C: for the file but not c:\program files\bla bla bla\bla2\bla.exe?
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
Re: search for file but not with "App.path"
you can issues a chdir("C:\")
Re: search for file but not with "App.path"
where do i put the filename?
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
Re: search for file but not with "App.path"
If I understand you, you're not willing to have the user select the file, with a File Open dialog, so you may want to check out the FindFirstFile api.