Re: Win32 - Browse for files.

2004-05-13 Thread Glenn Linderman
On approximately 5/13/2004 5:41 PM, came the following characters from the keyboard of Valerie Kramer: On 0.0.671, -explorer => 1 seems to be the default. Inserting the line or commenting it out made no difference. I got the "modern" widget. Setting -explorer => 0 gave me the "crufty" version. I n

RE: Win32 - Browse for files.

2004-05-13 Thread Valerie Kramer
> > Out of pure curiosity I tried adding the "-explorer => 1" option to my > > existing code and I honestly can't see any difference. Given that I > > don't > > have the more recent version of Win32::GUI (0.0.671) I wonder just > > exactly > > what it is that you see as being more "modern looking"

Re: Win32 - Browse for files.

2004-05-13 Thread Glenn Linderman
On approximately 5/13/2004 9:48 AM, came the following characters from the keyboard of $Bill Luebkert: Well, the return value is different than you might have otherwise expected. When I turn on -multisel => 1, it produces a different dialog box, and returns a space separated list of values, first

Re: Win32 - Browse for files.

2004-05-13 Thread $Bill Luebkert
Glenn Linderman wrote: > On approximately 5/12/2004 10:17 PM, came the following characters from > the keyboard of $Bill Luebkert: > > >>Glenn Linderman wrote: >>> -multisel => 1, >>> >>> >>> >>> ); print $file, "\n"; Not sure how to do multiple files though. >>> >>> >>>A

Re: Win32 - Browse for files.

2004-05-13 Thread Glenn Linderman
On approximately 5/12/2004 10:17 PM, came the following characters from the keyboard of $Bill Luebkert: Glenn Linderman wrote: On approximately 5/12/2004 7:53 PM, came the following characters from the keyboard of $Bill Luebkert: use Win32::GUI; my $file = Win32::GUI::GetOpenFileName( -t

Re: Win32 - Browse for files.

2004-05-13 Thread Glenn Linderman
On approximately 5/13/2004 6:09 AM, came the following characters from the keyboard of Dirk Bremer (NISC): Hi, I have a need to create a small app for our support organization which primarily uses Windoze to do their day to day tasks. Since they are not that command line savy I'd like to put toge

RE: Win32 - Browse for files.

2004-05-13 Thread Carter Thompson
Thanks, Dirk, Bill, and Glenn, That's definitely what I wanted. I'll have to learn a bit more about programming Win32 Gui's though, I primarly work on Linux/Unix and the Win32 stuff seems a bit odd. Cheers, Carter. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTEC

RE: Retrieving WMI object data via WMI/WBEM ODBC Adapter

2004-05-13 Thread John_Ramsden
[Thanks for replying Wayne. I hope you don't mind, but I've copied the list back in, in case this discussion is of interest to others and prompts any more feedback!) Going back to first principles, the basic challenge I have is to produce a perl script that can run on either Windows or Unix to co

RE: Using Reg Expression in LWP

2004-05-13 Thread Charles K. Clarkson
steve silvers <[EMAIL PROTECTED]> wrote: Please don't top-post. : This should be a pretty easy question.. When I get the page : I want I'm looking for certain numbers. The html stays the : same except for the date and numbers. So if I have: : : : $all =~ /<\/td>$Time<\/font><\/td>([\d\d\d]+)<\

Re: Retrieving WMI object data via WMI/WBEM ODBC Adapter

2004-05-13 Thread Mike Jackson
you'd probably be best off writing two modules, one for *n?x, one for windows, and load one or the other at compile time in a BEGIN block, depending on the detected OS... I've used Win32::ODBC quite successfully on a number of projects, but have never even heard of the odbc interface to WMI of whi

Retrieving WMI object data via WMI/WBEM ODBC Adapter

2004-05-13 Thread John_Ramsden
This is driving me nuts! Is there anyone on the entire planet who has ever actually used Microsoft's WMI ODBC Adapter, via perl or otherwise ?! I am trying to write a perl script to read WMI class instances via ODBC, in the hope of producing an OS-independent script [*] that can be run from eithe

RE: tk - mainloop - a print to stdout method?

2004-05-13 Thread Moon, John
-Original Message- From: Hon Shi [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 8:35 AM To: [EMAIL PROTECTED] Subject: tk - mainloop - a print to stdout method? I'm trying to view values in a AD browser that I found. I don't know tk but I assume MainLoop is it's processing 'loop'

Re: Win32 - Browse for files.

2004-05-13 Thread Dirk Bremer \(NISC\)
> > Hi, > > I have a need to create a small app for our support organization which > primarily uses Windoze to do their day to day tasks. Since they are > not that command line savy I'd like to put together something that > allows > them to push a button or two to get their file(s) uploaded to var

RE: Using Reg Expression in LWP

2004-05-13 Thread Thomas, Mark - BLS CTR
> This should be a pretty easy question.. When I get the page I > want I'm > looking for certain numbers. The html stays the same except > for the date and numbers. [regex with lots of HTML snipped] How do you know the HTML stays the same? If you are not in control of the HTML, it will break

tk - mainloop - a print to stdout method?

2004-05-13 Thread Hon Shi
I'm trying to view values in a AD browser that I found. I don't know tk but I assume MainLoop is it's processing 'loop'. How can I place print statements in his code to print to stdout? Does tk have a print method that prints to it? My prints don't do a things. Printing works in 'new' within A

RE: Using Reg Expression in LWP

2004-05-13 Thread steve silvers
This should be a pretty easy question.. When I get the page I want I'm looking for certain numbers. The html stays the same except for the date and numbers. So if I have: $all =~ / height='20'><\/td>$Time<\/font><\/td>([\d\d\d]+)<\/font>/s; I need to pass the date/time format to change for what

Re: Win32::Clipboard formats

2004-05-13 Thread $Bill Luebkert
Lev Alexandrovsky wrote: > Hello, > > I want to change text in the clipboard. > > ... > my $clip = Win32::Clipboard; > return unless $clip->IsText; > my @formats = $clip->EnumFormats; > my $text = $clip->Get; > # do something with $text > # ... > $clip->Set($text); > print 'Old formats: ', join(

Win32::Clipboard formats

2004-05-13 Thread Lev Alexandrovsky
Hello, I want to change text in the clipboard. ... my $clip = Win32::Clipboard; return unless $clip->IsText; my @formats = $clip->EnumFormats; my $text = $clip->Get; # do something with $text # ... $clip->Set($text); print 'Old formats: ', join(',', @formats), "\n"; print 'New formats: ', join(',

RE: Outlook 98

2004-05-13 Thread Martin Bower
nope, that didn't work. I couldn't find that entry in my ole object browser. I did find this link to a sender address, so can anyone help me how to access it ?? MailItem Class (as olObjectClass) olObjectClass olAddressEntry (Const olAddressEntries = 8) AddressEntry->{Add