Re: A PPM for Kinosearch?

2006-04-18 Thread Foo Ji-Haw
I don't mind making up the ppm packages - I did see the update to KinoSearch, and I'll make up a new package based on that later today. But if you wanted to build your own package, for KinoSearch you'll need a C compiler which is compatible with that used to build your Perl. I'm fine with the a

Re: A PPM for Kinosearch?

2006-04-18 Thread Randy Kobes
On Mon, 17 Apr 2006, Marvin Humphrey wrote: Hi folks, A nice fellow from ActiveState support forced through my subscription, so I'm here now. I'd really like to get an official release of KinoSearch out that supports Win32. Randy sent me some verbose test failure reports, from which I was

Re: Where is Crypt::SSLeay?

2006-04-18 Thread $Bill Luebkert
Justin DeVuyst wrote: > Looks like it passed here: > > http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Crypt-SSLeay-0.51.txt > > but ppm can't find it and its not in this list: > > http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/ > > Where is it and where can

Re: Where is Crypt::SSLeay?

2006-04-18 Thread Kevin J. Woolley
Justin DeVuyst wrote: Looks like it passed here: http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Crypt-SSLeay-0.51.txt but ppm can't find it and its not in this list: http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/ Where is it and where can I get it then?

Re: Unlinking files in Win32.

2006-04-18 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > Chris O: >> Also, unlink does not work reliably (in some cases at all) on windows >> unless the complete file path is used. > > Call me old-fashioned, but I wouldn't think of doing *anything* to a > file using a filename that wasn't fully-pathed, **especially** delet

Where is Crypt::SSLeay?

2006-04-18 Thread Justin DeVuyst
Looks like it passed here: http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Crypt-SSLeay-0.51.txt but ppm can't find it and its not in this list: http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/ Where is it and where can I get it then? Thanks, Justin De

RE: stat(), -M problems with network drives

2006-04-18 Thread Jan Dubois
On Tue, 18 Apr 2006, Jack Coates wrote: > I'm trying to get file creation or modification dates from a mapped > network drive, using Win32 and Perl. Either of these methods works fine on > local drives, but don't work on network drives: > > my $ctime=(stat($dir.$source))[10] or die "stat($dir\\$so

RE: Win32-OLE Network

2006-04-18 Thread Daniel Rychlik
Sure, This will map a network drive, sleep 10, and then disconnect the drive. I hope this joker is thread safe... :) I have to map several network drives at one time, and then disconnect them when Im done copying and receiving. #!c:\perl\bin\perl.exe use strict; use Win32::OLE; my $LocalNa

RE: Win32-OLE Network

2006-04-18 Thread Bullock, Howard A.
Do you mind sharing the solution? ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Win32-OLE Network

2006-04-18 Thread Daniel Rychlik
Yes maam; I finally found the documentation that I was looking for. I am new to this OLE object but the more I am reading about it the more doors and project solutions it seems to open. This is good. I was able to get it to work after reading that document and a couple more thoroughly. I foun

RE: Win32-OLE Network

2006-04-18 Thread Sarin, Sajiv
try the following command line, it will be you a better idea any way. net use /help -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Rychlik Sent: Tuesday, April 18, 2006 1:28 PM To: Daniel Rychlik; activeperl@listserv.ActiveState.com Subject: RE: Wi

RE: Win32-OLE Network

2006-04-18 Thread Jan Dubois
On Tue, 18 Apr 2006, Daniel Rychlik wrote: > Ive been playing with the Win32::OLE module and this is what I have > come up with. > > Use win32::OLE; > > My $objnet=Win32::OLE->CreatObject("Wscript.Network"); > > $objnet->MapNetworkDrive("z:",\\10.103.105.50\\root","administrator","password"); You

RE: Unlinking files in Win32.

2006-04-18 Thread Paul Pettit
> -Original Message- > > On Mon, 17 Apr 2006, Pettit, Paul wrote: > > Just to show I'm not trying to do something arcane, here is the > > (simple) command I'm using: > > > > unlink ($ticket_file_name) || &err_trap("Cannot delete > > $ticket_file_name!\nMessage: $!\n"); > > > > With the

RE: Win32-OLE Network

2006-04-18 Thread Daniel Rychlik
Nevermind on this question, I was able to find the documentation... It was elusive... :) It works now. -Original Message- From: Daniel Rychlik Sent: Tuesday, April 18, 2006 12:28 PM To: Daniel Rychlik; activeperl@listserv.ActiveState.com Subject: RE: Win32-OLE Network Ive been playin

RE: Win32-OLE Network

