Jump to content
Fórum Script Brasil
  • 0

Abrindo Paginas Na Internet


Bruno Krebs

Question

2 answers to this question

Recommended Posts

  • 0
Guest Guest

Cara o comando é esse eu testei. Já pegar a página inicial eu não sei

Shell "C:\Arquivos de programas\Internet Explorer\iexplore.exe www.terra.com.br", vbMaximizedFocus

shell(Caminho do programa,estilo da janela ao abrir)

Link to comment
Share on other sites

  • 0

você pode também usar uma API do Windows , dai não precisa se preocupar com o browser padrão do usuario :

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

Const SW_SHOWNORMAL = 1

Private Sub Form_Load()

ShellExecute Me.hwnd, vbNullString, "www.terra.com.br", vbNullString, "C:\", SW_SHOWNORMAL

End Sub

E também abrir a pagina, que por definição do usuário á a inicial??

Não entendi o que você quer, explique melhor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      651.8k
×
×
  • Create New...