Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/05/2012, 17:33
arnold_acr
 
Fecha de Ingreso: mayo-2012
Ubicación: Leon, Mexico
Mensajes: 1
Antigüedad: 12 años
Puntos: 0
Respuesta: Abrir archivo en red

Hola rglk666.

Por que no pruebas esto, haber si te funciona:

package pruebaarchivo;

import java.io.File;
import java.awt.Desktop;
import java.io.IOException;

/**
*
* @author Arnulfo Manríquez Arenas
*/
public class PruebaDesktop
{
public static void main(String[] args) throws IOException
{
Desktop desktop = Desktop.getDesktop();
File archivo = new File("\\\\192.168.174.1\\ArchivosCompartidos\\doc. pdf");

if (desktop.isSupported(Desktop.Action.OPEN))
{
desktop.open(archivo);
}
}
}

Saludos, espero te funcione.