RE: [perl-win32-gui-users] Dynamic entrys

2003-07-28 Thread Peter Eisengrein
Let's start with a basic question: What type of widget is $main->MECH$x ?
Does this work part way and then crash or does it crash on the first
attempt?


-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 8:22 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Dynamic entrys


Okay, I'm pretty new at Win32::GUI, so I need some assistance. I'm using LWP
to get info from web pages. I add labels and there name is changes for each
one, because there is no limit to how many lines I'll have. However, When I
go to refresh the info, I grab it and such, but when I get into updatein the
forms I have issues, cause I don't know what I'm doing.
 
for ($x=1; $x <= $mechs; ++$x) {
$main->MECH$x->Text("$MECH{$x}{'name'}\'s best
Strength setting is $MECH{$x}{'best'}.");
}
this makes it crash on me. Any help would be useful



[perl-win32-gui-users] Win32::FileOp CopyConfirm & CopyEx problem if destination dir exists

2003-07-28 Thread Henry Wong
Hi,

I have a problem using  Win32::FileOp CopyConfirm & CopyEx if the
destination dir already exist.

Code sample:

my $Installdir = 'c:\test';
my $fromDir ="server\\dir\\';
CopyConfirm ( $fromDir => $Installdir);

if c:\test\dir exits then $fromDir is copied to c:\test\dir\dir.

I expected it to overwrite what is in c:\test\dir.

Anyone else has this issue? There a work around for this problem?


Thanks for your help in advance!


-- 
Henry Wong





[perl-win32-gui-users] Win32::FileOp CopyConfirm & CopyEx problem if destination dir exists

2003-07-28 Thread Henry Wong
Hi,

I have a problem using  Win32::FileOp CopyConfirm & CopyEx if the
destination dir already exist.

Code sample:

my $Installdir = 'c:\test';
my $fromDir ="server\\dir\\';
CopyConfirm ( $fromDir => $Installdir);

if c:\test\dir exits then $fromDir is copied to c:\test\dir\dir.

I expected it to overwrite what is in c:\test\dir.

Anyone else has this issue? There a work around for this problem?


Thanks for your help in advance!


-- 
Henry Wong