Results 1 to 3 of 3

Thread: Calling Internet Explorer/Netscape on my application

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101
    Hi! How can you call the default browser
    (Windows IE or Netscape navigator) in your application
    during runtime and specify the location you want to browse?

    Thanks for any help.

    - I'm using VB 6.0 Enterprise Edition
    icq: 16228887

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Look up the ShellExecute command

  3. #3
    Guest
    ShellExecute Function:

    Code:
    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
    Public Const SW_SHOWNORMAL = 1
    
    ShellExecute Me.hwnd, vbNullString, "http://www.vb-world.net", vbNullString, "c:\", SW_SHOWNORMAL
    That will load the default Explorer and it will launch the url as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width