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
261 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
ID: 9676018
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
ID: 9676026
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
ID: 9678336
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
ID: 9681670
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 30

Expert Comment

by:Axter
ID: 9683778
>>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
ID: 9683809
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
ID: 9683818
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
ID: 9683826
>>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
ID: 9690575
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

920 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

12 Experts available now in Live!

Get 1:1 Help Now