Link to home
Start Free TrialLog in
Avatar of Regulapati
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_entity_name").Value = PDataIn.BusSrcName
               
              'pick Drop-down list - A: Active Only, %: All
                frmWB.wb.Document.All("p_name_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
ASKER CERTIFIED SOLUTION
Avatar of rettiseert
rettiseert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Regulapati
Regulapati

ASKER

Hi Rettiseert,

It Worked .

Thanks
Madhavi