473,396 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Screen Saver /p parameter- Help needed.

Does anyone know where to go for a good example of the code that needs to be
written to display your screen saver in the windows dialog preview pane? I
know how to do it in VB6, but the same code does not work in VB.Net. Any
help would be really appreciated so I can finish up a screen saver I have
created.

S. Shawn Mehaffie
PC************@hotmail.com
Nov 20 '05 #1
6 1257
Hi Shawn,

There is a sample in the 101 samples on MSDN and also in this resource kit.
(I do not know if they are the same because I never tried them)

http://www.microsoft.com/downloads/d...displaylang=en

However I advice you to use the resource kit because there is so much more
in it and is much easier to handle and is newer

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps a little bit?

Cor
Nov 20 '05 #2
On 2004-04-17, Shawn Mehaffie <PC************@hotmail.com> wrote:
Does anyone know where to go for a good example of the code that needs to be
written to display your screen saver in the windows dialog preview pane? I
know how to do it in VB6, but the same code does not work in VB.Net. Any
help would be really appreciated so I can finish up a screen saver I have
created.

S. Shawn Mehaffie
PC************@hotmail.com


What technique are you using in VB6? Straight API for the drawing or are
you setting a vb form as as a child of the preview window and then using
native VB graphics commands to write to the window?

Either way, the process should be the same. It is more then likely a
problem in your api calls... Would it be possible for you to post the
piece of relevant code, along with any api declarations?

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"`Ford, you're turning into a penguin. Stop it.'"

- Arthur experiences the improbability drive at work.
Nov 20 '05 #3
Which sample is the code in from the VB.Net REsource Kit? I already have
the resource kit installed but cannot tell which one to look at based on the
directory name.

Thanks,

S. Shawn Mehaffie

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Hi Shawn,

There is a sample in the 101 samples on MSDN and also in this resource kit. (I do not know if they are the same because I never tried them)

http://www.microsoft.com/downloads/d...displaylang=en
However I advice you to use the resource kit because there is so much more
in it and is much easier to handle and is newer

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps a little bit?

Cor

Nov 20 '05 #4
* "Shawn Mehaffie" <PC************@hotmail.com> scripsit:
Which sample is the code in from the VB.Net REsource Kit? I already have
the resource kit installed but cannot tell which one to look at based on the
directory name.


AFAIK the sample included in the 101 samples does not show how to
implement the preview.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
* "Shawn Mehaffie" <PC************@hotmail.com> scripsit:
Does anyone know where to go for a good example of the code that needs to be
written to display your screen saver in the windows dialog preview pane? I
know how to do it in VB6, but the same code does not work in VB.Net. Any
help would be really appreciated so I can finish up a screen saver I have
created.


GotDotNet User Sample: Collide - A C# Physics Screensaver
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=d8ed903c-4efd-483d-92f2-c07e5d3f68ed>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6
* "Shawn Mehaffie" <PC************@hotmail.com> scripsit:
Does anyone know where to go for a good example of the code that needs to be
written to display your screen saver in the windows dialog preview pane? I
know how to do it in VB6, but the same code does not work in VB.Net. Any
help would be really appreciated so I can finish up a screen saver I have
created.


GotDotNet User Sample: Collide - A C# Physics Screensaver
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=d8ed903c-4efd-483d-92f2-c07e5d3f68ed>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Card.Starzinger | last post by:
Hi! I need help to simulate programmatically user interaction on WinNT 4.0, to avoid screen saver activation. I try with key injection event. SendInput API and keybd_event API work...
3
by: Thom Little | last post by:
How do I invoke the current screen saver with C#? Where did you find the information on how to do it? -- -- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd. --
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
1
by: Daniel | last post by:
Hi all, i have a doubt related to the screen saver ability. After developing the asp.net webform, can i add screen saver ability in this webform? which means, i open the asp.net webform, after a...
4
by: Shawn Mehaffie | last post by:
I have created a screen saver using VB.Net but cannot find any articles or examples on how to write the code for the /p parameter (display in dialog preview window). All the .Net exmaples I have...
2
by: Claire | last post by:
Hi, Our software runs on a XP system attached to a touch screen monitor and smartcard USB reader. We run our own simple corporate screen saver. When the screen is touched the screen saver...
1
by: ashwiniappajigowda | last post by:
Hi, I have an simple MFC dialog based application. On launch of that application 'Password protected screen saver' is not getting activated after the screen saver timeout. If 'On resume,...
3
by: KK | last post by:
Dear All I want to prevent the screen saver getting activated when my application is running. I have the following code, but still screen saver is activated. What corrections I should make to...
0
by: rehanrana | last post by:
I built application in VB6, my application appear in system tray, when I double click on icon of my application, it run screen saver, my screen saver shows images and news. Screen saver...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.