Click to See Complete Forum and Search --> : VB Script to put stuff in address bar
AliBail
Mar 16th, 2001, 09:06 AM
Hi, Can any1 tell me how I can use VB Script to place text into the web broweser address bar.
I mean eg:
I have a program that monitors the address bar of the browser, waiting on a command.
Well, when a user clicks on a link, the browser DOESN'T put the URL into the address bar. I need to know how to do this.
Please help me!
Originally posted by AliBail
Well, when a user clicks on a link, the browser DOESN'T put the URL into the address bar. I need to know how to do this.
What you can do is:
<a href="http://www.vbdungeon.net/default.asp?code=start&action=begin">Click Here</a>
Example: Click Here (http://www.vbdungeon.net/default.asp?code=start&action=begin)
You can see that the request code and action is in the address bar.
AliBail
Mar 21st, 2001, 12:18 PM
It never occured to me to open a new window.
But if possible how can I do it without opening a new window, because it doesn't work in my program.
This will open the link in the same window:
<a href="http://www.vbdungeon.net/default.asp?code=start&action=begin">Click Here</a>
And this will open the link in a new window:
<a href="http://www.vbdungeon.net/default.asp?code=start&action=begin" target=_blank>Click Here</a>
;)
AliBail
Mar 22nd, 2001, 12:39 PM
I know how to navigate to other pages, and yes itdoes place it in the address bar.
But thats not what I want to do, I probably wasn't very clear about this but here's what I want to do:
I have a program, that has a built in web browser! It monitors the browsers address bar for a command similar to the following:
loadchat#myroom#mehide
As Im sure you'll find, if you place that in a link, You get a netword error. but it still doesn't place it in the address bar.
If you know how I can do this please help me.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.