![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/06/2005, 03:36
|
![Avatar de Jose_minglein2](http://static.forosdelweb.com/customavatars/avatar79401_1.gif) | | | Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 19 años, 7 meses Puntos: 8 | |
efectivamente
System.IO.Directory dir;
string [] archivos = a.GetFiles(path);
ArrayList imprimibles = new ArrayList;
int i = 0;
while (i<imprimibles.Length)
{
if (archivos[i].toString().EndsWith("*.pdf") || archivos[i].toString().EndsWith("*.htm"))
{
imprimibles.Add(archivos[i]);
}
i++;
} |