VB -> GURU WANTED 
Author Message
 VB -> GURU WANTED

Hi

Visual Basic 6 Question

How can we changed or init programatically (when none) the screensaver
file name without rebooting the pc.
Can we give me an example. I think with SystemParametersInfo it'not
possible to set the file for the screen saver!!

Thanks



Mon, 29 Aug 2005 16:23:01 GMT  
 VB -> GURU WANTED

Maybe, just maybe, this will help :-

WM_SYSCOMMAND

SC_SCREENSAVE   Executes the screen saver application specified in the
[boot] section of the SYSTEM.INI file.


Quote:
>Hi

>Visual basic 6 Question

>How can we changed or init programatically (when none) the screensaver
>file name without rebooting the pc.
>Can we give me an example. I think with SystemParametersInfo it'not
>possible to set the file for the screen saver!!

>Thanks



Mon, 29 Aug 2005 22:26:30 GMT  
 VB -> GURU WANTED

Quote:

> Maybe, just maybe, this will help :-

> WM_SYSCOMMAND

> SC_SCREENSAVE      Executes the screen saver application specified in the
> [boot] section of the SYSTEM.INI file.


> >Hi

> >Visual basic 6 Question

> >How can we changed or init programatically (when none) the screensaver
> >file name without rebooting the pc.
> >Can we give me an example. I think with SystemParametersInfo it'not
> >possible to set the file for the screen saver!!

> >Thanks

In my win 2k there is not a [boot] section that my problem but thx


Tue, 30 Aug 2005 03:59:56 GMT  
 VB -> GURU WANTED
Look for a demo at www.codehound.com/vb/ that shows how to call
SPI_SETSCREENSAVEACTIVE.  In general, the call is

Call SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, _
                         1&, _
                         0&, _
                         SPIF_SENDWININICHANGE )

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.


# Hi
#
# Visual basic 6 Question
#
# How can we changed or init programatically (when none) the screensaver
# file name without rebooting the pc.
# Can we give me an example. I think with SystemParametersInfo it'not
# possible to set the file for the screen saver!!
#
# Thanks



Tue, 30 Aug 2005 12:20:15 GMT  
 VB -> GURU WANTED

Quote:

> Look for a demo at www.codehound.com/vb/ that shows how to call
> SPI_SETSCREENSAVEACTIVE.  In general, the call is

> Call SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, _
>                          1&, _
>                          0&, _
>                          SPIF_SENDWININICHANGE )

> --

> Randy Birch
> MVP Visual Basic
> http://www.mvps.org/vbnet/
> Please respond only to the newsgroups so all can benefit.



> # Hi
> #
> # Visual basic 6 Question
> #
> # How can we changed or init programatically (when none) the screensaver
> # file name without rebooting the pc.
> # Can we give me an example. I think with SystemParametersInfo it'not
> # possible to set the file for the screen saver!!
> #
> # Thanks

I's don't work because if the screensaver is not init so none no one
where activeted. So we must set the file name for the screensaver that



Tue, 30 Aug 2005 19:09:20 GMT  
 VB -> GURU WANTED

Quote:

>In my win 2k there is not a [boot] section that my problem but thx

I suggest that you install a screen saver with a known name, and then
have a poke around in the registry and the main INI files looking for
that name.

... but perhaps you have already done that ...



Tue, 30 Aug 2005 22:33:01 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. GURUs Wanted - Crystal Reports via VB 5.0

2. CAN-Quebec-Montreal: VB *GURU* wanted

3. WANTED: VB Guru for small Active-x programming contract

4. WANTED: VB Guru for small Active-x programming contract

5. WANTED: VB Guru for small Active-x programming contract

6. --> I challenge you VB guru!<--

7. Wanted >>QBasic Tips For Notebook Page on Kenneth Green's Homepage

8. Help wanted on connecting Word97<->VB

9. -------- > VB PROGRAMMERS WANTED

10. ------- > VB PROGRAMMERS WANTED

11. --------------- > VB PROGRAMMERS WANTED

12. ----- > VB PROGRAMMERS WANTED

 

 
Powered by phpBB® Forum Software