Re: Screen Capture Desktop as Service

2004-04-27 Thread Roy Huggins
Well, after reading through some of the docs that Peter and Darrell pointed out, and consulting with a colleague here who has much more experience with services than I, the conclusion seems to be that: * Services do have a non-user-interactive desktop and can launch windows on this desktop, etc *

ole com dcom com+ what?

2004-04-27 Thread Hon Shi
I'm using the perl ole module to connect with some lotus/domino objects. Some of these are available only for com objects, java and other things. Mostly the class's available to list always lists ole whenever com is included. A particular class I was interested in said it was for use only with

RE: Screen Capture Desktop as Service

2004-04-27 Thread Peter Guzis
Do you have "Allow service to interact with desktop" checked in the service properties? Are the results consistent if you toggle the checkbox and restart the service? FYI: INFO: Services, Desktops, and Window Stations http://support.microsoft.com/default.aspx?scid=kb;en-us;171890 INFO: Se

Re: Screen Capture Desktop as Service

2004-04-27 Thread Roy Huggins
The service does seem to have a desktop. I know this because: a) At least one guru has told me so. :) b) When I invoke GetThreadDesktop() from my service, I get a valid return value of 964 (when I invoke the script from my desktop rather than as a service, I get a return value of 64.) c) When I la

RE: Screen Capture Desktop as Service

2004-04-27 Thread Peter Guzis
AFAIK, services running in the LocalSystem context have no desktop of which to speak. Creating an interactive environment (desktop) for something explicitly defined as non-interactive (service) would serve no purpose. Assuming there was a system desktop, what were you hoping to capture? Peter

RE: Screen Capture Desktop as Service

2004-04-27 Thread Darrell Gammill
This is not a solution so much as part of the analysis: Services are non-interactive processes as opposed to a logged in user is an interactive process. What do you expect to see on the desktop of a non-interactive session? If it is non-interactive, do you have a desktop? -Dgg -Original Me

Screen Capture Desktop as Service

2004-04-27 Thread Roy Huggins
Hola. After Randy Kobes very kindly helped me get a working copy of Win32::Screenshot, I have been testing using it in a script running as a service. It is pretty essential that I be able to run this app as a service. The difficulty is that Win32::Screenshot always seems to grab it's shot from th

Re: Win32::TieRegistry Problem (no html this time)

2004-04-27 Thread Mark Leighton
steve silvers wrote: I'm trying to run my script locally and trying to get all the exclusion lists from remote computers. It runs great for my local machine or any machine I have remoted into, but the rest just come back with: Overlapped I/O operation is in progress and returns nothing? Is thi

Re: Accessing Outlook Items

2004-04-27 Thread work
Try this: my $from = $msg->{SenderName}; You can find other properties that are available in the Object Browser in the Visual Basic Editor. You can get to the editor from Outlook under the Tools- >Marco menu. Nathaniel Bartusiak TTMS, Keesler AFB Quoting Julie Byrum <[EMAIL PROTECTED]>: > I

RE: Accessing Outlook Items - found it

2004-04-27 Thread Julie Byrum
This is what I should have done. Thanks anyway. use strict; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Outlook'; $Win32::OLE::Warn = 2; # Throw Errors, I'll catch them my $OL = Win32::OLE-> GetActiveObject('Outlook.Application') or die; Win32::OLE-> LastError(); my $NameSpac

Accessing Outlook Items

2004-04-27 Thread Julie Byrum
I am trying to read messages from an Outlook Inbox, process the data in the message, and send a reply (also using some of the data from the message). So far I have found a lot of great information here. (Thanks especially to Chuck Charbeneau). I am now able to read the To, Subject, and Body of

AW: AW: AW: Perl build problem - setting the Perl install location

2004-04-27 Thread Dietmar Fiehn, Dr.
> > Cwd should be available on both, so you can rewrite BOP_cwd. > > sub BOP_cwd { require Cwd; return Cwd::getcwd (); } > At the time this method is called the old and possibly wrong include paths are yet active. So I may not be able to include anything through require / use. Thats why I wro

Re: AW: AW: Perl build problem - setting the Perl install location

2004-04-27 Thread $Bill Luebkert
Dietmar Fiehn, Dr. wrote: > -Ursprüngliche Nachricht- > >>Von: Wayne Johnson [mailto:[EMAIL PROTECTED] >>Betreff: Re: AW: Perl build problem - setting the Perl install location >> >>Thanks for the info. > > >>We're using the OpenSource (or whatever the non-ActiveState version is >>call