09-30-2008, 03:14 AM
1)Get File NAme using Getroproperty
2)Use the Right Function to get the last 3 characters
3)check if it is "jpg" or "gif"
or
objRegExpr.Pattern = ".*.jpg|.*.gif"
Regards
2)Use the Right Function to get the last 3 characters
3)check if it is "jpg" or "gif"
or
objRegExpr.Pattern = ".*.jpg|.*.gif"
Regards