CHAMAR O IEXPLORER PASSANDO URL COMO PARAMETRO
Por gentileza, alguém sabe me informar como posso chamar de um aplicativo criado no VB 6.0 o iexplorer, passando uma url como parà ¢metro? Tenho que declarar alguma API ou fazer alguma referência de componente?
primeiro voce deve declarar a função abaixo:
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
e para chamar o iexplorer voce usa:
Call ShellExecute(hwnd, "Open", "http://www.vbmania.com.br/", 0, 0, 0)
abraço
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
e para chamar o iexplorer voce usa:
Call ShellExecute(hwnd, "Open", "http://www.vbmania.com.br/", 0, 0, 0)
abraço
qualquer coisa entra em contato...
Tópico encerrado , respostas não são mais permitidas