RE: On click?

2001-12-18 Thread Martin Moss
It's a Label window, with scrolling text. So I want to make different words in the same window have different parameters. Basically I want to spawn an IE window with a specific URL. (Where $vu_win is the main window) my $fr = $vu_win-Frame(-width = 90, -background='red',

RE: please unsubscribe

2001-12-18 Thread Tillman, James
But... but, I don't want to! I like this list. ;-) jpt -Original Message-From: Frank Perron [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 9:53 PMTo: Perl-Win32-UsersSubject: please unsubscribe please unsubscribe

Rename or copy of STDERR-File

2001-12-18 Thread Roland Schoenbaechler
Hi, I'm running a script on Windows NT. When I start the script, I redirect STDERR to a file ( perl -w script.pl 2errors.txt). The runs daily as a batch-job and the error-file is overwritten. However, under some conditions I want to keep the error-file. Is there a possibility to rename or copy

RE: Rename or copy of STDERR-File

2001-12-18 Thread Conor Lillis
To precede the log file with date time, call the script by a batch file, with the following lines preceding the PERL script. - echo -- errors.txt # Puts a nice visible split in the log file. date /t errors.txt

encrypt a module?

2001-12-18 Thread Chuck . Hirstius
I am coding a module that will be shared across several other groups applications but there are calls in it that only certain groups should use. Rather than making separate modules for each group having only the functions they need, I'd like to just distribute one copy and only tell them what

RE: encrypt a module?

2001-12-18 Thread Hanson, Robert
You want to use a source filter. The source filter is a Perl module that filters the module before it is run, so it could be used to show/hide debugging info, or in your case decrypt it. The Perl Journal had a good article on it a while ago, check it out and then see what pre-built filters are

RE: On click?

2001-12-18 Thread Dunnigan,Jack [Edm]
Are you trying to find out which 'word' the user clicks on within your scrolling text? If so...a bit more thinking is needed. If not, then it is easy enough to kick off a process. Just bind Button 1 to the label. $lb-bind('ButtonPress-1',sub{system(start iexplore)} ); Jack --- The views

RE: encrypt a module?

2001-12-18 Thread Christopher Hahn
Here's a hilarious answer: ACME::Bleach They will wonder where the code went! Good luck, Christopher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 7:32 AM To: [EMAIL PROTECTED] Subject: encrypt a module? I am coding a module

Microsoft Word

2001-12-18 Thread [EMAIL PROTECTED]
Please I need someone help me, I want to know why it doesn't work in my web server?... It only works when I run it from Perl Builder. Thanks in advance use Win32::OLE; use Win32::OLE qw(in with); use

OLE and Outlook

2001-12-18 Thread Wells, Doug
Hi- I am using OLE to access information in my Contacts folder in my Outlook PST file. All is fine, but I need the last modification information and I am having trouble with it. When I access that data, it is a long integer (possibly a Julian date?). I am not sure how to interpret it into a

Re: OLE and Outlook

2001-12-18 Thread Matt Prigge
I dont have Outlook on this machine, so I cant test it, but my guess is that youre probably dealing with an OLE Variant datatype. Read the Win32::OLE::Variant documentation and see if that gets you anywhere. Sometimes just adding 'use Win32::OLE::Variant' at the top of the script will make it

RE: OLE and Outlook

2001-12-18 Thread Morse, Richard E.
My guess is that you are getting epoch dates -- that is, offset in seconds from the computer's epoch. You can test this by getting the date, then printing the value of scalar(localtime($date_val)) which will attempt to figure out the date from the epoch. Note that Access may use a

RE: encrypt a module?

2001-12-18 Thread Chuck . Hirstius
That is perfect! I only wish I could see the looks on their faces! Now if I could only get it to install off of cpan... keeps saying it can't find it! Here's a hilarious answer: ACME::Bleach They will wonder where the code went! Good luck, Christopher -Original Message- From:

RE: OLE and Outlook

2001-12-18 Thread Peter Eisengrein
I believe he is right. However, it would appear that MS uses a different epoch than the standard unix (of course). If you've ever entered a date into an Excel sheet and then formatted the cell to be 'General' or 'Text' it converts it to some kind of epoch-like number. -Original Message-

uninitialized value when checking Excel

2001-12-18 Thread Luba Sereb
Hello, I can't solve problem, help please. I've create script for findin empty cell in Excel: for ($iCell = 2; ($Cell ne ); $iCell++) { #Defining last busy row in A column $Cells = $Sheet-Range(A$iCell); $Cell = $Cells-{Value}; #get the contents at

RE: encrypt a module?

2001-12-18 Thread Peter Eisengrein
Sounds like a need for the ol' obfuscated perl. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 December 2001 10:32 To: [EMAIL PROTECTED] Subject: encrypt a module? I am coding a module that will be shared across several other groups

catching errors in OLE

2001-12-18 Thread Tom_Denapoli
Hi all, I'm trying to catch errors in a small excel driver script I've got. Essentially, we parse a text file, take the values and stuff them into named cells in a template spreadsheet, calculate, then save off the output and loop to the next line in the text file. I have a problem when

Re: catching errors in OLE

2001-12-18 Thread Matt Prigge
I havent ever used the excel OLE control, but I assume this will work (it does in other similar situations): if(defined($sheet-Range(FRED))) { # Cell is defined $sheet-Range(FRED)-{Value} = foo; } else { # Cell isnt defined, throw an error die(Cell \FRED\ isn't defined!!); } HTH - Matt

Re: uninitialized value when checking Excel

2001-12-18 Thread Steve Hurst
On Tue, 18 Dec 2001, Luba Sereb wrote: $Cells = $Sheet-Range(A$iCell); $Cell = $Cells-{Value}; #get the contents at When script find empty cell it send message: Use of uninitialized value in string ne at and program finished. What problem is? How to avoid

PPM::InstalledPackageProperties() dereferencing hashes

2001-12-18 Thread Capacio, Paula J
The documentation states that the InstalledPackageProperties function, returns a hash with package names as keys, and package properties as attributes. What I got back however leads me to believe that it returns the package names as keys but the package properties as a reference to a hash. I

Re: PPM::InstalledPackageProperties() dereferencing hashes

2001-12-18 Thread Sisyphus
- Original Message - From: Capacio, Paula J [EMAIL PROTECTED] I guess I just don't understand references after all, can anybody spot what I'm doing wrong? TIA Paula Rather than do that, I'll just post some code that works for me. ( It's easier :-) A couple of curiosities about my