 |
vbgen Level: Moderator
 Registered: 10-10-2002 Posts: 876
|
Re: Controlling a Web Site
if you would have ur own browser object in ur application, then it would be a bit easy to do number2..
'''for example your browser control is named webBrowser
dim URL_name
URL_name = webBrowser.LocationURL
'''then you can do some checking against a web address like
if URL_name = "http://www.yahoo.com" then
'''do what you want here
else
''here it means that the url isn't where you want it
''do your error handling, either to redirect to the page
''you want or something else
end if |
____________________________
Been busy trying to take a second degree <--it's not working out...
|
|
09-03-2005 at 07:32 PM |
|
|
|
|
 |
 |