Click to See Complete Forum and Search --> : Redirecting Links Using VB Code


EssiX
July 6th, 2001, 09:40 AM
How do make the web browser redirect the user to another page using Visual Basic code? Basicaly, I need the user to fill out a form, then show them a status page, and then redirect them to part 2 of the form...
-Sameer

Cakkie
July 6th, 2001, 12:13 PM
this is vbscript, you need to implement it in a html page

sub redirecttopage()
window.location.href = "mypage.htm"
end sub

call this is the load event of the page

window.settimeout(5000,"redirecttopage")

this will cause the oage to display for 5 seconds, and then do the redirecting stuff

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook