Re: Preventing IE close

2002-11-28 Thread Steve
I thought about something like this; however, doesn't this also trap the Quit event that is issued by Perl to close the window elsewhere in the program, making it impossible the close the window?   I suppose the a good alternative would be to test for the presence of the IE window when I go

Mixing Tk and Win32 GUI ?

2002-11-28 Thread Thomas Drugeon
Is this possible to mix Tk and Win32 windows in a same project? (I tried once to have a win32 dialogue box to open over a Tk windows, but the tk windows did not redraw when I mouved the win32 box!!) In fact I would lik to use activeX controls, like providd with Win32::GUI::AxWindow, in my Tk appli

Re: Can arrays be used as scalars?

2002-11-28 Thread Lee Goddard
Please stop posting this! Please read the headers and footer of the e-mails of the list you subscribed to - that'll tell you how to unsubscribe. You'll find most lists work like this. Thanks Lee At 11:50 28/11/2002, tran bao toan wrote: please do not send me anymore email, thanks! [EMAIL PR

RE: :Telnet on Win2K

2002-11-28 Thread Conor Lillis
please read the unsubscribe info on the bottom of the email, thanks. -Original Message-From: tran bao toan [mailto:[EMAIL PROTECTED]]Sent: 28 November 2002 10:53To: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: RE: :Telnet on Win2K please do not send me mail again. tha

RE: :Telnet on Win2K

2002-11-28 Thread tran bao toan
please do not send me mail again. thanks  [EMAIL PROTECTED] wrote: On 28/11/2002 03:23:01 perl-win32-users-admin wrote:>I think no one has got this to work yet because none of us has banged our>head hard enough onto the desk top.>>And all this just to remotely power down a Win2K box.:)>I'll post wh

Re: Can arrays be used as scalars?

2002-11-28 Thread tran bao toan
please do not send me anymore email, thanks!  [EMAIL PROTECTED] wrote: On 24/11/2002 08:06:35 RCTay wrote:>my( @dir, $free);>@dir =3D `dir`;>$free =3D $dir[$#dir];>>This code was written by a friend of mine. "@dir" was declared asa array, but>in the second line it is used as a scalar. How is that p

RE: :Telnet on Win2K

2002-11-28 Thread csaba . raduly
On 28/11/2002 03:23:01 perl-win32-users-admin wrote: >I think no one has got this to work yet because none of us has banged our >head hard enough onto the desk top. > >And all this just to remotely power down a Win2K box.:) >I'll post what I come up with. > use Win32; Win32::InitiateSystemShutdo

Re: Can arrays be used as scalars?

2002-11-28 Thread csaba . raduly
On 24/11/2002 08:06:35 RCTay wrote: >my( @dir, $free); >@dir =3D `dir`; >$free =3D $dir[$#dir]; > >This code was written by a friend of mine. "@dir" was declared as a array, but >in the second line it is used as a scalar. How is that possible? There are no >warnings given by the interpreter. C

Re: Preventing IE close

2002-11-28 Thread Thomas Drugeon
sorry, I realised there wwas lots of mistakes in my code I just c/p it from one of my code, modifing it on the fly...   use Win32::OLE qw(EVENTS); # don't forget the qw(EVENTS) !   my $url= "" href="">http://www.perl.com/;     my $IE = &OpenBrowser($url);  for (;;) {     $url= "" # update

Re: Preventing IE close

2002-11-28 Thread Thomas Drugeon
You can catch the "close" event, and then reopen IE: Try something like this (you can also use the EventLoop but I didn't managed to make it work) :   my $Quit = 0; use Win32::OLE qw(EVENTS);   $IE = Win32::OLE->new("InternetExplorer.Application.1") or die "Impossible de creer l'OLE Internet