select item in combobox in html page

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 20
Reputation: sal21 is an unknown quantity at this point 
Solved Threads: 0
sal21 sal21 is offline Offline
Newbie Poster

select item in combobox in html page

 
0
  #1
Jun 5th, 2009
In a asp page have a combobox with 3 item(see html)
I want to loop in all items of combobox... similar:

i use this to connect oie:

Set OIE = CreateObject("InternetExplorer.Application")
URL = "http://mysite/GP.asp"
OIE.Visible = True

OIE.navigate (URL)
Do While OIE.readyState <> 4 Or OIE.Busy
DoEvents
Loop




select element 1
goto next line of code
finish routine
select element 2
goto next line of code
finish routine

ecc...

<font size="1" face="Verdana,Arial">Scegli :</font>
<Select name="SelectArea" onChange="this.form.submit();">

<option value="7 ,aaaa_X1_" selected>1234i</option>

<option value="7 ,aaaa_X2_">5678</option>

<option value="7 ,aaaa_X3_">91011</option>

</select>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC