Re: Perl GUI Programming

2005-01-20 Thread StoneBeat
You can try Prima (http://prima.eu.org) It works in Win32, Linux and Solaris 
and have a very very very nice GUI-builder.


El Miércoles 19 Enero 2005 23:21, Dirk Bremer escribió:
 I am ready to attempt some GUI programming in Perl. I have looked at
 Win32::GUI and need more documentation for it than I can readily find. I
 have looked at Tk and it looks a bit cumbersome. What are you
 recommendations? I require something that is compatible with 5.6 Perl. I
 would like something that I can get up and running on quickly and that
 is well documented for beginners. My primary interest will be in
 developing a GUI that lists files for the user to choose and another GUI
 that will be strictly as a scrolling display that will be updated often.
 Your suggestions will be appreciated.

 Dirk Bremer - Systems Programmer II - ESS/AMS  - NISC St. Peters
 USA Central Time Zone
 636-922-9158 ext. 8652 fax 636-447-4471

 [EMAIL PROTECTED]
 www.nisc.cc

 ___
 Perl-Win32-Users mailing list
 Perl-Win32-Users@listserv.ActiveState.com
 To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Perl GUI Programming

2005-01-20 Thread gerhard . petrowitsch
Hi Dirk,

I don't know, why Tk looks cumbersome to you - it's
well documented, you get a great book about it
(Mastering Perl/Tk by Steve Lidie, Nancy Walsh at O'Reilly)
there's a living mailing list (Steve, Nick himself and a lot of
other great Tk specialists contribute a lot) and it's very easy to use.
It's also cross platform, of course. And you can re-use a lot of
knowledge should you ever need to develop a GUI for Tcl
(which God may save you from ;-)

Once you get over the initial hurdles (which you will face
with every GUI package), you won't find it cumbersome
anymore.

Regards,
Gerhard



|-+-
| | |
| | |
| | |
| | |
| | |
| |Dirk Bremer [EMAIL PROTECTED]  |
| | |
| |Sent by: |
| |[EMAIL PROTECTED]|
| |.com |
| | |
| |2005-01-19 11:21 PM  |
| | |
|-+-
  
---|
  | 
  |
  |   To:   perl-win32-users 
perl-win32-users@listserv.ActiveState.com 
   |
  |   cc:   (bcc: Gerhard Petrowitsch/STN/SC/PHILIPS)   
  |
  |   Subject:Perl GUI Programming  
  |
  | 
  |
  |   Classification:   
  |
  | 
  |
  | 
  |
  
---|




I am ready to attempt some GUI programming in Perl. I have looked at
Win32::GUI and need more documentation for it than I can readily find. I
have looked at Tk and it looks a bit cumbersome. What are you
recommendations? I require something that is compatible with 5.6 Perl. I
would like something that I can get up and running on quickly and that
is well documented for beginners. My primary interest will be in
developing a GUI that lists files for the user to choose and another GUI
that will be strictly as a scrolling display that will be updated often.
Your suggestions will be appreciated.

Dirk Bremer - Systems Programmer II - ESS/AMS  - NISC St. Peters
USA Central Time Zone
636-922-9158 ext. 8652 fax 636-447-4471

[EMAIL PROTECTED]
www.nisc.cc

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re[2]: Win32-GUI

2005-01-20 Thread Сергей Черниенко
 Charles,


http://sourceforge.net/projects/perl-win32-gui




-- 
 ,
 mailto:[EMAIL PROTECTED]


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Scriptomatic 2 (Win32::OLE)

2005-01-20 Thread Chris
For those who haven't seen this yet, it was in today's edition of
Microsoft's TechNet newsletter. I didn't find it all that useful, but maybe
someone on this list will.


Cool Tool: Scriptomatic 2 
It's a brand-new version of what is probably the greatest of the Scripting
Guys' Greatest Hits. Like the original, Scriptomatic 2.0 will automatically
write WMI scripts for you, but it isn't limited to writing VBScript scripts
and can write scripts in Perl, Python, or JScript. And it gives you a host
of new output formats to use when running scripts, including saving data as
plain text, as a stand-alone Web page, or even as XML. Scriptomatic 2.0
handles arrays, converts dates to a more readable format, works with all the
WMI classes on your computer, and writes scripts that can be run against
multiple machines. Get it here, in all its code-signed, virus-scanned
goodness.



http://www.microsoft.com/downloads/details.aspx?FamilyID=09dfc342-648b-4119-
b7eb-783b0f7d1178DisplayLang=en


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Perl GUI Programming

2005-01-20 Thread Dirk Bremer
wxPerl is interesting but very little documentation can be found. I will
require documentation from a complete beginner's viewpoint (for the GUI)
as I have literally no GUI programming experience although am
well-versed in Perl. 

-Original Message-
From: David Kaufman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 19, 2005 18:43
To: Dirk Bremer; perl-win32-users
Subject: Re: Perl GUI Programming

Hi Dirk,

Dirk Bremer [EMAIL PROTECTED] wrote:

I am ready to attempt some GUI programming in Perl. I have looked at
 Win32::GUI and need more documentation for it than I can readily
 find. I have looked at Tk and it looks a bit cumbersome. What are you
 recommendations? I require something that is compatible with 5.6
 Perl. I would like something that I can get up and running on quickly
 and that is well documented for beginners. My primary interest will
 be in developing a GUI that lists files for the user to choose and
 another GUI that will be strictly as a scrolling display that will be
 updated often. Your suggestions will be appreciated.


Check out wxPerl http://wxperl.sourceforge.net/

I use it to develop perl GUI apps on windows, and the PerlDevKit from 
www.activestate.com to compile them to windows.exe-cutables.

Here's a nice (if a bit old) tutorial:
http://www.perl.com/pub/a/2001/09/12/wxtutorial1.html

hth,

dave 


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Perl GUI Programming

2005-01-20 Thread Erich Beyrent
Have you looked here?

http://wxperl.sourceforge.net/documentation.html 


-Erich-


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk
Bremer
Sent: Thursday, January 20, 2005 10:34 AM
To: perl-win32-users
Subject: RE: Perl GUI Programming

wxPerl is interesting but very little documentation can be found. I will
require documentation from a complete beginner's viewpoint (for the GUI) as
I have literally no GUI programming experience although am well-versed in
Perl. 

-Original Message-
From: David Kaufman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 18:43
To: Dirk Bremer; perl-win32-users
Subject: Re: Perl GUI Programming

Hi Dirk,

Dirk Bremer [EMAIL PROTECTED] wrote:

I am ready to attempt some GUI programming in Perl. I have looked at  
Win32::GUI and need more documentation for it than I can readily  find. 
I have looked at Tk and it looks a bit cumbersome. What are you  
recommendations? I require something that is compatible with 5.6  Perl. 
I would like something that I can get up and running on quickly  and 
that is well documented for beginners. My primary interest will  be in 
developing a GUI that lists files for the user to choose and  another 
GUI that will be strictly as a scrolling display that will be  updated 
often. Your suggestions will be appreciated.


Check out wxPerl http://wxperl.sourceforge.net/

I use it to develop perl GUI apps on windows, and the PerlDevKit from
www.activestate.com to compile them to windows.exe-cutables.

Here's a nice (if a bit old) tutorial:
http://www.perl.com/pub/a/2001/09/12/wxtutorial1.html

hth,

dave 


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Scriptomatic 2 (Win32::OLE)

2005-01-20 Thread Johan Lindstrom
At 15:59 2005-01-20, Chris wrote:
For those who haven't seen this yet, it was in today's edition of
Microsoft's TechNet newsletter. I didn't find it all that useful, but maybe
someone on this list will.
I just tried it, and the .hta file worked once this was installed:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAAdisplaylang=en
(no restart necessary after install (me thinks))
After toying with it for a couple of minutes, the review is that it's 
potentially very useful for exploring what kinds of things Windows 
presents, and the syntax for doing things. Since it also supports many 
languages, I can also imagine it's pretty useful when converting VBScript 
examples to Perl.

 So for this problem space: 4 camels out of 5.
/J
 --  --- -- --  --  - - --  -
Johan LindströmSourcerer @ Boss Casinos   johanl AT DarSerMan.com
Latest bookmark: TCP Connection Passing
http://tcpcp.sourceforge.net/
dmoz: /Computers/Programming/Languages/JavaScript/ 12
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Scriptomatic 2 (Win32::OLE)

2005-01-20 Thread Joe Discenza
Title: Scriptomatic 2 (Win32::OLE)






Chris wrote, on Thu 
1/20/2005 09:59
: For those who haven't seen this yet, it was in today's 
edition of Microsoft's TechNet newsletter. I didn't find it all that useful, but 
maybe someone on this list will.: http://www.microsoft.com/downloads/details.aspx?FamilyID=09dfc342-648b-4119-b7eb-783b0f7d1178DisplayLang=en
The Perl version doesn't break out 
the dates. Open the HTA file in your favorite text editor, and look for the 
ComposePerlCode section. In there, find the two places bHasDates occurs, and 
make the appropriate replacements (long lines may be broken):

 bHasDates = 
True strHTML = strHTML  
" print "  Chr(34)  objProperty.Name 
 ": "  Chr(34)  ", WMIDateStringToDate($objItem-{"  
objProperty.Name  "}), "  Chr(34)  "\n"  Chr(34)  ";" 
 Chr(10)
and the other:

 If bHasDates 
Then strHTML = strHTML  Chr(10)  
"sub WMIDateStringToDate()"  Chr(10) 
strHTML = strHTML  "{"  Chr(10)  
strHTML = strHTML  " my $strDate = shift;"  Chr(10) 
 strHTML = strHTML  " if 
($strDate =~ /^(\d{4})(\d{2})(\d{2})(?:\s*(\d{2})(\d{2})(\d{2}))?/)"  
Chr(10) strHTML = strHTML  " 
{"  Chr(10)  strHTML = strHTML  
" return sprintf '%s/%s/%s%s', $2, $3, $1, (length($4) ? "" 
$4:$5:$6"" : '');"  Chr(10) strHTML = 
strHTML  " }"  Chr(10)  
strHTML = strHTML  " else"  Chr(10) 
 strHTML = strHTML  " {" 
 Chr(10)  strHTML = strHTML  
" return $strDate;"  Chr(10) 
strHTML = strHTML  " }"  Chr(10) 
 strHTML = strHTML  "}"  
Chr(10) End If
Have fun with it. You international 
types may want to change the order to "$3, $2, $1", of course :)

