• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

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
0
Regulapati
Asked:
Regulapati
1 Solution
 
rettiseertCommented:
Try

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

It Worked .

Thanks
Madhavi
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now