programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
   Main Menu
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Amazon
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Links
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
Code examples are sponsored by Webmastersearn : make money with your website

 

Display all files in a directory

Display all files in a directory

<%
Dim objFSO , objFolder , file
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(Server.MapPath("images/"))
For Each file in objFolder.SubFolders
%>
<a href="images/<%= file.Name %>"><%= file.name %></a><br>
<%
Next
%>
<%
For Each file in objFolder.Files
%>
<a href="images/<%= file.name %>"><%= file.name %></a><br>
<%
Next
Set objFolder = Nothing
Set objFSO = Nothing
%>



Clickbank mall, make money
sell software, make money
Hosted magazine site : make money with no website



 


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Close window with button(Javascript)
FormatDateTime examples(VB)
create random file names(VBScript)
Add lines of text to a file(VB)
Ansi value(ASP)
activate the windows screensaver(Visual Basic)
common dialog to list box(VB)
List al disk drives(VBScript)




Copyright © 2004 by programmershelp.co.uk