Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 31st, 2006, 3:14 PM   #11
bgeraghty
Newbie
 
Join Date: Mar 2006
Posts: 15
Rep Power: 0 bgeraghty is on a distinguished road
I also don't know VB very well, but I've seen it done like this in another language.

use this WinAPI function: SystemParametersInfo(a,b,c,d)
for a, put SPI_SCREENSAVERRUNNING
for b, put the integer value of 1
for c, put a pointer to an integer value of 0
for d, put the integer value of 0
bgeraghty is offline   Reply With Quote
Old Mar 31st, 2006, 3:28 PM   #12
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Quote:
Originally Posted by bgeraghty
I also don't know VB very well, but I've seen it done like this in another language.

use this WinAPI function: SystemParametersInfo(a,b,c,d)
for a, put SPI_SCREENSAVERRUNNING
for b, put the integer value of 1
for c, put a pointer to an integer value of 0
for d, put the integer value of 0
This doesn't help the slightest bit.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Mar 31st, 2006, 4:16 PM   #13
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,223
Rep Power: 5 grumpy is on a distinguished road
Quote:
Originally Posted by jayme
This doesn't help the slightest bit.
As a matter of fact it does; it also happens to be related to the approach suggested by jeffball55. One of the side effects of convincing the system (win95/98, etc) that the screen saver is running is to disable the three finger salute and also alt-tab switching.

To do it under windows NT/2000/XP you have to monkey with security settings, and one of the side effects of disabling CTRL-ALT-DELETE is that it is no longer possible to log in. In other words, it will have the desired effect but, should the user log out, or should the system power down or otherwise reboot you have an unusable system (unless you also disable use of CTRL-ALT-DELETE and disable all users from using a password for logging in, which opens a pretty big security hole).
grumpy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC