null pointer & OLE

2001-11-28 Thread Doug Claar
I am trying to interface to an application via OLE, but I've run into a bit of a problem: One of the OLE calls requires a null pointer to work correctly in some cases. How can I do this? my $result=$control->Play(phEventClose, , phDialogSilent); ==Doug Claar __

RE: sprintf question

2001-11-28 Thread Jeffrey
--- "Keith C. Ivey" <[EMAIL PROTECTED]> wrote: > The next character after \d+ isn't necessarily a > nondigit. It > depends on what else is in the regex and what's in > the string. > For example /\d+.$/ and /\d+\D$/ don't match the > same strings. > The first one matches "234" (with '\d+' matchin

Re: OT: Virus

2001-11-28 Thread Jeffrey
--- Sisyphus <[EMAIL PROTECTED]> wrote: > Yes - this is where a major part of the problem > lies. How does one configure > the system so that attachments will not open > *unless* clicked on ? Afaik my > configuration will not allow attachments to open > until they are clicked - > yet this is obvi

Re: https request module.

2001-11-28 Thread $Bill Luebkert
Siva Namburi wrote: > Hi, > > Is there a perl module which will enable me to send "https" requests. The > current http::request module can only send > regular http requests. You need Crypt::SSLeay to go with. I think that's all. -- ,-/- __ _ _ $Bill Luebkert ICQ=14

https request module.

2001-11-28 Thread Siva Namburi
Hi, Is there a perl module which will enable me to send "https" requests. The current http::request module can only send regular http requests. thanks, siva ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/m

RE: sprintf question

2001-11-28 Thread Keith C. Ivey
Carl Jolley <[EMAIL PROTECTED]> wrote: > Additionally, I believe that the sprintf format should be > "%03d". Either "%.3d" or "%03d" will work. Some people prefer the . to the 0 because it's standard C as well as Perl and because the leading 0 can imply octal rather than decimal. You can read

RE: sprintf question

2001-11-28 Thread Keith C. Ivey
Jeffrey <[EMAIL PROTECTED]> wrote: > But if you match all digits (\d+) then you are > guaranteed that the next character (if any) is a > non-digit. So if another character is required for > the regex (say, you want to match "234foo" but not > "234") then you could use a . and it wouldn't hurt th

Re: OT: Virus

2001-11-28 Thread Sisyphus
- Original Message - From: "Marracci, Peter E" > The Badtrans.B variant is executed when a user opens an infected > e-mail, and does not require a user to click on an attachment > Yes - this is where a major part of the problem lies. How does one configure the system so that attachments

Re: OT: Virus

2001-11-28 Thread Mark G. Franz
Title: Message Hmm... ZoneAlarm Pro catches all .pif attachments and quarantines them.  Very nice personal firewall.   Mark - Original Message - From: Marracci, Peter E To: 'Robert Pendell' ; [EMAIL PROTECTED] Sent: 28 November, 2001 4:48 PM

RE: Minimize Window

2001-11-28 Thread Ron Hartikka
I started task mgr manually. This worked. w2k. use Win32::GuiTest qw(FindWindowLike GetWindowText SetForegroundWindow SendKeys); $Win32::GuiTest::debug = 0; # Set to "1" to enable verbose mode my @windows = FindWindowLike(undef, "Windows Task Manager", "."); #print join "\n", @windows; for

Re: generating a checksum

2001-11-28 Thread saravanakumar chinnaraj
use Digest::MD5; http://www.perldoc.com/perl5.6.1/lib/Digest/MD5.html This package does it all. Hope this is useful saran From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: David Edrich <[EMAIL PROTECTED]> CC: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject: Re: generating a checksum Date: Mon,

RE: unlink(file)

2001-11-28 Thread Ron Hartikka
Do you have the file open? You cannot delete an open file according to Bill. open (JUNK, '>junkyfile.txt'); print JUNK "STUFF IN junkyfile.txt\n"; close JUNK; print `type junkyfile.txt`; unlink 'junkyfile.txt'; print `type junkyfile.txt`; ... prints... STUFF IN junkyfile.txt The system cannot

