Results 1 to 4 of 4

Thread: How do I link to my website?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    173

    Red face How do I link to my website?

    How do I make a link in my VB program to my website?

    Take a look at it before you answer, it has several php scripts and may not react as every other site, I don't know...: www.gratisplaneten.com

    Please help me!

    //Alex

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How do I link to my website?

    VB Code:
    1. Option Explicit
    2.  
    3. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
    4. (ByVal  hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
    5. ByVal lpParameters As String, ByVal lpDirectory As String, _
    6. ByVal nShowCmd As Long)  As Long
    7.  
    8. Private Sub Command1_Click()
    9.    Dim lngOpenPage As Long
    10.      lngOpenPage = ShellExecute(Form1.hwnd, "Open", "http://www.vbforums.com",  0&, 0&, 0&)
    11. End Sub

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    173

    Re: How do I link to my website?

    Thanks, but how do I make the link to go directly to "De 25 Nyaste".

    "De 25 Nyaste" is in the menu at www.gratisplaneten.com

    //Alex

  4. #4
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: How do I link to my website?


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