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
RegulapatiAsked:
Who is Participating?
 
rettiseertConnect With a Mentor Commented:
Try

frmwb.WB.Document.All("corpsearch").submit
0
 
RegulapatiAuthor Commented:
Hi Rettiseert,

It Worked .

Thanks
Madhavi
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.