[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


need a little help

Posted on 2004-10-26
Medium Priority
Last Modified: 2010-04-17
I was just thinking about something.
Say you have a list of like maybe 1000 links or ID's.
I only know a little c++ not any other languages but if i wanted to write a program that would say open my web browser, and go to each link one by one, how would i do that?
any idea of a example code.
lets say you have a linke like www.somelink.ID=somenumber 
and you wanted to cycle through all those ID numbers one by one
so it would open the browser to www.somelink.ID=20
                      then a few seconds later go to www.somelink.ID=21   and so on.

Have any ideas?
thanks in advance?
I have a good idea how to write the code just got a idea how i woud get it to open my browser and actually run the program to do what i want it to do.


Question by:J_2023
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

edkim80 earned 1400 total points
ID: 12411759
Try looking at the ShellExecute command...

basically you would have a for loop which assigns your url to a string, then do a shellexecute on that url.

url = www.somelink.ID=somenumber
HINSTANCE status =::ShellExecute( 0, NULL, ( TCHAR * )qt_winTchar( url, true ), NULL, NULL, SW_SHOW );

or something similar...

hope this helps

Expert Comment

ID: 12411777
sorry I posted QT libaries in the above shellexecute function.  disregard the qt_winTchar function.


Author Comment

ID: 12417890
I think that is what i am looking for! I need to read up on my c++ book its been a year since i took any c++ classes.
but i think that makes sence now thanks

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Introduction to Processes

650 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