Bonjour à tous,
j'aurai besoin pour une petite appli perso (sans aucun but réel) quem on fichier .vbs me retourne un paramètre.
j'ai déjà ce code qui fonctionne :
je souhaiterai retourner l'objet oIE pour être ensuite utilisé dans une appli vb2005.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 Dim shell, oIE Set shell = WScript.CreateObject("WScript.Shell") ' Ouverture d'Internet Explorer Set oIE = WScript.CreateObject("InternetExplorer.Application", "IE_") Set args = Wscript.Arguments 'oIE.Left = 50 'oIE.Top = 100 'oIE.Height = 550 'oIE.Width = 550 oIE.MenuBar = 0 oIE.ToolBar = 0 oIE.StatusBar = 0 oIE.navigate "http://127.0.0.1/diagnostic_auto.htm" oIE.Visible = 2
Si vous avez des idées, merci à vous !!!
Partager