Oh, and you can make Perl the 
default by changing g_strCurrentLanguage to "Perl" (up near the top) and 
changing the default checked in the radio list "language" to ComposePerlCode. 
Likewise, you can change the default output type with g_strOutputFormat and 
radio list "output".
Joe


== 
Joseph P. Discenza, Sr. 
Programmer/Analyst 
mailto:[EMAIL PROTECTED] 
Carleton Inc. http://www.carletoninc.com 
574.243.6040 ext. 300 fax: 574.243.6060Providing 
Financial Solutions and Compliance for over 30 Years



___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


GUI

2005-01-20 Thread Robert Suchocki







Is there a GUI interface for Perl scripting/programming that can be used with Windows98SE?










___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: GUI

2005-01-20 Thread Adam R. Frielink
 As far as I know, Win32::GUI fits that criteria.
 
 On approximately 1/20/2005 10:06 AM, came the following 
 characters from 
 the keyboard of Robert Suchocki:
   
   Is there a GUI interface for Perl scripting/programming 
 that can be 
  used with Windows98SE?
 

He might be looking for something like 'The GUI Loft'.  Possibly
SpecPerl or guido as well.  I think Guido and the Loft are found at
SourceForge.   SpecPerl can be found by Googling, if that is what you
are looking for.

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: GUI

