Help opening multiple HTML files

  • Thread starter Thread starter Lyday
  • Start date Start date
L

Lyday

I need to write code which will open all HTML files in a given folder
and possibly dump the paths into a collection. A user will not be able
to select them. Any ideas?
 
Try this

string [] htmlFiles = Directory.GetFiles("c:\myFolder","*.html");
 
Shak, it worked. You are the man! I'm new to using file directories,
so you saved me...seriously. Keep on keepin on!

~Lyday

Shakir Hussain said:
Try this

string [] htmlFiles = Directory.GetFiles("c:\myFolder","*.html");

--
Shak
(Houston)


Lyday said:
I need to write code which will open all HTML files in a given folder
and possibly dump the paths into a collection. A user will not be able
to select them. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top