RE: OT: Virus

2001-11-28 Thread Marracci, Peter E
Title: Message You may be interested in a synopsis of the current pest - BadtransB Virus.  I hopes this helps you.   Pete   Quick summary & FYI on Badtrans.B worm - leaves backdoors & logs data Badtrans.B arrives in the recipient's in-box with a "Re:" subject line to an e-mail actual

RE: OT: Virus

2001-11-28 Thread Bullock, Howard A.
Based on info from Microsoft an Outlook registry setting could stop viruses from automatically executing when the Outlook preview pane is active. This is Kixtart script code used in our logon script. Sorry for posting a non-Perl solution, but someone can rewrite it.   ;-

Re: OT: Virus

2001-11-28 Thread Robert Pendell
I don't know of any perl coding relating for this or if a patch for OE is available yet.  I do know that you must have anti-virus software though or it will make it through.  I learned that when Nimda hit our classroom subnet.  Everyone had the system patched with all the patch

OT: Virus

2001-11-28 Thread Sisyphus
Hi,   Yeah, as noted on this list, I''ve been caught a couple of times lately by virus attachments that open without being opened. ( The first was Nimda, which, afaik, did not get the chance to spread from this box.) I believe they utilise a hole in the relationship between Ou

RE: anyone have a command line printer program ?

2001-11-28 Thread John Deurbrouck
This is in response to the person looking for a good way to precisely place text on a page, then print it under Windows. I just wrote a while ago, but here is a bit more data. Though it's a bit off the actual Perl topic, this should explain clearly enough what Windows Metafiles are. http://www.w

Re: anyone have a command line printer program ?

2001-11-28 Thread John Deurbrouck
>I need precision text positioning. I need to print text onto >pre-printed forms. I used to do fine when we still have PCL >printers (HP laser and inkjets) but now we dont have those. >secondly, we dont want to use printer commands; because doing >so it will cause endless program re-configuration

Minimize Window

2001-11-28 Thread Dirk Bremer
I have started an instance of the Winnt Task Manager using Win32::Process, and once it has started, I would like to minimize it. How may I accomplish this in Perl? Dirk Bremer - Systems Programmer II - AMS Department - NISC 636-922-9158 ext. 652 fax 636-447-4471 ___

RE: Windows NT/2000 File and Directory Copy Question

2001-11-28 Thread Scot Robnett
That was definitely a virus. Fortunately, AVG antivirus caught it on my system this morning. If you get a 'response' from Sisyphus, do not open it. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

Re: Windows NT/2000 File and Directory Copy Question

2001-11-28 Thread Alvin Lewis
Tnanks, $Bill Al Lewis > Alvin Lewis wrote: > > > Hi, everyone. > > > > Strange. I had a response from 'Sisyphus' in Outlook this morning but I can't >open it ( crashes ) and his response in nowhere to be found here?! Anyone have any >ideas as to what perl can do here or is this a limita

RE: unlink(file)

2001-11-28 Thread Scot Robnett
system("del $filename"); - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Edward G. Orton Sent: Wednesday, November 28, 2001 2:04 PM To: Perl-Win32-Users Mailing List Subject: unlink(fil

Re: One-liners on wildcarded files in Win32?

2001-11-28 Thread Edward G. Orton
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 2:57 PM Subject: One-liners on wildcarded files in Win32? > From: Matthew Daly > > In chapter 20 of Lemay's book, she gives the following example of a > one-liner: > > perl -p -i.ba

unlink(file)

2001-11-28 Thread Edward G. Orton
I seem to have a problem with deleting files from Perl. I use unlink('filename') to delete the file, but it does not actually get deleted until the perl program exits. This is a problem since I am using a perl program to clean up old files, and put new ones on a removeable drive. If the drive is f