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
148 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
I need help making a collection from a class in VB.Net 3 41
SQL LINE CONTINUATION ISSUE 12 37
SSRS 2016 Rendering HTML tables 3 25
VB.net Open video relating to control 2 19
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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 …

791 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