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
149 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
Technology Partners: 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

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET 2008 - Windows Protected Your PC 7 52
How to limit User Input 2 33
VB.Net creating Contact in Outlook 1 55
Web page design problem 3 16
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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