2005-01-20 Thread Johan Lindstrom
At 20:13 2005-01-20, Adam R. Frielink wrote:
He might be looking for something like 'The GUI Loft'.  Possibly
SpecPerl or guido as well.  I think Guido and the Loft are found at
SourceForge.
The GUI Loft is at:
http://www.bahnhof.se/~johanl/perl/Loft/
/J
 --  --- -- --  --  - - --  -
Johan LindströmSourcerer @ Boss Casinos   johanl AT DarSerMan.com
Latest bookmark: TCP Connection Passing
http://tcpcp.sourceforge.net/
dmoz: /Computers/Programming/Languages/JavaScript/ 12
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Linux - Perl - Excel

2005-01-20 Thread Radek Tomášek
Hi all and sorry for my English :-)
I  have used SpreadSheet::ParseExcel and SpreadSheet::WriteExcel modules 
on Linux platform. Using of modules is a simple, but I've big problem 
with national (czech) charset. (in Windows is default charset CP1250, 
generally ISO-8859-2)

After loading of the xls file with national chars (the chars in xls are 
right) to the perl, then national chars are wrong. Analogous event  
occured with writting to Excel. In a perl are national chars right but 
when I put it into xls file and open by Excel on Windows so chars are wrong.
I have also tried get data from xls file and directly put into new xls 
file but new excel is always wrong.

