Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

VB help required - screensavers

Thread Tools
 
Search this Thread
 
Old 19 August 2002, 11:09 AM
  #1  
CC
Scooby Regular
Thread Starter
 
CC's Avatar
 
Join Date: Aug 2000
Posts: 909
Likes: 0
Received 0 Likes on 0 Posts
Question

Is there a snippet of code that I can add to a VB program of mine that will detect if a password protected screensaver is active, and if so, turn it off?

I want to be able to do this as I have an exe that runs on the hour which opens production reports with various software...so the vb .exe is acting as a kind of scheduler of sorts...

...when the correct time is reached an application is opened which requires a single key stroke to enable the application to do it's stuff, 'ENTER'. I use the SENDKEY command to do this. However, SENDKEY doesn't work when the screensaver appears. A password protected screensaver is required as the pc is left unattended. I'd like some code that'll determine whether the screensaver is active, if so turn it off so that the application can be started correctly.

Anything much appreciated. I have been able to disable the screensaver with vb but this doesn't turn it off if it's already open.

Cheers
Old 19 August 2002, 12:12 PM
  #2  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
Post

CC,

Haven't tried any of the following bits of info. so cannot say whether they work with a password protected s/s.

These are newsgroup discussions via Google Groups.

http://groups.google.co.uk/groups?hl...28b7355&rnum=2

http://groups.google.co.uk/groups?hl...b9c8b36&rnum=4

http://groups.google.co.uk/groups?hl...f518580&rnum=5

Cheers

Ian
Old 19 August 2002, 01:12 PM
  #3  
Mojo
Scooby Regular
 
Mojo's Avatar
 
Join Date: May 2000
Posts: 409
Likes: 0
Received 0 Likes on 0 Posts
Post

and http://www.planetsourcecode.com/ is always worth a try

Mojo
Old 20 August 2002, 12:28 AM
  #4  
CC
Scooby Regular
Thread Starter
 
CC's Avatar
 
Join Date: Aug 2000
Posts: 909
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

cheers guys will give those links a try.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
gazzawrx
Non Car Related Items For sale
13
17 October 2015 06:51 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
buckerz69
Wanted
2
03 October 2015 09:54 PM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM



Quick Reply: VB help required - screensavers



All times are GMT +1. The time now is 01:20 PM.