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
*
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
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
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
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
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
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
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
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
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
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
>
> 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
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
13 matches
Mail list logo