Yes... there are two approaches though. You can either do it interactively
or non-interactively.
your mail suggests you have an interactive user who will run a script. If
outlook is open you can just use an existing session, otherwise you have to
use the MAPI.Logon method which is supplied by CD
Charles K. Clarkson wrote:
> Chris <> wrote:
> : print "Content-type: image/jpeg\n\n";
>
> Change that to:
>
> print "Content-type: image/jpg\n\n";
image/jpeg is correct.
> : open (data_In,"
>
> binmode data_In;
--
,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTE
On Sat, 16 Apr 2005, amar reddy wrote:
>
> Hai All-
> I Have problem with OLE Excel SaveAs method, if its
> sounds too silly forgive me.we need to create a HTML
> Doc from Excel Worlsheet. We are able to save
> the file as Excel with the follwoing statement
> $xl->ActiveWorkbook->SaveAs( {
>
Chris <> wrote:
: I know I've seen the answer to this question in the past but I
: can't seem to find it in the archives or Google. How can I
: output an image directly from Perl? I've read about possibly
: using binmode, but haven't found a working example.
:
:
: print "Content-type: image/jpeg
Hi Chris,
I may be way off-base here, but you might need to add a
"Content-Length: " header too-
HTH-
Kdot
On 4/18/05, Chris <[EMAIL PROTECTED]> wrote:
> I know I've seen the answer to this question in the past but I can't seem to
> find it in the archives or Google. How can I output an image di
You need to use binmode on both the input and output. Try this:
print "content-type:image/jpeg\n\n";
open (IMG,"<$filename");
binmode IMG;
binmode STDOUT;
my $size = -s "$filename";
read IMG,$data,$size || die"$!\n";
close IMG;
print "$data";
- Original Message -
From: "Chris" <[EMAIL
i have some devices that send data files via ZModem. i want to automate the process of receiving these files via a perl script.
after searching CPAN and other sites, i find that it's not as easy as i would have thought.
Devices::Modem doesnt allow file transfer, and is apparently very limite
> $W->{dialogui} = 1;
>
> Is this correct?
>
Actually it is $W->{-dialogui} = 1;
> But the problem is that the interface is still not accessible
> for a screen
> reader. No object from the form has the focus.
> If I pressed on a button using the mouse, it got the focus,
> but I was not
> a
I know I've seen the answer to this question in the past but I can't seem to
find it in the archives or Google. How can I output an image directly from
Perl? I've read about possibly using binmode, but haven't found a working
example.
print "Content-type: image/jpeg\n\n";
open (data_In,";
close
At 12:06 PM 4/18/05 -0700, bruce wrote:
>that's sort of what i had thought about. my perl's rusty. the issue i have,
>is that the line with the 'svn_roots:' may/will have subsequent lines that
>are part of the block. i'd like to be able to add the new information, as
>the last line of the block...
Does anyone know how I can use perl to specify an outlook profile, and query
the address book. Get a list of all names.
Thanks in advance
Steve
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.A
Chris Wagner wrote on 04/18/2005 01:16:05 PM:
> At 10:10 AM 4/18/05 -0700, Jan Dubois wrote:
> >> > $x=10;
> >> > $x=$x++;
> >> > print "$x\n";
> >> > #Results: $x=10, $x=11.
> >> The first result ($x=10) puzzles me. Are not the $x on the LHS and
RHS
> >> refering to the same scalar? I would thin
chris...
that's sort of what i had thought about. my perl's rusty. the issue i have,
is that the line with the 'svn_roots:' may/will have subsequent lines that
are part of the block. i'd like to be able to add the new information, as
the last line of the block...
.
.
.
#
#file comments...
svn_ro
Hi,
I have tried:
$W = new Win32::GUI::Window(
-title=> "Win32::GUI::Button (and variants) test",
-left => 100,
-top => 100,
-width=> 360,
-height => 260,
-name => "Window",
);
$W->{dialogui} = 1;
Is this correct?
But the problem is that the inter
At 10:10 AM 4/18/05 -0700, Jan Dubois wrote:
>> > $x=10;
>> > $x=$x++;
>> > print "$x\n";
>> > #Results: $x=10, $x=11.
>> The first result ($x=10) puzzles me. Are not the $x on the LHS and RHS
>> refering to the same scalar? I would think that $x would be assigned the
>> value of $x (10), and then
On 4/18/05, Lloyd Sartor <[EMAIL PROTECTED]> wrote:
> Jerry Kassebaum wrote on 04/17/2005 06:56:29 AM:
>
> >
> > $x=10;
> >
> > $x=$x++;
> >
> > print "$x\n";
>
> The first result ($x=10) puzzles me. Are not the $x on the LHS and RHS
> refering to the same scalar? I would think that $x would be as
open("FILE", "$filename");
binmode FILE;
undef $/;
$image = ;
binmode STDOUT;
print $image;
That should do it, although there's no reason to do this with a static file
unless u want to obfuscate it's source. This only makes sense for getting
an image from a database.
At 09:07 AM 4/18/05 -0400, C
>
> >
> > $x=10;
> >
> > $x=$x++;
> >
> > print "$x\n";
> >
> > $x=10;
> >
> > $y=$x++;
> >
> > print "$x\n";
> >
> > #Results: $x=10, $x=11.
> > #I understand it, but I think it's weird anyway.
> >
>
> The first result ($x=10) puzzles me. Are not the $x on the
> LHS and RHS
> refering
At 07:41 PM 4/17/05 -0700, [EMAIL PROTECTED] wrote:
>it isn't working correctly... and i'm willing to consider using perl.
>basically, i'd like to continually add to the svn_root: block with an
>additional line as required. also, can someone tell me what i'd need to do,
>if i wanted to remove a lin
On Mon, 18 Apr 2005, Lloyd Sartor wrote:
> Jerry Kassebaum wrote on 04/17/2005 06:56:29 AM:
> >
> > $x=10;
> >
> > $x=$x++;
> >
> > print "$x\n";
> >
> > $x=10;
> >
> > $y=$x++;
> >
> > print "$x\n";
> >
> > #Results: $x=10, $x=11.
> > #I understand it, but I think it's weird anyway.
> >
>
> The f
Bruce,
I'm not sure what you're looking for. If something distributed with Gforge
is broken, shouldn't you ask its forum or the authors? Or are you trying to
add functionality that doesn't currently exist?
- Mark.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTE
Jerry Kassebaum wrote on 04/17/2005 06:56:29 AM:
>
> $x=10;
>
> $x=$x++;
>
> print "$x\n";
>
> $x=10;
>
> $y=$x++;
>
> print "$x\n";
>
> #Results: $x=10, $x=11.
> #I understand it, but I think it's weird anyway.
>
The first result ($x=10) puzzles me. Are not the $x on the LHS and RHS
ref
I know I've seen the answer to this question in the past but I can't seem to
find it in the archives or Google. How can I output an image directly from
Perl? I've read about possibly using binmode, but haven't found a working
example.
print "Content-type: image/jpeg\n\n";
open (data_In,";
close
At 09:49 2005-04-17, Octavian Rasnita wrote:
Does anyone know what Windows graphics library is used by Win32::GUI?
The native Windows libraries.
I have seen that all the programs which are using the standard Win32
graphics library are very accessible for the blind (for screen readers), but
the pro
24 matches
Mail list logo