Launching IE from my windows form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Muscha

    Launching IE from my windows form

    Hello,

    How do I launch an IE instance with the URL as the parameter from my windows
    form? I have the axWebBrowser control, should I use that one?

    Thanks,

    /m


  • Morten Wennevik

    #2
    Re: Launching IE from my windows form

    On Thu, 30 Oct 2003 18:39:31 +1100, Muscha <muscha@no.spam .net> wrote:
    [color=blue]
    > Hello,
    >
    > How do I launch an IE instance with the URL as the parameter from my
    > windows
    > form? I have the axWebBrowser control, should I use that one?
    >
    > Thanks,
    >
    > /m
    >
    >[/color]

    axWebBrowser control is for displayig web pages within your windows form..
    To launch internet explorer you simply write

    System.Diagnost ics.Process.Sta rt(url);

    This will launch the default web browser opening the specified url.
    You can specify internet explorer with Start("iexplore .exe", url), but you
    are not guaranteed that Windows will be able to open iexplore.exe without
    knowing the full path, which varies between systems.

    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    Comment

    • Ravikanth[MVP]

      #3
      Launching IE from my windows form

      Hi

      Try this

      System.Diagnost ics.Process.Sta rt("http://....";)

      HTH
      Ravikanth[MVP]

      [color=blue]
      >-----Original Message-----
      >Hello,
      >
      >How do I launch an IE instance with the URL as the[/color]
      parameter from my windows[color=blue]
      >form? I have the axWebBrowser control, should I use that[/color]
      one?[color=blue]
      >
      >Thanks,
      >
      >/m
      >
      >
      >.
      >[/color]

      Comment

      • Muscha

        #4
        Re: Launching IE from my windows form

        [color=blue]
        > Hello,
        >
        > How do I launch an IE instance with the URL as the parameter from my
        > windows
        > form? I have the axWebBrowser control, should I use that one?
        >
        > Thanks,
        >
        > /m
        >
        >[/color]
        [color=blue]
        > axWebBrowser control is for displayig web pages within your windows form.
        > To launch internet explorer you simply write[/color]
        [color=blue]
        > System.Diagnost ics.Process.Sta rt(url);[/color]

        That works thanks, but it seems that it is using the current existing
        browser. How do I tell it to always execute a new browser?

        thanks,

        /m


        Comment

        Working...