OLE: preventing IE windows from being grabbed by popups

2003-04-04 Thread Thomas Drugeon
Hello,   I am controlling an IE windows with OLE, but surfing on the web in the same time cause this windows to be grabbed on every popup window. Is their a solution to prevent my IE windows from being kidnapped like this?   Thanks, Thomas

Re: re-executing a program

2003-02-18 Thread Thomas Drugeon
You can also use the start DOS command: system("START \"Re-executing...\" $0 $arguments"); exit; you could then indicate the the current state of your program in args (or in a file) for the new one to resume its execution. Thomas - Original Message - From: "Dax T. Games" <[EMAIL PROTEC

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: Preventing IE close

2002-11-28 Thread Thomas Drugeon
e($url);    $IE->{'Visible'} = 1;       Win32::OLE->WithEvents( $IE, \&Event, 'DWebBrowserEvents' );     # I use the 'DWebBrowserEvents'  interface but I think other interface may be used, with the OnQuit event instead of Quit...         return $IE; }

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

Converting HTML to PDF, acrobat ?

2002-11-14 Thread Thomas Drugeon
Hi! I want to copy web pages in an automated process. I am able to do this unsing LWP, storing each element of a page in a different file (HTML, GIF, etc.). The problem is that I want to store all these in PDF. I have been looking for "HTML2PDF" softs on the web, but none of them seems to do the j

Re: Hash tables where keys names would not be stored

2002-11-06 Thread Thomas Drugeon
g like: > > $seen{$key} = 1; > > where $key is the URL or whatever key you are using. > > -- > Mike Arms > > > -Original Message- > From: Thomas Drugeon [mailto:tdrugeon@;ina.fr] > Sent: Wednesday, November 06, 2002 3:10 AM > To: [EMAIL PROTECTED] &g

Re: Implementing a queue, memory

2002-10-31 Thread Thomas Drugeon
Sorry, I found it: Tie::File - Original Message - From: "Thomas Drugeon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 4:34 PM Subject: Re: Implementing a queue, memory > Thank you > > Do you know any module implementig

Re: Implementing a queue, memory

2002-10-31 Thread Thomas Drugeon
Thank you Do you know any module implementig such queues in a file? like dmb tied hashes do? > IIRC perl is optimized for that scenario (I can't remember where I read it > though). It shouldn't be a problem. > > > /J ___ Perl-Win32-Users mailing list

Implementing a queue, memory

2002-10-31 Thread Thomas Drugeon
hello, I am implementing a queue, using shift and push to put and remove elements from an array. The problem is that I don't know how Perl will manage the memory. Do you have experiences on such arrays after a big number of shift/push? Will Perl reallocate former used memory (relased from the shif

RE : RE : Memory consumption

2002-10-30 Thread Thomas Drugeon
and it's ok > > --- Thomas Drugeon <[EMAIL PROTECTED]> a écrit : > > I > ran this script on a PII 350, 128mo, with both > > activePerl and > > Siemens > > > the loop takes about 2minutes to completes (!), > > eating up to 10mo at > > its > > &g