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
147 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 500 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

822 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