Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

internet cafe program suggestions:e.g. prevent (xp) user from using internet after 15min, and how to enable it for 15min

Posted on 2004-09-15
6
Medium Priority
?
152 Views
Last Modified: 2010-04-23
hi , im writing a quick and dirty app for a small 2 pc internet cafe.
the idea i have is that the user pays the administrator an amount

the  administrator then copies a exe i wrote to the desktop of the pc that will be used.

the client then runs the exe (which will be deleted afterwards) and then is allowed to use internet explorer for 15 minutes.
i am aware that windows explorer can also be used for this purpose.,

so should i rather let the user get logged off after his time expires? or how can i stop him from using the internet after the set time?

any other suggestions for my program? any links?
thanks!
0
Comment
Question by:jxharding
  • 4
  • 2
6 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 2000 total points
ID: 12062796
You can create an Application which shutdown the application after some time
for shutting down application see this
http://www.codeproject.com/csharp/timercomputershutdown.asp


But better option would be that you create an alarm at administrators computer for the set time and at the given time, use Remote desktop to shutdown the computer or stop the user.
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12062803
0
 

Author Comment

by:jxharding
ID: 12062949
hi armoghan
i did write a timer in vb  that counts down and i plan to implement the disconnection procedures to it.
that codeproject link looks very good, im going to try it out now.
it seems that logging off the user is the best way to go?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 18

Expert Comment

by:armoghan
ID: 12062974
yes log off will serve the purpose from preventing the user to continue using internet
0
 

Author Comment

by:jxharding
ID: 12215591
hi armoghan, the link shuts down the pc.
do u perhaps have any tips regarding logging off?
thanks!
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12223918
In the same article see the Case 4. It logs off

case 4:
Org.Mentalis.Utilities.WindowsController.
ExitWindows(RestartOptions.LogOff, false);
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline
Suggested Courses

926 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