Ver Mensaje Individual
  #8 (permalink)  
Antiguo 10/06/2005, 03:36
Avatar de Jose_minglein2
Jose_minglein2
 
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++;
}