If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Two pictures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-14-04, 02:01
dove_g dove_g is offline
Registered User
 
Join Date: Jan 2004
Posts: 30
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.
Reply With Quote
  #2 (permalink)  
Old 04-14-04, 02:33
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On