| | |
select item in combobox in html page
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2008
Posts: 20
Reputation:
Solved Threads: 0
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>
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>
![]() |
Similar Threads
- need to include a listbox from one html page to another (JavaScript / DHTML / AJAX)
- add item from combobox to treeview (IT Professionals' Lounge)
- Problem with code in Windows Vista (C++)
- How to open HTML page in a browser with specific options selected in drop-down boxes? (Perl)
- How to add tables in HTML page dynamically? (HTML and CSS)
- AJAX : Am i right with the concept? (JavaScript / DHTML / AJAX)
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- How to Embed CheckList Box on HTML Page using Java Script (HTML and CSS)
- Calling function to add HTML to the page (ASP.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: compare two ranges in different workbooks and copy data to a 3rd workbook
- Next Thread: Modular XML Data Parser
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





