ocxbrowser

A

a

this is view source of web site
<select id=cbo_city name='cbo_city' style='width:98%' size=1 >
<OPTION VALUE="" >Select one ...</option>
<OPTION VALUE='1' >abcd</option>
<OPTION VALUE='3' >lbc</option>
<OPTION VALUE='3' >opc</option>

this all the elements of the web site
Form 0 (form1), element 0 (A_n), type text, contains
Form 0 (form1), element 1 (cbo_city), type select-one, contains
Form 0 (form1), element 2 (b1), type button, contains C?E?E

dear friend i have object browser control on access 2003 or vb.net 2005 ok
to navigate web site ok

I need a solution for access 2003 or VB.net 2005

what i want
i want command button in access or vb.net 2005
do the following
go to the web site select the vale from combo box

i reach to this code
command1click
Me.ocxbrowser.Document.all("cbo_city").selectedIndex = 1
end sub

but i don't know why not work
any help
thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top