Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't launch browser from submit button

Status
Not open for further replies.

geerae

Programmer
Aug 5, 2001
17
US
I've built an html page and have no problem launching a new browser window from a submit button using target="NEW". If we send our clients an email with the same html page the submit button will not spawn IE initially.

Does anyone know how to launch a browser from a submit button if the client does not have a browser session running?

Thanks for any help,
geerae
 
You can try to lauch browser with script. Here is an example in VBScript that lauches IE :
Code:
dim oIE

Set oIE = CreateObject("InternetExplorer.Application")
oIE.left      = 300
oIE.top       = 50
oIE.width     = 424
oIE.height    = 250
oIE.menubar   = false
oIE.toolbar   = false
oIE.statusbar = false
oIE.Resizable = False
oIE.Visible = false
oIE.navigate("[URL unfurl="true"]http://www.tek-tips.com")[/URL]
while oIE.Busy
  ' wait for page to load...
Wend  
oIE.Visible = true
Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top