Re: How to take focus?

2005-05-06 Thread $Bill Luebkert
Su, Yu (Eugene) wrote: > Hi all, > I start following code on a command Windows, the message box pops up but on > background. How do I force the message box on foreground? use strict; use warnings; use Tk; my $msg = "Your message here"; msgbox ($msg); exit; sub msgbox { my $msg = shift;

app won't go visible on remote machine with Win32::OLE

2005-05-06 Thread Jim Guion
I am trying to use Win32::OLE from a test_control computer (Windows2003Server) to manipulate IE browsers on other computers (WindowsXP and Windows2000 workstations).  It works fine if I specify the localhost instead of a remote machine (remote only in the sense of being different computers on t

need to pack new %ENV in CreateProcess call

2005-05-06 Thread Jeffee Kiser
I have a problem where I need to use CreateProcess instead of Win32::Process::Create because the launched process MUST have a different environment than the parent. I've gotten CreateProcess to work OK EXCEPT I cannot figure out how to properly pack my new %ENV to pass to the new process. Here is

Re: SerialPort problems -- cygwin / win32 / *nix

2005-05-06 Thread robert johnson
--- Sisyphus wrote: > > Robert Johnson wrote: > > > > Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/API.dll > > Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/libAPI.dll.a > > Files found in blib/arch: installing files in blib/lib into architecture > > dependent lib

RE: How to take focus?

2005-05-06 Thread Su, Yu (Eugene)
Hi all, I start following code on a command Windows, the message box pops up but on background. How do I force the message box on foreground? Thank for help. -Eugene cut here ## use Tk; use strict; use warnings; my $msg="Your message here"; sub msgbox { my $msg=

Re: LWP with binary request

2005-05-06 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hello, > > I have some trouble making a script with LWP. > I'm writing a client program "wc_client", > emulating an existing request which sends gzip'ed xml data to > our server. > My script "wprint" running on port 80 printed out the request, > first of which is produc

Re: SerialPort problems -- correction

2005-05-06 Thread Sisyphus
- Original Message - From: "Sisyphus" <[EMAIL PROTECTED]> > > print "".(($lpbuffer !~ /TEMP/i)?"$lpbuffer not ": "$lpbuffer ") . "ok 3\n"; > Bah!! - that's not right either. Just leave it as you had it (with your print statement included) and run the test as: perl -Mblib t\test.t What

Re: SerialPort problems -- cygwin / win32 / *nix

2005-05-06 Thread Sisyphus
- Original Message - > > ok, that fixes the test error, but its still not working. Heres what Im doing: > > perl Makefile.PL > writes the Makefile > > make > seems to work okay, except for the warnings that i noted above. > > make test > now it passes both tests, after modify

LWP with binary request

2005-05-06 Thread h-taguchi
Hello, (B (BI have some trouble making a script with LWP. (BI'm writing a client program "wc_client", (Bemulating an existing request which sends gzip'ed xml data to (Bour server. (BMy script "wprint" running on port 80 printed out the request, (Bfirst of which is produced by "wc_client", bu