Advertisement
Fhernd

EjecucionInternetExplorer.cs

Sep 25th, 2014
24,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. using System;
  2. using System.Diagnostics;
  3.  
  4. namespace Recetas.CSharp.R0415
  5. {
  6.     public sealed class EjecucionInternetExplorer
  7.     {
  8.         public static void Main()
  9.         {
  10.             // Nombre del proceso a ejecutar:
  11.             string ie = "iexplore.exe";
  12.            
  13.             // Argumentos. En este caso el URL de la página a abrir:
  14.             string arg = "http://ortizol.blogspot.com";
  15.            
  16.             // Invocación de `Process.Start` con los dos argumentos:
  17.             Process.Start (ie, arg);
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement