VB6 to get search results from websites??

Posted on 2005-05-13
Last Modified: 2010-05-01
Hi all,

I am passing  strings to certain web sites and get the results back.
Web site I want search is

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 _

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

Question by:Regulapati
    LVL 13

    Accepted Solution



    Author Comment

    Hi Rettiseert,

    It Worked .


    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now