[Gtk-sharp-list] System.Diagnostics.Process.Start...

Luciano _ lnc19 at hotmail.com
Wed Jan 10 14:08:46 EST 2007

You can use WaitForlExit method of the process, it is like this:

System.Diagnostics.Process myProc = new System.Diagnostics.Process();

myProc.FileName = "http://url"
myProc.WaitForExiit() // When this method ends, the process was finished

if this does not help, you can either use a OutputDataReceived event. (i 
guess this only works with 2.0 FrameWork, but it has some bugs)


>From: gemini64 <robby.schillinger at t-online.de>
>To: gtk-sharp-list at lists.ximian.com
>Subject: [Gtk-sharp-list] System.Diagnostics.Process.Start...
>Date: Wed, 10 Jan 2007 10:27:20 -0800 (PST)
>MIME-Version: 1.0
>Received: from lists.ximian.com ([]) by 
>bay0-mc11-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 
>10 Jan 2007 10:27:27 -0800
>Received: from galactus.ximian.com (localhost.localdomain [])by 
>lists.ximian.com (Postfix) with ESMTP id CD1FB1CFBCB;Wed, 10 Jan 2007 
>14:44:02 -0500 (EST)
>Received: from herald.ximian.com (frontgate.ximian.com [])by 
>lists.ximian.com (Postfix) with ESMTP id 5CEEF1CFB45for 
><gtk-sharp-list at lists.ximian.com>;Wed, 10 Jan 2007 14:44:01 -0500 (EST)
>Received: by herald.ximian.com (Postfix, from userid 2601)id C33C97000B; 
>Wed, 10 Jan 2007 13:27:23 -0500 (EST)
>Received: from talk.nabble.com (www.nabble.com [])by 
>herald.ximian.com (Postfix) with ESMTP id 567557000Bfor 
><gtk-sharp-list at lists.ximian.com>;Wed, 10 Jan 2007 13:27:21 -0500 (EST)
>Received: from [] (helo=jubjub.nabble.com)by talk.nabble.com 
>with esmtp (Exim 4.50) id 1H4iAS-0006Cn-Fcfor 
>gtk-sharp-list at lists.ximian.com; Wed, 10 Jan 2007 10:27:20 -0800
>X-Message-Info: txF49lGdW423ox8ywMQku/C+3ibll2dxD6u7/lcJz3M=
>X-Original-To: gtk-sharp-list at lists.ximian.com
>Delivered-To: gtk-sharp-list at lists.ximian.com
>X-Nabble-From: robby.schillinger at t-online.de
>X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on 
>X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 
>tests=ALL_TRUSTED,MY_OBFUT version=3.0.3
>X-BeenThere: gtk-sharp-list at lists.ximian.com
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "Discussion of the .Net bindings for 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/pipermail/gtk-sharp-list>
>List-Post: <mailto:gtk-sharp-list at lists.ximian.com>
>List-Help: <mailto:gtk-sharp-list-request at lists.ximian.com?subject=help>
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=subscribe>
>Errors-To: gtk-sharp-list-bounces at lists.ximian.com
>Return-Path: gtk-sharp-list-bounces at lists.ximian.com
>X-OriginalArrivalTime: 10 Jan 2007 18:27:28.0145 (UTC) 
>I wanted to start a webbrowser with a given url.
>On linux it works fine with
>   Gnome.Url.Show(ud.Link);
>this can't be used on Windows, so i tried there
>   System.Diagnostics.Process.Start(ud.Link);
>This call opens finally successful the browser with the correct site
>But this call is sooooooo time consuming, that my application block
>completely and aborts before the browser comes up.
>Is there a known alternative way to call a webbrowser on Windows machines ?
>Thanks for brain sharing :-)
>View this message in context: 
>Sent from the Mono - Gtk# mailing list archive at Nabble.com.
>Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com

Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! 

More information about the Gtk-sharp-list mailing list