Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Visual Basic for Applications

Post new topic   Reply to topic
Help with Screen saver
View previous topic :: View next topic  
Author Message
sherbir
Newbie


Joined: 04 Mar 2004
Posts: 1

PostPosted: Mar 5th, 2004 01:42 AM    Post subject: Help with Screen saver Reply with quote

I have made a powerpoint slideshow and i want to make it run as a screen saver in VB.

What is the code 4 that ?

How will I make the screen saver exit on moving the mouse ? Confused
Back to top
View user's profile Send private message
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Mar 5th, 2004 11:37 AM    Post subject: Reply with quote

You can use the GetAsyncKeyState API to check if a key is pressed (including the mouse buttons), and the GetCursorPos to detect mouse moving. You can probably use a timer to see how long neither (keypress or mousemove) haven't occurred and after that time use the ShellExecute API to show the slideshow.
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Visual Basic for Applications All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic