Regulapati
asked on
VB6 to get search results from websites??
Hi all,
I am passing strings to certain web sites and get the results back.
Web site I want search is
http://appsext5.dos.state.ny.us/corp_public/CORPSEARCH.ENTITY_SEARCH_ENTRY
to search the business names.
I was able to pass the Name into EntityName Search box, and select the all option for
Name type and search Type but I am not able to find the name for submit button, so I could not figure out how to Click the Submit from VB Program.
I am pasting the Code I used so far
frmWB.wb.Navigate2 _
"http://appsext5.dos.state.ny.us/corp_public/CORPSEARCH.ENTITY_SEARCH_ENTRY"
frmWB.wb.Document.All("p_e ntity_name ").Value = PDataIn.BusSrcName
'pick Drop-down list - A: Active Only, %: All
frmWB.wb.Document.All("p_n ame_type") .Value = "%" 'select ALL
frmWB.wb.Document.All.Item ("Submit") .Click -- This where I am having the Problem
Any help is greatly Appriciated
Thanks
Madhavi
I am passing strings to certain web sites and get the results back.
Web site I want search is
http://appsext5.dos.state.ny.us/corp_public/CORPSEARCH.ENTITY_SEARCH_ENTRY
to search the business names.
I was able to pass the Name into EntityName Search box, and select the all option for
Name type and search Type but I am not able to find the name for submit button, so I could not figure out how to Click the Submit from VB Program.
I am pasting the Code I used so far
frmWB.wb.Navigate2 _
"http://appsext5.dos.state.ny.us/corp_public/CORPSEARCH.ENTITY_SEARCH_ENTRY"
frmWB.wb.Document.All("p_e
'pick Drop-down list - A: Active Only, %: All
frmWB.wb.Document.All("p_n
frmWB.wb.Document.All.Item
Any help is greatly Appriciated
Thanks
Madhavi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It Worked .
Thanks
Madhavi