Can someoen tell me how to link a command button to a website? So when u click it , it will take u to the website u entered.
Quick Button Qustion
Started by
FusionGTX
, Jul 02 2005 08:18 PM
4 replies to this topic
#1
Posted 02 July 2005 - 08:18 PM
#2
Posted 02 July 2005 - 11:55 PM
<?php $where = $_GET['where']; if (isset($where)) { header("Location: where"); } ?> <form> Where?<br> <input type="text" name="where"><br> <input type="submit" name="submit" value="Go!"> </form>
#3
Posted 05 July 2005 - 10:03 PM
Lol, nice try but thats not VB.
use this code:
replace the http://... value with your url.
use this code:
Private Sub Command1_Click() Shell "explorer " & "http://www.google.com" End Sub
replace the http://... value with your url.
#4
Posted 02 October 2005 - 08:07 AM
"explorer" isnt needed in that line...if you keep that in there and someone is using fire fox it will still open in IE, but if remove it, it opens into MOST default browser (IE, Firefox, Oprea, etc)
#5
Posted 21 October 2005 - 06:01 PM
here
Private Sub Command1_Click() Shell "explorer " & "the site here" End Sub
Edited by MK_LAGI, 21 October 2005 - 06:02 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users