Click here to Skip to main content
15,914,070 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDatagrid Editing--UpdateCommand NotWorking .. Pin
siddu7868-Dec-06 18:42
siddu7868-Dec-06 18:42 
QuestionCopyMemory of "kernel32.dll" to use in VB 2005 Pin
skandaapriya8-Dec-06 18:27
skandaapriya8-Dec-06 18:27 
QuestionPrinting morethan a document sequentially Pin
skandaapriya8-Dec-06 18:14
skandaapriya8-Dec-06 18:14 
AnswerRe: Printing morethan a document sequentially Pin
Duncan Edwards Jones10-Dec-06 11:07
professionalDuncan Edwards Jones10-Dec-06 11:07 
QuestionDataGrid-Row adding (VB.Net-2003) Pin
madhu_j8-Dec-06 13:24
madhu_j8-Dec-06 13:24 
AnswerRe: DataGrid-Row adding (VB.Net-2003) Pin
Taylor Kobani8-Dec-06 23:12
Taylor Kobani8-Dec-06 23:12 
QuestionVB.Net System Modal Pin
hkinser98-Dec-06 11:30
hkinser98-Dec-06 11:30 
AnswerRe: VB.Net System Modal [modified] Pin
The ANZAC8-Dec-06 17:51
The ANZAC8-Dec-06 17:51 
I once made something similar, the way i resolved it was to make a form with no border, it was completely black and took up the whole screen, when i showed this form i said:

form1.showdialog

Then I had my password form popup in front of that also using showdialog. Showdialog means you can't do anything with the program until the dialog form has been taken away. This means, if the form blacked out the whole screen, you could not click the start button or anything.

To find screen resolution height and width so it works on any resolution:

My.Computer.Screen.Bounds.Width<br />
My.Computer.Screen.Bounds.Height


Use these values to size your blackout form and set the password box to show centre screen. Make sure both forms have the topmost property set to true.

Now, you will also need to block key combinations like Alt-Tab, Alt-F4, Control-F4, the start buttons and Control-Alt-Delete Right?

Put these if statements in the keydown event for BOTH FORMS (the keypreview property should be true for both forms), these will block all common key combinations except control-alt-delete, these will not block the start buttons either:
If e.Alt Then<br />
            If e.KeyCode = Keys.Tab Then<br />
                e.Handled = True<br />
            End If<br />
            If e.KeyCode = Keys.F4 Then<br />
                e.Handled = True<br />
            End If<br />
        End If<br />
        If e.Control Then<br />
            If e.KeyCode = Keys.F4 Then<br />
                e.Handled = True<br />
            End If<br />
        End If<code><br />
 <br />
As for blocking task manager i'm not sure, if your son has a limited account i think it can be blocked, for that account, not sure though. But this should get you started. To block the start buttons, i know there is a way to hide the start menu ro disable it, this may help.<br />
<br />
 <br />
<br />
<br />
 -- modified at 23:57 Friday 8th December, 2006 <br />
<br />
<div class="ForumSig">Posted by The ANZAC</div>

Questionbluetooth Pin
ashraf 20058-Dec-06 10:43
ashraf 20058-Dec-06 10:43 
QuestionCatch events in javascript from vb.NET Windows Form Pin
Owen378-Dec-06 10:36
Owen378-Dec-06 10:36 
QuestionHooking - How to send characters to another application ... Pin
CarlMoser8-Dec-06 9:37
CarlMoser8-Dec-06 9:37 
QuestionOpen folder in Explorer Pin
wildfire23238-Dec-06 7:46
wildfire23238-Dec-06 7:46 
QuestionUsers Uploading Files Pin
coachmackey8-Dec-06 6:49
coachmackey8-Dec-06 6:49 
Questionvb.net forum Pin
coachmackey8-Dec-06 6:44
coachmackey8-Dec-06 6:44 
AnswerRe: vb.net forum Pin
The ANZAC8-Dec-06 10:33
The ANZAC8-Dec-06 10:33 
QuestionNo Touch Deployment vs ClickOnce Deployment Pin
KreativeKai8-Dec-06 5:57
professionalKreativeKai8-Dec-06 5:57 
QuestionConsuming Webservice Pin
Jawa20068-Dec-06 4:48
Jawa20068-Dec-06 4:48 
Questionextract compiler file into text Pin
gyangyan8-Dec-06 4:44
gyangyan8-Dec-06 4:44 
AnswerRe: extract compiler file into text Pin
Paul Conrad25-Dec-06 18:39
professionalPaul Conrad25-Dec-06 18:39 
QuestionWinPE and VB6 Pin
one-trick-pony8-Dec-06 2:40
one-trick-pony8-Dec-06 2:40 
Questioninstall service programmatically Pin
kwp8-Dec-06 2:00
kwp8-Dec-06 2:00 
QuestionLab monitoring system [modified] Pin
Rock Star.8-Dec-06 0:03
Rock Star.8-Dec-06 0:03 
AnswerRe: Lab monitoring system Pin
Paul Conrad25-Dec-06 18:40
professionalPaul Conrad25-Dec-06 18:40 
Questioncheckbox issue Pin
Dayekh8-Dec-06 0:02
Dayekh8-Dec-06 0:02 
AnswerRe: checkbox issue Pin
dhbaer8-Dec-06 9:33
dhbaer8-Dec-06 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.