When I have read data with national chars from text file and put it into 
other text file, chars in new file are right.

On my PC is installed Windows2000 with Office2000.
Thanks for all ideas
Radek
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Richard Grant
Here is a snippit based on the example in the ActivePerl User Guide with iTunes 
instead of Excel..

# use existing instance if iTunes is already running
eval {$iTunesHandle = Win32::OLE-GetActiveObject('iTunes.Application')};
die iTunes not installed if $@;
unless (defined $iTunesHandle) {
  $iTunesHandle = Win32::OLE-new('iTunes.Application', sub {$_[0]-Quit;})
 or die Oops, cannot start iTunes;
}

A running instance of iTunes will always be killed, because 
Win32::OLE-GetActiveObject never finds an object! I tried a generic CLSID, and 
specific PROGID version strings, but nothing makes GetACtiveObject return an 
object. I used OLEView to check on the CLSID of iTunes.. you can see it is just 
a fairly straightforward interface.

I think this is a problem with RPC, SP2 and new security patches. I had some 
other trouble with RPC recently for an install program for a USB DSL modem.. it 
died at the end with an RPC call failed message. No one seemed to know what I 
was talking about (happened 2 days ago), but I'm certain my computer is ok. I 
was going to use Safe Mode boot to play with the permissions, but I can't 
afford the time to reinstall windows if something goes wrong.

Any other applications that can't use GetActiveObject through a typelib 
interface? Is there a work around for this? Is it just my problem?

Richard


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Michaud, Richard1
I could be wrong, but I don't think iTunes is an OLE Object which could
be causing your troubles.

It's a shame that it doesn't have a direct Perl API.

Richard Michaud

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Richard Grant
Sent: Thursday, January 20, 2005 3:30 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Win32::OLE-GetActiveObject not working!

Here is a snippit based on the example in the ActivePerl User Guide with
iTunes instead of Excel..

# use existing instance if iTunes is already running
eval {$iTunesHandle =
Win32::OLE-GetActiveObject('iTunes.Application')};
die iTunes not installed if $@;
unless (defined $iTunesHandle) {
  $iTunesHandle = Win32::OLE-new('iTunes.Application', sub
{$_[0]-Quit;})
 or die Oops, cannot start iTunes;
}

