Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript for VB6 app and MSN website

Status
Not open for further replies.

MrMajik

IS-IT--Management
Apr 2, 2002
267
I have been coding in VB for years and now have a need to do something a little different. I want to create a script that will go to a MSN website, click a pull down menu from that website and select a choice from the pull down menu. This copies data into the clipboard and is a part of the MSN website.

Then I want to have the script click a button on a VB6 application I created and paste the data from the clipboard into a text box.

Is this possible using VBScript or should I be considering some other way of doing this?

BTW...The MSN website data I want to capture and paste does not show up in viewing the source code for the website. This website only works if you are using the Microsoft browser. I have tried everything I can think of to get VB6 to pull the data from this webpage without success.

Thank you.

Thank you,

MrMajik

There are 10 types of people in the world:
Those that understand binary and those that don't.
 
cant you code your VB6 app to go off and get the data from the MSN site? why get a different thread to get the data for you?

you are in control of how the data gets into your VB6 app? if so then i would suggest the use of copying into a a text box is not the best API method you could use
 
MrMovie,
Thank you for replying. I tried using the Microsoft Internet Control to pull the text from the webpage into a text file. The Internet Control gets everything except the stock symbols. When you view the source code from the webpage the stock symbols do not appear. There has to be a way to get this data because I can see it in my IE browser.

Here is the link and a defined stock screen so you can see what I am trying to do.
MSN Screener

Any suggestions?

Thank you,

MrMajik

There are 10 types of people in the world:
Those that understand binary and those that don't.
 
MrMovie,

Thank you for the suggestion.

I played around with the URL string you provided but it is limited to an industry (Cement or whatever industry is searched). The symbols in the screener in my first post is what I need to capture.

Any other suggestions?

Thank you,

Thank you,

MrMajik

There are 10 types of people in the world:
Those that understand binary and those that don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top