Hi
I want to search in a folder whether it contain a image or not(the image can of any type means .gif,.jpg) ,on that basis i want to do further processing ,pls any one can help me out.
Thx in Advance
Yogesh
Printable View
Hi
I want to search in a folder whether it contain a image or not(the image can of any type means .gif,.jpg) ,on that basis i want to do further processing ,pls any one can help me out.
Thx in Advance
Yogesh
lol,
try dir function
Hi
Iam new to vb how to use dir function and can i do same thing file ssytem object if yes how?
Thx
Yogesh
VB Code:
if dir("c:\test.jpg") <> "" then 'File exists Endif
I think the best thing for you to do is read a book on programming or take a course.
No offence, but Dir is a basic function which is essential to programming with vb.
No offence and thanks.
Hi
Perhaps u wont get my question properly i dont want to search for a specific image the folder can conatin any number of images with different extension,
perhaps u got now.
Yogesh
Sorry, you need to go on a course.
I could explain but cba.
Thanks,
Steve.
Oh, I understand the question ok.Quote:
Originally Posted by vbyogesh
But you really should try other sources before you ask us to write your code for you.
Try here
http://msdn.microsoft.com/library/de.../vafctdirx.asp
I hope this helps....