Solved

I am not an expert but i need help how can i make a program that will automatically do some things for me?

Posted on 2003-11-03
9
250 Views
Last Modified: 2010-04-02
The thing is that i need the program to do is to
1 start internet explorer
2 wait 3 seconds then disconect
3 then after another 6 seconds start internet ecplorer again

and keep repeating this till i close the program or stop it in any way i can
0
Comment
Question by:demonxgx
  • 4
  • 3
  • 2
9 Comments
 
LVL 30

Accepted Solution

by:
Axter earned 130 total points
Comment Utility
The following line of code will start internet explorer:
ShellExecute(NULL, "open", "iexplore", "axter.com", NULL, SW_SHOWNORMAL);
0
 
LVL 30

Expert Comment

by:Axter
Comment Utility
You can use the SetTimer API function along with a call back function, and that will allow you to launch IE over and over again.

0
 

Author Comment

by:demonxgx
Comment Utility
There is one problem i do not know any code at all i need a thing that works if you can do that or at least point out where i can start learning C++ or any other programing language
0
 

Expert Comment

by:Spyder596
Comment Utility
um, just out of curiosity, why do you need that program? It sounds like one of those annoying programs the jerks run on public computers just to piss everyone off. Sorry if im wrong, but i'd just like to know.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 30

Expert Comment

by:Axter
Comment Utility
>>There is one problem i do not know any code at all i need a thing that works if you can do that or at least point out where i can start learning C++ or any other programing language

I did point you in the right direction.

If you need more details, you should consider increasing the points.
0
 

Author Comment

by:demonxgx
Comment Utility
To Spyder596
This is a program for my personal use and not for any public computer.
All i need the thing to do is start ie, wait, close it and disconect, then repeat.
And the public computers dont have a isp to disconect from because most of them are connected to the networ


and to Axter i will add more points to it as the days pass
the reason i started with such a small amount is because
1 i just registered
2 i think this little program should be a snap for even a beginner to make. all it is is a timed program starting and ending.
0
 

Expert Comment

by:Spyder596
Comment Utility
Sorry about that, its just that in my school theres a lot of jerks who take the computer science courses because they think its an easy gpa boost, but wind up wasting their knowledge writing programs that do nothing but mess with the public computers in the library and such.

But yeah, that would be pretty simple to write, if i can get time tonight ill whip something up
0
 
LVL 30

Expert Comment

by:Axter
Comment Utility
>>i think this little program should be a snap for even a beginner to make. all it is is a timed program starting and ending.

Experts at EE are not suppose to make the program/code for you.  We're suppose to help you with existing code, or to point you in the right direction.

0
 

Author Comment

by:demonxgx
Comment Utility
well sorry i just kame to this web site looking for some people like Spyder596.
thanks a lot Spyder596. i hope that you do get the time to help me. If you need to reach me you can get me on aim sometimes or my e-mail demonxgx@earthlink.net
Again thanks a lot!!!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 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

7 Experts available now in Live!

Get 1:1 Help Now