Best Language for a auto complete program

I'm interested in creating a program that opens a couple of IE pages and then conducts searches based on what is copied to the clip board

I.E abraham lincoln is copied to clipboard and a webpage that i'm using to search has two fields firstname and surname among other search options

what i want to do is for it to open webpage go to the first name and surname boxes and fill out what is copied form the clipboard

as default if there is only one name I.E Lincoln it would skip first name box and just fill out the surname part

so what i'm asking for is a way to count text boxes on a webpage so i could say if there is two words I.E abraham lincoln it would go to text box 3 and 4 on the page and if only lincoln go to text box 4 only.

i know this is a bit of a long and confusing questions but just being pointed in the right direction would be a huge help thanks

i was originally planning to do this in c++ but if you guys know a better language that runs nativily on windows and would be easier to program suggestions would be great
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Definitly not C++.  Go with C# or VB.NET

you can use .NET clipboard class to copy data to the clipboard

Then use a winform with webbroswer control to navigate to whatever webpage.

After that you need additional code (Sendkey Fundction) to set the focus on the proper text box and based on the contents of the Clipboard fill it out.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If you know C++, then C# will be very easy to use. It has a built in WebBrowser class that will allow you to inspect and modify the code on the page.
You should be able to directly modify the text on the page without SendKeys.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.