Hi,
i wanted to know, how to set a Screensaver programmaticall y under WinXP and
Win2000?
Thank you
Yavuz Bogazci 3 2478
Hi Yavuz,
It depends what you mean by "set Screensaver". If you want to set it
running, I believe a P/Invoke call to SystemParameter sInfo with a param of
SPI_SETSCREENSA VEACTIVE trick.
If you want to actually tell Windows what the current screensaver is (so
that when the user checks out display properties it's selected as their SS
of choice) I'm not sure that there's an API call that will help you, however
you could just programmaticall y alter the appropriate registry key.
Regards,
Alex Clark
"Yavuz Bogazci" <Ya**********@d iscussions.micr osoft.com> wrote in message
news:63******** *************** ***********@mic rosoft.com... Hi,
i wanted to know, how to set a Screensaver programmaticall y under WinXP and Win2000?
Thank you Yavuz Bogazci
ok thank you,
i need the 2nd case. are the registry keys for winxp and win2000 the same?
thanks
yavuz bogazci
"Alex Clark" wrote: Hi Yavuz,
It depends what you mean by "set Screensaver". If you want to set it running, I believe a P/Invoke call to SystemParameter sInfo with a param of SPI_SETSCREENSA VEACTIVE trick.
If you want to actually tell Windows what the current screensaver is (so that when the user checks out display properties it's selected as their SS of choice) I'm not sure that there's an API call that will help you, however you could just programmaticall y alter the appropriate registry key.
Regards, Alex Clark "Yavuz Bogazci" <Ya**********@d iscussions.micr osoft.com> wrote in message news:63******** *************** ***********@mic rosoft.com... Hi,
i wanted to know, how to set a Screensaver programmaticall y under WinXP and Win2000?
Thank you Yavuz Bogazci
Hi, i need the 2nd case. are the registry keys for winxp and win2000 the same?
I can't be sure about that, but my assumption would be that they are (and
quite possibly as far back as Win95 in fact). The best thing to do is see
if you can get your hands on machines running a variety of Win OS's, or if
you have the licenses just install them in VirtualPC and test from there.
Cheers,
Alex Clark This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: klappnase |
last post by:
Hello everyone,
does anyone know a way to stop the screensaver under linux from
starting up while a certain process is running?
I need this because I experience a memory leak while recording
wav-files every time the screensaver starts.
It is a Tkinter application, btw.
Any help would be very appreciated.
Thanks
|
by: Christopher Burr |
last post by:
I'm trying to set the user's screensaver in the .NET world...
In Win32 I could use a combination of setting the screen saver name via the
registry and then setting the time and active status using
SystemParametersInfo. And the system would use the new settings.
Now that I'm trying to do it in .NET, I found that SystemParametersInfo does
not exist. I also found I can detect when the screensaver settings have
been changed, but what I...
|
by: Luke |
last post by:
I am trying to capture an event when the screensaver starts. I have code
working on Windows XP etc when the Password/Welcome Screen is enabled
. Using the Fast User Switching Notifications.
However I am unable to detect the screensaver starting when the screensaver
password option is disabled. When using the WndProc Overrides I am unable to
capture the screensaver event unless the application is active .
Thank you in advance for any...
|
by: DanielB |
last post by:
Does anyone know what the command line argumentto launch a
screensaver's options/configuration dialog is on Windows XP Pro?
From most of the example source code I can find on the web, it would
seem to be '/c' but that does not seem to work for the screensaver I
have written. I've tested my code and if '/c' is the first argument
then the options dialog is launched but Windows XP does not seem to be
supplying the '/c' argument when I...
|
by: Paul Smith |
last post by:
I have been given an unusual task to create a Windows Service to do something
periodically to make the screensaver timer reset. We have a general policy
of locking computers automatically after 10 minutes of inactivity. This
windows service would be used on some machines to prevent the lock from
occurring every 10 minutes.
I have tried to reposition the mouse pointer with the Cursor class in a
service, but it does not work -- always...
| |
by: Paul Smith |
last post by:
I have been given an unusual task to create a Windows Service to do something
periodically to make the screensaver timer reset. We have a general policy
of locking computers automatically after 10 minutes of inactivity. This
windows service would be used on some machines to prevent the lock from
occurring every 10 minutes.
I have tried to reposition the mouse pointer with the Cursor class in a
service, but it does not work -- always...
|
by: DanielB |
last post by:
Does anyone know what the command line argumentto launch a
screensaver's options/configuration dialog is on Windows XP Pro?
From most of the example source code I can find on the web, it would
seem to be '/c' but that does not seem to work for the screensaver I
have written. I've tested my code and if '/c' is the first argument
then the options dialog is launched but Windows XP does not seem to be
supplying the '/c' argument when I...
|
by: Simon Mercer |
last post by:
I have been trying to build a screensaver that will connect to a database
and display specific data depending on the user that is logged in. I have
managed to get a simple data access screensaver to work, however, i can't
get the application to work with some prebuilt assemblies i have. Also,
when the screensaver is running under the windows screensaver settings it
also will not access the config file.
Any pointers would be greatly...
|
by: VMI |
last post by:
How difficult is it to develop a screensaver in C#? The screensaver would be
composed of several images and each image would be displayed on the screen
for a few seconds. The only difficult part would be that there should a
smooth transition between images.
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |