I have a find file project that I am using the shell to do it here's the
code:
Dim s as shell
Dim actualtexttolookfor as string
s=New shell
#if TargetCarbon or TargetLinux and Not(TargetPPC) and Not(TargetWin32)
then
actualtexttolookfor = replaceall(""+searchfor.text," ","+")
s.execute "locate " + actualtexttolookfor
#else
MSGBOX "This doesn't run on Windows or MacOS Classic!"
#endif
resultpath.text = s.result
But for some reason when I enter a file name nothing happens I don't get
any results and I know I have that file on my computer I am using a file to
test the search program. What gives?
Brian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|