can I use command line to launch internet explorer and open one url each time
Try using ShellExecute from the win32api or the ie object model to pull
pages from code.
Example:
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, _
ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Sub SomeRoutineInAForm()
Call
ShellExecute(Me.hwnd,"Open"," http://www.*-*-*.com/ ;,"",app.path,1)
End Sub
Quote:
> I am trying to use
Visual Basic to program a simple code to launch
Internet Explorer and open an url each time.
Quote:
> can it be done in command line , seems like :
> call ie.exe\www.abc.com\test1.asp
> call ie.exe\www.abc.com\test2.asp
> ..
> thanks in advance
> mik