A running instance of iTunes will always be killed, because
Win32::OLE-GetActiveObject never finds an object! I tried a generic
CLSID, and specific PROGID version strings, but nothing makes
GetACtiveObject return an object. I used OLEView to check on the CLSID
of iTunes.. you can see it is just a fairly straightforward interface.

I think this is a problem with RPC, SP2 and new security patches. I had
some other trouble with RPC recently for an install program for a USB
DSL modem.. it died at the end with an RPC call failed message. No one
seemed to know what I was talking about (happened 2 days ago), but I'm
certain my computer is ok. I was going to use Safe Mode boot to play
with the permissions, but I can't afford the time to reinstall windows
if something goes wrong.

Any other applications that can't use GetActiveObject through a typelib
interface? Is there a work around for this? Is it just my problem?

Richard


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Richard Grant
 I could be wrong, but I don't think iTunes is an OLE Object which could
 be causing your troubles.

Isn't OLE Automation just a layer on COM targeted toward scripting and VB in
particular?

 It's a shame that it doesn't have a direct Perl API.

Dunno, but I can do virtually everything with it using Win32::OLE, just this
function seems to be acting odd. And it seems to be something that is part
of a recent pattern that has root in the RPC layer.

Richard

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Mike.Owens
Richard,

I've been having similar difficulty using Win32::OLE with Internet Explorer 
recently.  I wrote code that worked a month ago that doesn't work today.  Perl 
simply can't get an OLE connection to Internet Explorer anymore, even though I 
can still connect to Excel, etc.  Something must have changed in Windows, but I 
haven't been able to find any related information on the net.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Richard Grant
Sent: Thursday, January 20, 2005 3:54 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32::OLE-GetActiveObject not working!


 I could be wrong, but I don't think iTunes is an OLE Object which could
 be causing your troubles.

Isn't OLE Automation just a layer on COM targeted toward scripting and VB in
particular?

 It's a shame that it doesn't have a direct Perl API.

Dunno, but I can do virtually everything with it using Win32::OLE, just this
function seems to be acting odd. And it seems to be something that is part
of a recent pattern that has root in the RPC layer.

Richard

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
**
The information contained in this message, including attachments, may contain 
privileged or confidential information that is intended to be delivered only to 
the 
person identified above. If you are not the intended recipient, or the person 
responsible for delivering this message to the intended recipient, ALLTEL 
requests 
that you immediately notify the sender and asks that you do not read the 
message or its 
attachments, and that you delete them without copying or sending them to anyone 
else. 


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


how to add a new item to a xml

2005-01-20 Thread Mohammed Gazal
Hello ,

 I have a xml doc like this 

 item name =first
  subheader test /subheader
 /item
item name = third
   subheader test /subheader
/item 

now if i want to insert a new item for ex: second inbetween the first and third 
item elements which xml modules help in doing this? and do you have any 
examples? 

 Any help will be appreciated.
Thxs,

 Gazal. 

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: GUI

2005-01-20 Thread gerhard . petrowitsch
Why not take Perl/Tk ? It comes readily packed
with ActiveStates Perl release.

Gerhard



|-+-
| | |
| | |
| | |
| | |
| | |
| |Robert Suchocki [EMAIL PROTECTED]|
| | |
| |Sent by: |
| |[EMAIL PROTECTED]|
| |.com |
| | |
| |2005-01-20 07:06 PM  |
| | |
|-+-
  
---|
  | 
  |
  |   To:   Perl-Win32-Users@listserv.ActiveState.com 
  |
  |   cc:   (bcc: Gerhard Petrowitsch/STN/SC/PHILIPS)   
  |
  |   Subject:GUI   
  |
  | 
  |
  |   Classification:   
  |
  | 
  |
  | 
  |
  
---|





  Is there a GUI interface for Perl scripting/programming that can be used  
 with Windows98SE?  

 (Embedded image moved to file: pic30350.gif)   











___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

attachment: pic30350.gif___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs