Need help?[Question] How to make a button link to a website? - MPGH - MultiPlayer Game Hacking & Cheats
[Question] How to make a button link to a website?
Posts 1–9 of 9 · Page 1 of 1
[Question] How to make a button link to a website?
I want to make a button link to a website when you click it like if i click the button it takes me to mpgh.net. Im new to VB sorry
1
Code:
Private Sub Command1_click()
Shell ("Explorer www.mpgh.net")
End Sub
2
Code:
Private Sub Command1_Click()
Call ShellExecute(Me.hwnd, "open", "http://www.mpgh.net", vbNullString, vbNullString, SW_SHOW)
End Sub
3
Code:
shell="http://mpgh.net/"
Behold, the power of google. I've also used one of these myself. The last one is different in that it will load the site within your program's window.
Thank You and i did use google but i couldn't find these codes cuz almost everyone on google are retards.
lol thats cool you can prank ppl into sites
add this code to the button:
Process.Start("www.mpgh.net")
or
you can use a LinkLabel and add the web-adress to his properties.
Originally Posted by Marsicano
add this code to the button:
Process.Start("www.mpgh.net")
or
you can use a LinkLabel and add the web-adress to his properties.
Process.Start("Http://www.mpgh.net")
it is for me
Uhh,i think you need to add more codes -.-
shell("{File Location , with what you want to open , browser location Default location is system folder , i think , or windows folder} http://www.orx.pri.ee/")
OrX
Originally Posted by Hax0r69
I want to make a button link to a website when you click it like if i click the button it takes me to mpgh.net. Im new to VB sorry