RE: Minimize console window to System Tray

2003-05-31 Thread Stuart Arnold
Title: Message It is, (but I haven't tried it).Take a look at Win32::GUI::NotifyIconHere's the help excerpt: new Win32::GUI::NotifyIcon(PARENT, %OPTIONS)Creates a new NotifyIcon (also known as system tray icon) object; can also be called as PARENT->AddNotifyIcon(%OPTIONS). %OPTIONS are:   

Minimize console window to System Tray

2003-05-31 Thread Amgad Shenouda
Hello All, I know perl can get control over a Window. But I need perl to get control over my normal perl console, that whenever I click the minimize button of the console, that the console is minimized to the System Tray area instead of the task bar button. I s this possible, can anybody help me

Re: More help!!

2003-05-31 Thread $Bill Luebkert
a a wrote: > Hey... I'm back again... > > My script now hangs every time I try to do a system > call from within it ... At least, I think it's > hanging... I've shown the code below, including the > three lines I've commented out that cause it to > hang... Also, I tried `dir` just to see if that a

More help!!

2003-05-31 Thread a a
Hey... I'm back again... My script now hangs every time I try to do a system call from within it ... At least, I think it's hanging... I've shown the code below, including the three lines I've commented out that cause it to hang... Also, I tried `dir` just to see if that also caused a hang, and su

RE: Spreadsheet::WriteExcel-> new dies unexpectantly

2003-05-31 Thread Ismail Mutlu
Thanks Steve and Mark. That worked!. Iso -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:01 PM To: [EMAIL PROTECTED] Subject: RE: Spreadsheet::WriteExcel-> new dies unexpectantly > Yes, the document is open in excel. But the scripts

Re: reading image files

2003-05-31 Thread [e]agLØrT
thanks man.. this doesnt match my program but i understood how to use the module!! my program exports brochures which have some images.. i made the templates and now i will put in these codes to convert images to base64... thanks again :)) - Original Message - From: "Michael Higgins" <[EM

Re: writing SPSS files

2003-05-31 Thread Andrew Mercer
If I'm not mistaken, the SPSS .sav format is not generally available, although I believe there is a developer's kit you can buy from SPSS which you could probably work with through OLE. Otherwise you could produce an SPSS syntax file (.sps) with data definitions and use it in conjunction with

Re: reading image files

2003-05-31 Thread [e]agLØrT
i didnt test the code but i think this is exactly whak i look for! thanks a lot... also thanks to others that sent a reply.. :)) - Original Message - From: "Brož Jiří Ing. 110300" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 6:38 AM Subject: RE: reading image f

RE: Spreadsheet::WriteExcel-> new dies unexpectantly

2003-05-31 Thread shurst
> Yes, the document is open in excel. But the scripts dies on line 4 ( > Spreadsheet::WriteExcel-> new ), which should not and give me $Book > as undef so I can check it and give the user a warning to close the > sheet. Tight now the script dies with excel exception errors. > While the documen

RE: Spreadsheet::WriteExcel-> new dies unexpectantly

2003-05-31 Thread Ismail Mutlu
Yes, the document is open in excel. But the scripts dies on line 4 ( Spreadsheet::WriteExcel-> new ), which should not and give me $Book as undef so I can check it and give the user a warning to close the sheet. Tight now the script dies with excel exception errors. Thanks. Iso -Original M

RE: Spreadsheet::WriteExcel-> new dies unexpectantly

2003-05-31 Thread Adam R. Frielink
> -Original Message- > From: Ismail Mutlu [mailto:[EMAIL PROTECTED] > Sent: Friday, May 30, 2003 3:51 PM > To: [EMAIL PROTECTED] > Subject: Spreadsheet::WriteExcel-> new dies unexpectantly > > > Hello Group, > > Following script dies with this error : > > Can't open iso.xls. It may b

Spreadsheet::WriteExcel-> new dies unexpectantly

2003-05-31 Thread Ismail Mutlu
Hello Group, Following script dies with this error : Can't open iso.xls. It may be in use or protected at test.pl line 4 - use Spreadsheet::WriteExcel; use strict; my $excel_name="iso.xls"; my $Book = Spreads

RE: help with array reference inside hash

2003-05-31 Thread Joseph P. Discenza
Erich C. Beyrent wrote, on Friday, May 30, 2003 15:37 : print STDOUT $data{"params"}."\n"; print STDOUT @{$data{"params"}},"\n"; Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTEC

help with array reference inside hash

2003-05-31 Thread Erich C. Beyrent
More ugliness...   my %data = ""> print STDOUT $data{"args"}."\n";print STDOUT $data{"usage"}."\n";print STDOUT $data{"params"}."\n";   sub ParseFormat {   my $args = "foo";   my $usage = "bar";   my @params = (1,2,3,4,5);   my %temp=( "args"   => $args,  "usage"   => $

Re: Global substitution

2003-05-31 Thread Carl Jolley
On Fri, 30 May 2003, Nut Cracker wrote: > open(MF, "MyFile.txt"); > while(defined($line=)){ > if($line =~ /\/ig){ > $line =~ s/\/\r/; > } > } > > > it might be ugly, but it should work. > > NuTs > It's unnecessarily ugly. There's no need to esca

Re: Global substitution

2003-05-31 Thread Carl Jolley
On Fri, 30 May 2003, Charlie Schloemer wrote: > - Original Message - > From: "Ricci, Mark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 30, 2003 11:04 AM > Subject: Global substitution > > > > Hello All, > > > > I have a file that has characters instead of carriage re

Re: Global substitution

2003-05-31 Thread Carl Jolley
On Fri, 30 May 2003, Ricci, Mark wrote: > Hello All, > > I have a file that has characters instead of carriage returns. > I'm having a hard time coming up with an automated search and replace > script. > > Any ideas would be appreciated... > How about $data=~s//\n/gi; [EMAIL PR

Re: Sessions needed??

2003-05-31 Thread Carl Jolley
On Fri, 30 May 2003, a a wrote: > Alright, perhaps some more info on why I *thought* I > may need them... > > I'm trying to set up a site that will serve as an > automarker for a contest. So, people uplaod their > source code, and then the script compiles it, runs the > executable, checks output,

Re: Daemonizing a perl application

2003-05-31 Thread Carl Jolley
On Fri, 30 May 2003, Mark Calleja wrote: > G'day All, > > I'm trying to daemonize a perl app under Windows but without much joy. Under > a *nix OS I have no such problems, as the following bit of code does the > trick: > > > use POSIX; > > $pid = fork; > exit if ($pid); > die "Couldn'

Re: Single quotes on the command line

2003-05-31 Thread Carl Jolley
On Thu, 29 May 2003 [EMAIL PROTECTED] wrote: > I'm not a Windows user, so be patient with me. > > Is there something wrong with my installation or is this normal behavior? > > C:\>perl -e 'print "hello\n"' > Can't find string terminator "'" anywhere before EOF at -e line 1. > > C:\>perl -e "print

Re: Global substitution

2003-05-31 Thread Nut Cracker
open(MF, "MyFile.txt"); while(defined($line=)){ if($line =~ /\/ig){ $line =~ s/\/\r/; } } it might be ugly, but it should work. NuTs - Original Message - From: "Ricci, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, M