caribbeanf1
07-10-2007, 05:41 AM
Hi All, can nayone assist me with this issue.
I cam trying create a simply online photo album and are trying to asp folder object to read the image files from a folder, but I am not being successful.
Here is what I did:
<%
Dim fs,fo
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set fo=fs.GetFolder("\powellsvacation")for each x in fo.files
'Print the name of all files in the test folder
Response.write(x.Name & "[b]")
nextset fo=nothing
set fs=nothing
%>
set fo=nothing
set fs=nothing
%>
I cam trying create a simply online photo album and are trying to asp folder object to read the image files from a folder, but I am not being successful.
Here is what I did:
<%
Dim fs,fo
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set fo=fs.GetFolder("\powellsvacation")for each x in fo.files
'Print the name of all files in the test folder
Response.write(x.Name & "[b]")
nextset fo=nothing
set fs=nothing
%>
set fo=nothing
set fs=nothing
%>