how to loop through a directory and hyperlink to all files

  • Thread starter Thread starter mrmagoo
  • Start date Start date
M

mrmagoo

I want to loop through a directory and list all files in hyperlinks. Then
when you click on a hyperlink, it opens the file in whatever application it
needs. For now I need to do this with Adobe Acrobat, but I'd like to know
how to do this for Excel, etc.

Can anyone show me some code? I've looked on google and found only
fragments, surprisingly.
 
mrmagoo said:
I want to loop through a directory and list all files in hyperlinks. Then
when you click on a hyperlink, it opens the file in whatever application it
needs. For now I need to do this with Adobe Acrobat, but I'd like to know
how to do this for Excel, etc.

Can anyone show me some code? I've looked on google and found only
fragments, surprisingly.
I actually wrote a usercontrol which binds the contents of a directory
to a datagrid (ASP.NET 1.1) and displays the files and folders with
clickable links. Its late for me now, but I'll try to post some code
tomorrow.

Email me to remind me. ;)
 
Ooh, I'd love to see that.


Ray Booysen said:
I actually wrote a usercontrol which binds the contents of a directory
to a datagrid (ASP.NET 1.1) and displays the files and folders with
clickable links. Its late for me now, but I'll try to post some code
tomorrow.

Email me to remind me. ;)
 
Back
Top