2006-04-18 Thread Daniel Rychlik
Ive been playing with the Win32::OLE module and this is what I have come up with. Use win32::OLE; My $objnet=Win32::OLE->CreatObject("Wscript.Network"); $objnet->MapNetworkDrive("z:",\\10.103.105.50\\root","administrator","password"); Print Win32::OLE->LastError(); Type Mismatch error... I c

RE: Image - Audio file

2006-04-18 Thread Ken Barker
Thanks - but Martin Thurn provided me with the necessary fix.  After opening the file for write the next line of code needs to be   binmode(FILE1); With this in place - all works as expected.   Thanks Martin!       Ken Barker IT Lead Tel: 314-213-7927 1100 Corporate Square St. Louis, MO

RE: Image - Audio file

2006-04-18 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Barker Sent: 18 April 2006 15:40 To: activeperl@listserv.ActiveState.com Subject: Image - Audio file > I have a SQL database that contains an audio file as an image. I am attempting to pull it out and create an > ASF file. The s

Win32-OLE Network

2006-04-18 Thread Daniel Rychlik
Hello,   I found a “Wscript.Network” ole object and found some sample code on how to map a network drive however, There isn’t any properties that I have found to use a username and password.  I tried searching for just the Network object on google and found nothing but other sample _vbscr

RE: Image - Audio file

2006-04-18 Thread Daniel Rychlik
I would check the audio files properties, ie size of the file to the byte to make sure it’s the same when it goes into the database as when it comes out.  Is the same when it goes in as when It comes out?  What is happening to the recording when it gets written into the database?  Is the he

stat(), -M problems with network drives

2006-04-18 Thread Jack Coates
Hi, I'm trying to get file creation or modification dates from a mapped network drive, using Win32 and Perl. Either of these methods works fine on local drives, but don't work on network drives: my $ctime=(stat($dir.$source))[10] or die "stat($dir\\$source) failed: $!\n"; my $ctime = -M "$dir.$s

RE: Unlinking files in Win32.

2006-04-18 Thread Jan Dubois
On Tue, 18 Apr 2006, Chris O wrote: > Also, unlink does not work reliably (in some cases at all) on windows > unless the complete file path is used. I have not heard about this problem and kind of doubt that this is true. It sounds more like user error in that the current directory was not set to

RE: Image - Audio file

2006-04-18 Thread Thurn, Martin
perldoc -f binmode P.S. Please send ONLY PLAIN TEXT email to mailing lists. - - Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Barker Sent: Tuesday, April 18, 2006 10:40 To: activeperl@listserv.ActiveState.com

RE: Unlinking files in Win32.

2006-04-18 Thread Deane . Rothenmaier
Chris O: > Also, unlink does not work reliably (in some cases at all) on windows > unless the complete file path is used. Call me old-fashioned, but I wouldn't think of doing *anything* to a file using a filename that wasn't fully-pathed, **especially** deleting it. Deane ___

Re: Image - Audio file

2006-04-18 Thread Jens Gassmann
Hi Ken, I have a SQL database that contains an audio file as an image. I am attempting to pull it out and create an ASF file. The script does pull it out - but the file is un-playable. Anyone have any ideas? Code snippet below. try to set "binmode" before you write the File! Best regard

Image - Audio file

2006-04-18 Thread Ken Barker
I have a SQL database that contains an audio file as an image.  I am attempting to pull it out and create an ASF file.  The script does pull it out - but the file is un-playable.  Anyone have any ideas?  Code snippet below.   TIA   $dbh1->{LongReadLen} = 1024 * 1024;my $sql0 = "select convert

RE: Unlinking files in Win32.

2006-04-18 Thread Chris O
On Mon, 17 Apr 2006, Pettit, Paul wrote: > Just to show I'm not trying to do something arcane, here is the > (simple) command I'm using: > > unlink ($ticket_file_name) || &err_trap("Cannot delete > $ticket_file_name!\nMessage: $!\n"); > > With the above I get this: > > Program error: Cannot de

Re: A PPM for Kinosearch?

2006-04-18 Thread Randy Kobes
On Tue, 18 Apr 2006, Foo Ji-Haw wrote: Hello Randy, The current (or first?) ppm package you put up has some bugs in KinoSearch's code. Marvin has fixed it, and I'm thinking of taking over from you for the ppm packaging (unless you really don't mind!) for the moment. Can you tell me what is n

Re: A PPM for Kinosearch?

2006-04-18 Thread Marvin Humphrey
Hi folks, A nice fellow from ActiveState support forced through my subscription, so I'm here now. I'd really like to get an official release of KinoSearch out that supports Win32. Randy sent me some verbose test failure reports, from which I was able to track down at least one problem.