Problem of finditem method
I want to find the abc.exe in a folders with the 'finditem' method.I gt the error :'type mismatch' when i writes the following codes.
If finditem("abc") = true then
Can i know how to fix it?thanks in Advance
Re: Problem of finditem method
finditem function returns a LONG not a BOOLEAN.
your code should be:
<i>If FindItem("abc") <> 0 Then</i>
I strongly recommend you read about functions you plan to use in the online documentation, e.g., the FindItem documentation has a code example in that does exactly what you are trying to do.