hi im lernig VB i can make a basic program well a window with writing in it but is there a way to click text and it goes to a url because ican make a browser in it its jsut clicking the lniksi cant figer out :S

hi im lernig VB i can make a basic program well a window with writing in it but is there a way to click text and it goes to a url because ican make a browser in it its jsut clicking the lniksi cant figer out :S
Use your browser like say its browser1 as its name
Double click your text and for code put
browser1.navigate "http://www.google.co.uk"
Change url obviously.
Musicicon iscurrently
No, I think he means that you have the URL bar so the client can change it?
PM ME FOR QUICK HELP ON WEBDESIGNING, CODING, AND COMPUTER PROBLEMS! I WILL BE GLAD TO HELP FOR FREE!
I AM A GOLD HC MEMBER! 16 MONTHS! I have been on Habbo since the layout with the Newsie, and 14 of my articles were posted! I'm trusted when trading HC stuff for coding!
Noob person (this is true):da hotel manager getz paid 20 credz ay day n habbo staff clik a button n furni chang color
I had 2 do 1 for my college course. Ill c if I can find the code 1 min. Ill edit this when I find it.
FOUND!
Double-click on your command button and enter this code:
Code:Public ie as InternetExplorer Private Sub Command1_Click() Set ie = CreateObject("InternetExplorer.Application") ie.Navigate2 "http://visualbasic.about.com" End Sub
change http://visualbasic.about.com to your desired URL e.g. https://habbox.com
Oh sorry I thought u meant click a button on a form and it goes to desired URL lol. Sorry.
Last edited by beer; 31-12-2006 at 08:27 PM.
Just lock the text box then if you want no editing?
Musicicon iscurrently
Want to hide these adverts? Register an account for free!