Re: [perl-win32-gui-users] Re: daemon process in win98--on the same note

2001-03-05 Thread christopher sagayam
BAD MSG: m sorry to repeat this .. But has no one seen this question so far ? Please tell me atleast whether it can be done or it can't be done ? Thanks chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Monday, March 05, 2001 1:37 PM Sub

[perl-win32-gui-users] a simple question

2001-01-09 Thread christopher sagayam
how to set the name of a dialog box dynamically ? $ModuleWindow = new Win32::GUI::DialogBox( -title => "old title", -left=> 100, -top => 110, -width => 500, -height => 400, -name=> "ModuleWindow", -style => WS_BORDER | DS_MODALFRAME

[perl-win32-gui-users] something in VB to be converted to perl

2001-01-11 Thread christopher sagayam
can somebody give me 2 or 3 examples of doing something in PERL win32::gui which has already been done in VB ? for example like if it is written like this inVB -vb code goes here then it should be done like this in perl win32 gui ---perl code goes here--- This will help many many prog

[perl-win32-gui-users] perl2exe stuff

2001-01-11 Thread christopher sagayam
since there are many win32 gurus in this list I thought I could post it here when I use "Use sockets" in my perl win32 GUI code and convert it to .exe using perl2exe and I try to run the code in another machine it complaines " perlcrt.dll not found" can I compile perlcrt.dll into the .exe using

Re: [perl-win32-gui-users] VB dialup code

2001-01-12 Thread christopher sagayam
Re: [perl-win32-gui-users] VB dialup code > From: "christopher sagayam" <[EMAIL PROTECTED]> > > I am looking for a VB (or a perl) to be later conversted to win32 GUI > code > > to autostart the default windows dial up connection if a user is NOT > > connect

Re: [perl-win32-gui-users] something in VB to be converted to perl

2001-01-14 Thread christopher sagayam
Thanks chris - Original Message - From: Mike Blazer <[EMAIL PROTECTED]> To: Sent: Saturday, January 13, 2001 4:40 AM Subject: Re: [perl-win32-gui-users] something in VB to be converted to perl > Check my Win32::RASE on CPAN - it can do all dialup related suff. > > hth

Re: [perl-win32-gui-users] perl2exe stuff

2001-01-14 Thread christopher sagayam
t; > If that does not help let me know what version of Perl you are using. > > Indy Singh > IndigoSTAR Software -- www.indigostar.com > > > - Original Message - > From: "christopher sagayam" <[EMAIL PROTECTED]> > To: > Sent: Thursday, January 11,

[perl-win32-gui-users] small problem

2001-01-14 Thread christopher sagayam
part of code . $ModuleWindow = new Win32::GUI::DialogBox( -left=> 100, -top => 110, -width => 500, -height => 400, -name=> "ModuleWindow", -style => WS_BORDER | DS_MODALFRAME | WS_POPUP | WS_C

[perl-win32-gui-users] Re: small problem

2001-01-14 Thread christopher sagayam
$ModuleWindow->{-title'} = "site title"; should be $ModuleWindow->{-title} = "site title"; chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Monday, January 15, 2001 9:19 AM Su

[perl-win32-gui-users] Re: small problem

2001-01-14 Thread christopher sagayam
sorry for posting it got the answer $ModuleWindow->Caption("new title"); chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Monday, January 15, 2001 9:20 AM Subject: Re: small problem > $ModuleWindow->{-title'}

[perl-win32-gui-users] GUI::GetOpenFileName and current directory of perl script

2001-01-15 Thread christopher sagayam
sub button1_tab1_Click { $file = GUI::GetOpenFileName( -owner => $W, -directory => "C:\\", -title => "Location of ", -file => $file, ); open (FILE , ">./datafile.txt") print FILE $file; close(FILE) } Now I am intending to do this 1) Store the full path of

Re: [perl-win32-gui-users] VB dialup code

2001-01-15 Thread christopher sagayam
Thanks chris www.perl-resume.com - Original Message - From: Reini Urban <[EMAIL PROTECTED]> To: Sent: Monday, January 15, 2001 12:40 PM Subject: Re: [perl-win32-gui-users] VB dialup code > christopher sagayam schrieb: > > can anyone tell me the equivalent of >

Re: [perl-win32-gui-users] GUI::GetOpenFileName and current directory of perl script

2001-01-15 Thread christopher sagayam
a different drive > letter. > > Indy Singh > IndigoSTAR Software -- www.indigostar.com > > - Original Message - > From: "christopher sagayam" <[EMAIL PROTECTED]> > To: > Sent: Monday, January 15, 2001 4:23 AM > Subject: [perl-win32-gui-users] GUI:

[perl-win32-gui-users] how to get the folder ??

2001-01-17 Thread christopher sagayam
Normally sub button1_Click { $file = GUI::GetOpenFileName( -owner => $W, -directory => "C:\\", -title => "Location of ", -file => $file, ); $ModuleWindow->text4->Text("$file"); now what Im doing is this I get the file selected using the win32 file dialog

Re: [perl-win32-gui-users] Greyed Controls

2001-01-19 Thread christopher sagayam
Yes just disable it using ->Disable() chris www.perl-resume.com - Original Message - From: Erick J. Bourgeois To: perl-win32-gui-users@lists.sourceforge.net Sent: Friday, January 19, 2001 10:28 PM Subject: [perl-win32-gui-users] Greyed Controls Is it possible to "grey o

[perl-win32-gui-users] pressing ENTER key in text box

2001-01-19 Thread christopher sagayam
I have created a text box using $dialog3->AddTextfield( -name => "dialog3text3", -left => $dialog3->ScaleWidth-470, -top => $dialog3->ScaleHeight-98, -text => "$dialog3text3", -width=> 460, -height => 100, ); when I press ENTER key in the text box

Re: [perl-win32-gui-users] Resizing

2001-01-22 Thread christopher sagayam
Works perfect for me too chris www.perl-resume.com - Original Message - From: Erick J. Bourgeois <[EMAIL PROTECTED]> To: Sent: Tuesday, January 23, 2001 2:14 AM Subject: Re: [perl-win32-gui-users] Resizing > I added the resizable option, however it still does not > work: > > $MainW

Re: [perl-win32-gui-users] Final Code: Click on URL in About Window

2001-01-22 Thread christopher sagayam
one more thing I don't know whether it is meant to be or not.. But when I click on the url it goes to the url BUT when I click on any other place in the window too it goes to the url ( incl the OK button too) chris www.perl-resume.com - Original Message - From: Sean Healy <[EMAIL PROT

[perl-win32-gui-users] a tabstrip question

2001-01-30 Thread christopher sagayam
to put it very simply $current_tab = $ModuleWindow->Tab->SelectedItem(); Now how to force the script to choose a particular tab Im intending to do something like $ModuleWindow->Tab->SelectedItem(0); where 0 is the tabindex or something like $ModuleWindow->Tab->Select(0); anybody has ideas ?

Re: [perl-win32-gui-users] a tabstrip question

2001-01-30 Thread christopher sagayam
oops sorry I asked the question and answered it too $ModuleWindow->Tab->Select(0); works like a charm ! chris www.perl-resume.com - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Tuesday, January 30, 2001 4:57 PM Subject: [perl-win32-gui-users

[perl-win32-gui-users] a win32 RASE question

2001-01-30 Thread christopher sagayam
hi all Please tell me if this question is totally off topic here . If it is , can anyone suggest a suitable mailing list for this question I thought since the finest win32 api minds hang out here I would post it here The code is taken from the actual example --

Re: [perl-win32-gui-users] Tabstrips

2001-01-31 Thread christopher sagayam
I found this sub in the old win32 GUI archive thought it might be useful sub Tab_Click { my $current_tab = $W->Tab->SelectedItem(); foreach $key (keys %{$W->Tab}) { # Skip these items - what remains should be just widgets. next if (grep(/^${key}$/,qw(-handle -name -type)))

Re: Antwort: Re: [perl-win32-gui-users] Tabstrips

2001-02-01 Thread christopher sagayam
Yes it is available at the archives ... I just copied the subroutine long time ago. You need to search the archives and find out yourself ..sorry chris www.perl-resume.com - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, February 01, 2001 12:09 PM Subject: Antwort

[perl-win32-gui-users] Ok I posted it once but now Im posting it in a different color

2001-02-03 Thread christopher sagayam
hi all I posted this question before and I didnt even get once response. So Im posting it in a different color. Please tell me if this question is totally off topic here . If it is , can anyone suggest a suitable mailing list for this question I thought since the finest win32 api minds hang out he

[perl-win32-gui-users] looping in win32 GUI

2001-02-13 Thread christopher sagayam
$|=1; use Win32::RASE; eval "use Time::HiRes qw(sleep)"; $hrasconn = (RasEnumConnections())[1]; $old_status = -1; while ( ($status, $status_text) = RasGetConnectStatus($hrasconn) ) { if ($status != $old_status) { print "$status: $status_text\n"; $old_status = $status; } slee

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread christopher sagayam
I might be slow to learn but Actually what Im concerned about is the while loop How do I get out of the while loop ? while ( ($status, $status_text) = RasGetConnectStatus($hrasconn) ) { } once the control goes into this loop how it is going to get out ? Or are these kinds of daemons possible i

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread christopher sagayam
presses etc too and do it efficiently Thanks chris - Original Message - From: Aldo Calpini <[EMAIL PROTECTED]> To: christopher sagayam Sent: Wednesday, February 14, 2001 3:47 PM Subject: Re: [perl-win32-gui-users] looping in win32 GUI christopher sagayam wrote: > $|=1; &g

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread christopher sagayam
Thanks aldo for all your info chris www.perl-resume.com - Original Message - From: Aldo Calpini <[EMAIL PROTECTED]> To: christopher sagayam Sent: Wednesday, February 14, 2001 6:59 PM Subject: Re: [perl-win32-gui-users] looping in win32 GUI christopher sagayam wrote: > Her

[perl-win32-gui-users] daemon process in win98

2001-03-05 Thread christopher sagayam
Hi all Sub Somebutton_Click { system("c:/path/to/perlserver.exe"); } I am trying to write a win32 gui script which will call a perl server ( any perl daemon process for that matter!) when a button is clicked now 1) How do I check whether the process is aleady not running? 2) If the process

[perl-win32-gui-users] Re: daemon process in win98--on the same note

2001-03-05 Thread christopher sagayam
possible to integrate them both at all ? chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Monday, March 05, 2001 1:31 PM Subject: daemon process in win98 Hi all Sub Somebutton_Click { system("c:/path/to/perlserver.exe"); } I am trying

[perl-win32-gui-users] how to set ?

2001-03-07 Thread christopher sagayam
How to dynamically change the readonly attributes of a text field ? $ModuleWindow->text2_tab1(-readonly => '1'); and later $ModuleWindow->text2_tab1(-readonly => '0'); how to make the above work ? chris

[perl-win32-gui-users] Re: how to set ?

2001-03-08 Thread christopher sagayam
This doesnt work $ModuleWindow->text2_tab1->Change(-readonly => 1); what is the correct way ? chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Thursday, March 08, 2001 11:32 AM Subject: how to set ? How to dynamically change the read

[perl-win32-gui-users] icons for every occasion

2001-03-11 Thread christopher sagayam
Hi all It may have been told in the docs but I may have missed it Is it possible to create different icons for different occasions for the same win32 gui script.. if so please give me sample code The occasions are 1. In the desktop ( as shortcut) 2. When it is minimized on the bottom bar 3 wh

Re: [perl-win32-gui-users] icons for every occasion

2001-03-12 Thread christopher sagayam
has anyone got an answer to the following question ? chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Sunday, March 11, 2001 11:16 PM Subject: [perl-win32-gui-users] icons for every occasion Hi all It may have been told in the docs but I ma

Re: [perl-win32-gui-users] icons for every occasion

2001-03-12 Thread christopher sagayam
would help if you use well-defined terminology. Someone may be more knowledgable about Windows than me, and provide better answers, but here's what I know. christopher sagayam wrote: > Is it possible to create different icons for different occasions for the > same win32 gui script..