DDE/Screensaver between Visual basic applications 
Author Message
 DDE/Screensaver between Visual basic applications

I have a question

I built an application in VB5 for Windows NT4.0sp5 which reads at
regular time intervals data true the serialport from a datalogger.
This application works fine and is installed as a service so it also
runs when nobody is logged on.

I also created an application as a screensaver in VB5 which gets all
the label captions and picturebox data from the 'mother' application
and displays it on a form similar like the GUI of the normal
interface. I compiled this as .SRC file

The problem is that when I run the screensaver using the preview or
settings it works fine but when it starts automaticly (as it normaly
has to do) it doesn't detect any DDE source.
Do screensavers not support any DDE communication?

Does anyone have an answer to this question or know how I can solve
this problem

Your help will be appreciated

Greetings Maurice Hoeneveld



Mon, 07 Jan 2002 03:00:00 GMT  
 DDE/Screensaver between Visual basic applications

Quote:

>The problem is that when I run the screensaver using the preview or
>settings it works fine but when it starts automaticly (as it normaly
>has to do) it doesn't detect any DDE source.
>Do screensavers not support any DDE communication?

You are running into standard NT security. There are three main virtual desktops
in NT, Logon, Application, and Screen Saver. By design, no desktop is supposed
to be able to communicate with another. The test preview runs on the application
desktop, but when the screen saver is actually invoked it is running on the SS
desktop.
Don Bradner
MSVB MVP

www.arcatapet.com


Mon, 07 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DDE/Screensaver between Visual basic applications

2. DDE/Screensaver between Visual basic applications

3. DDE between Visual basic applications

4. DDE between Visual basic applications

5. DDE between Visual basic applications

6. loading visual basic 3.0 applications in visual basic 5.0

7. Using visual basic controls outside a Visual Basic application

8. Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET

9. creating screensavers in visual basic

10. visual basic screensaver password

11. Visual Basic 5 Screensavers...

12. Visual Basic Screensaver Tips

 

 
Powered by phpBB® Forum Software