Dim wShell set wShell = CreateObject("Shell.Application") wShell.Open "http://www.google.fr"
Dim IE Set IE = Wscript.CreateObject("InternetExplorer.Application") IE.Visible = 1 IE.navigate "http://www.vbfrance.com/listecodes.aspx"
Dim sUrl Dim oShell sUrl = "http://www.codyx.org/snippet_lancer-page-web-url-avec-navigateur-defaut_723.aspx" Set oShell = WScript.CreateObject("WSCript.shell") If bMaximized = True Then oShell.run sUrl, 3 Else oShell.run sUrl, 1 End If Set oShell = Nothing