On Wed, 9 May 2001 13:30:02 -0500, "Adam Frielink" <[EMAIL PROTECTED]>
wrote:
>Issues: I can access the Application Object and the Report Object
>underneath it. The OpenReport method executes properly (I am assuming) but
>returns the 'Retrying default method a C:\per\site\lib\Win32\OLE\Lite.pm
On Wed, 9 May 2001 09:54:06 -0700, Wagner-David
<[EMAIL PROTECTED]> wrote:
> I am processing several thousand Excel files and converting to PDF.
>One of my existing problems is that they have different Print Quality and I
>need to set to 400 dpi. Here is a portion of the code:
>
> $s
that should be 'very basic Tk'. No kidding -- change use TK; to use Tk; and
try it.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Michael Marziani wrote:
>
> Just a note to start this off, I am aware of the Net::Telnet module but I am
> trying to learn more about sockets so I don't want to take the easy road to
> solve this problem.
>
> Ok.. I'm writing a program that telnets to a server, sends some simple (1
> line) comm
i think it's
use Tk;
^
see the little 'k'
> -Original Message-
> From: Gregg Martinson [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 4:41 AM
> To: [EMAIL PROTECTED]
> Subject: very basic TK ?
>
> Hello,
> I have been playing with TK today...readin
"O'Malley, Bryan T." wrote:
>
> I read a Unix ascii file with \012 end-of-line terminators with the Perl
> script, and I simply want to substute some strings, and write it out to an
> NT ascii file keeping the Unix style end-of-line terminators.
>
> Perl wants to put CarriageReturns \015 in ther
Meegan Goad wrote:
>
> Hello,
>
> Was wondering if anyone has come across the module for Finance::Quote in the
> Win32 version? Any help is appreciated.
I believe it's all Perl, so it shouldn't matter.
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / )// // D
Seems like there are two things you can do to correct this:
1) Change the line "use TK;" to "use Tk;" (make the "K" lowercase).
2) Change the line "MainLoop;" to "$mw->MainLoop;".
I'm not sure what the differences between TK and Tk are (or why there's two
Tk modules), but apparently the Tk modul
Hello,
Was wondering if anyone has come across the module for Finance::Quote in the
Win32 version? Any help is appreciated.
Thanks
Meegan
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-
Thank you all a lot for the excellent suggestions. I'm really having fun with this
language. Except for grapsing the syntax for nestled tables using CGI.pm. But I'm
getting there. Cheers.
Mark Bergeron
-Original Message-
From: "Philip Newton"<[EMAIL PROTECTED]>
To: "'Toby Stuart'"<[EMA
The script would be able to run in Task Scheduler if the user belongs
to the local administrator group. but doing so would be compromising on
the security. Does one need to be in the local administrator group in
order to use Task Scheduler?
--- Andy Jennings <[EMAIL PROTECTED]> wrote:
> Now you
Thanks for the reply. however I've encountered this problem too when
IIS is accessing another Perl script of mine. this is another
situation. in the development system "Everyone" has CHANGE access to
the system32 folder. once this is changed to just READ, the script will
fail to run.
what's the p
Well, printf is displaying a rounded version of the number - the number is
not disturbed.
Displaying the rounded version hides the fact that you are dealing with an
approximation - until it is too big to hide.
Often, that is long enough.
-Original Message-
From: [EMAIL PROTECTED]
[mailt
> I have a Perl program install.pl. When it hits an error it sends an e-mail
> to a selected address. This works perfectly when I run the install.pl.
>
> I take the install.pl and using the developers kit and create an exe by
> running the following:
> perlapp install.pl -f
>
> Now when I run
Toby Stuart wrote:
> return undef if length($n) != 9; #assuming an SSN is
> always 9 chars
I would s/return undef/return/ here, since return without an argument does
"the right thing" regardless of whether the sub was called in scalar or list
context.
> $n =~ m/^(\d{3})(\d{2})(\d{4}
$Bill Luebkert wrote:
> You could use substr or a pattern match or ??. substr is
> probably faster than RE.
And unpack possibly clearer.
Cheers,
Philip
--
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the preci
my $ssn="123456789";
$ssn =~ s/^(\d{3})(\d{2})(\d{4})$/$1\-$2\-$3/;
print $ssn;
Justin Rogers
[EMAIL PROTECTED]
[EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:perl-win32-
> [EMAIL PROTECTED]] On Behalf Of Mark
> Sent: Tuesday, May 08, 2001 04:05 PM
> To: Lee Go
Kevin Plyler wrote:
> I have a question kind of along these lines. If I have a
> number, "string", that I extract from the dB using DBI and
> CGI.pm like 455368900 (ssn) which I am using as a unique
> identifier but also need to display on a report. And need to
> insert the dashes xxx-xx-
Kevin Plyler wrote:
> I need to do some processing when my script trminates. using
> the End block works on normal termination, but not when the
> task is killed or otherwaise abnormally terminates.
Well, that's the point of killing a process, isn't it? To stop it from doing
*anything* further?
[EMAIL PROTECTED] wrote:
> when I try to execute within a script and set the result
> to a variable, it doesn' t work.
^
That's a completely useless statement. Does your computer blow up when you
try it? Do you get lots of ones and zeroes scrolling down your monito
Hi,
I use follow code but got some error, someone can give me a hand? thx
the error message is: failed to add entry: Referral:
what's the "Referral" means?
==
use Net::LDAP;
$ldap = Net::LDAP->new('123.123.123.123') or die "$@";
$ldap->bin
Here is one (of many) ways to do it:
$ssn = "455368900";
(my $disp = $ssn) =~ s/(...)(..)()/$1-$2-$3/;
print $disp;
Mark wrote:
>
> Guys,
> I have a question kind of along these lines. If I have a number, "string", that I
>extract from the dB using DBI and CGI.pm like 455368900 (ssn) which
Mark wrote:
>
> Guys,
> I have a question kind of along these lines. If I have a number, "string", that I
>extract from the dB using DBI and CGI.pm like 455368900 (ssn) which I am using as a
>unique identifier but also need to display on a report. And need to insert the dashes
>xxx-xx- to
$number = "455368900";
print &str2ssn($number);
sub str2ssn
{
my $n = shift;
return undef if length($n) != 9; #assuming an SSN is always 9 chars
(less the dashes '-') ... i've no idea ... [t0by]
$n =~ m/^(\d{3})(\d{2})(\d{4})$/;
return $1 . "-" . $2 . "-" . $3
}
Hi. I have a Perl script which performs a simple task of getting a
webpage and storing it in a file in a folder. I have no problems
running this script under my own NT login username. i belong to the
local administrator group.
the problem arose when i run this script using the windows task
schedu
25 matches
Mail list logo