Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Button To Open Website


    PwnageBoy
     Share

    Recommended Posts

    Hey.. As the title says..

    I wanna make a button that opens a specificated link i gave..

    So.. The steps:

    1. Button

    2. Click ( left click )

    3. Open http:// the website i enter here .com

     

     

    Thats all O.o But i dont know how xD

    I wanna make it in VB 6 enterprise edition.. Not Visual Studio .NET

     

    ----------------------

    Got this so far, but not working:

     

    Option Explicit

     

    Public WithEvents Web As SHDocVw.InternetExplorer

    ' put a webbrowser control on form and check Microsoft internet Controls in Proj_references

     

    'see if the ieframe.dll is in c:\windows\system32 directory

     

    Private Sub Command1_Click()

     

     

    ' create new instance of Internet Explorer

    Set Web = New SHDocVw.InternetExplorer

    ' make the Internet Explorer visible

    Web.Visible = True

     

    Web.Navigate "http://www.yahoo.com"

    End Sub

    Edited by PwnageBoy
    Link to comment
    Share on other sites

    at this into General:

    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

     

    ShellExecute Me.hWnd, "open", "http://ghbsys.net", vbNullString, "", 0

     

    should help you xD

     

    if you want to open a site in vb(in a webbrowser) then add Microsoft Internet Controls and write in form_load this

     

    WebBrowser1.navigate "http://ghbsys.net"

     

    then the site open in your form..

     

    ~ZeaS

    Edited by ZeaS
    Link to comment
    Share on other sites

    Well ty for your help but i programmed my own whole internet browser in game maker 7.0 Pro.

    It's a nice browser xD With my buttons in it to auto play a text based crime game.

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...