Results 1 to 6 of 6

Thread: need api function please

  1. #1
    DanDan
    Guest
    hi
    i need some api function that go to "url"(without open then webbrowser!)
    simple, i have code (asp) that do somthing in this url..
    is it possible?
    thanks

  2. #2
    Megatron
    Guest
    Not navigate to a website, you could use a WebBrowser control.
    Code:
    WebBrowser1.Navigate "www.vb-world.net"

  3. #3
    DanDan
    Guest

    thanks......but

    thanks......
    but again..
    this is function in dll file, so i can't use activex controls

  4. #4
    TheSarlacc
    Guest

    Talking Confused!

    I dont understand why u cannot use ActiveX controls?

  5. #5
    DanDan
    Guest

    because of

    because i writer the code in dll file
    so i can't use "controls"

  6. #6
    TheSarlacc
    Guest

    maybe this?

    i dont know if this is what ur lookin for.

    Public Const SW_SHOWNORMAL = 1
    Public 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


    Dim retval as long, webpage as string

    webpage = "www.hotmail.com"
    retval = shellexecute(form1.hwnd, "open", webpage, "", "", SW_SHOWNORMAL)

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