Results 1 to 2 of 2

Thread: Two pictures

  1. #1
    Join Date
    Jan 2004
    Posts
    30

    Unanswered: Two pictures

    On my web page I show picture from some directory, the name of article and picture is taken from database. In subdirectory for some articles I have additional picture with the same name.

    How can I check this subdirectory if does it has picture with the same name, and if this subdirectory includes this picture to show link (detail, or picture 2) otherwise doesn't show link.

    Thank you.

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    use the File System Object and the FileExists(??) method... with it you can check and see if the file is there and if so add your links.

    try this link... http://msdn.microsoft.com/library/en...fileexists.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •