Re: launch a html file
- From: Jose Eusebio Roza Pando <jeroza alu uah es>
- To: gtk-app-devel-list gnome org
- Subject: Re: launch a html file
- Date: Tue, 10 Oct 2000 15:02:38 +0200
Thanks for you answers,
but what if the user has not netscape?
Can I launch it in his default viewer, like graphic manager file does
it?
Eusebio
Peter Wurmsdobler escribió:
If for example netscape is already running, you can use:
char syscommand[256];
char filename[] = "x.html";
strcpy( syscommand, " netscape -remote 'openFile (" );
strcat( syscommand, filename );
strcat( syscommand, ")'" );
system( syscommand );
peterw
--
Dr. Peter Wurmsdobler
CTM - Centre de Transfert des Microtechniques
39, av. de l'Observatoire, BP-1445, 25007 Besancon CEDEX 3
TELEPHONE: +33 3 81 47 70 20 TELECOPIE: +33 3 81 47 70 21
E-mail: peter wurmsdobler ctm-france com
Ceterum censeo MIRCOSOFTem esse delendam.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]