Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i use shell with parameters for the external fil
Message
De
04/09/2001 23:50:17
 
 
À
04/09/2001 21:24:10
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00552290
Message ID:
00552324
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>hey, can you guys tell me the parameter that i can use to make internet explorer
>run with an given url: example:
>
>shell("C:\programfiles\internetexplorer\iexplore.exe")
>
>but how can i add the url so i can open my website?

Two possible options are:
1) Using automation: (add a reference to MS Internet Controls)
Dim oIE As InternetExplorer
Set oIE = New InternetExplorer
oIE.Navigate "www.myurl.com"
oIE.Visible = True
2) Using ShellExecute API (opens the default application for a given file):
http://support.microsoft.com/directory/article.asp?id=KB;EN-US;Q174156

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform