Re: COM objects and Collections

2001-01-22 Thread Jan Dubois
On Sat, 20 Jan 2001 01:17:20 -0500, Ron Grabowski [EMAIL PROTECTED] wrote: Your code seems to be working fine; it returns a collection object and Perl prints it. The "Runtime error" happens because Win32::OLE executes a I take it Win32::OLE is able to handle custom collections without

Re: VB, OLE, and array refs: Sub foo( Names() As String, Numbers() as Long )

2001-01-22 Thread Jan Dubois
On Sat, 20 Jan 2001 21:22:12 -0500, Ron Grabowski [EMAIL PROTECTED] wrote: One of the methods ( nreally _all_ the methods is more appropriate ) on a VB COM object I'm interfacing with requires that I send in empty arrays. I've including my code along with the errors I'm getting. I've read the

Re: including perl w/a product distribution

2001-01-22 Thread Jan Dubois
On Mon, 22 Jan 2001 10:58:55 -0600, "Michael V. Schaefer" [EMAIL PROTECTED] wrote: Anybody have tips for including perl w/a distribution of another product (i.e. hidden gotchas or simple things that might be overlooked)? Ive never done it before and want to be thorough about it (not everyone is

Re: Is there a problem with the list?

2001-03-12 Thread Jan Dubois
On Mon, 5 Jun 2000 21:25:45 -0400, "Greg Wojan" [EMAIL PROTECTED] wrote: I haven't received any postings to this list for almost a week. Is there a problem? Yes, there was a serious problem with Lyris which was continuously bringing down the whole ActiveState web site. It looks like the

Re: Mailman SUCKS !!!!!

2001-03-14 Thread Jan Dubois
On Mon, 12 Mar 2001 15:29:00 -0500, "Smith, Eric - WPAFB/YSXOI" [EMAIL PROTECTED] wrote: This mailman listserve really sucks. I tend to agree, but in this case MailMan is innocent. Please go back to good old reliable majordomo or even lyris. At their worst, they were better than mailman. I

Re: [OLE] Printing from IE

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 18:42:06 -0500, [EMAIL PROTECTED] wrote: I'm working on an IE OLE app that navigates to multiple web pages and prints them. I've come up with the code below. The code works great on NT, but when I run it on 98, an extra (blank) page gets printed along with each content

Re: how do you get threads to work in activeperl 5.6?

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 18:12:41 -0700, Jeremy Aiyadurai [EMAIL PROTECTED] wrote: I'd like to try working with threads, but whenever i try a script, it says "no threads in this perl". I have activeperl 5.6. which supports threads. How do i get threads working? ActivePerl 5.6 supports the Perl 5.6

Re: open file

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 23:48:48 -0700, "eo_pereira" [EMAIL PROTECTED] wrote: Can someone send me a working cgi code using windows 2000 IIS 5.0 and the lastest activeperl that will save some type of data to a file for some reason i am having problems saving simple data to a file. I am not sure if I

Re: perlscript calling vbscript in asp

2001-04-18 Thread Jan Dubois
On Wed, 18 Apr 2001 09:17:58 +1000, Toby Stuart [EMAIL PROTECTED] wrote: %@ LANGUAGE="PerlScript" % % $a_val_from_vb = $ScriptingNamespace-a_vb_sub(); I think this would be $ScriptHost instead of $ScriptingNamespace, but maybe they work both. In later versions of ActivePerl (I think

Re: [ole]Changing Print Quality on Excel

2001-05-09 Thread Jan Dubois
On Wed, 9 May 2001 09:54:06 -0700, Wagner-David [EMAIL PROTECTED] wrote: I am processing several thousand Excel files and converting to PDF. One of my existing problems is that they have different Print Quality and I need to set to 400 dpi. Here is a portion of the code:

Re: OLE and Crystal Reports

2001-05-09 Thread Jan Dubois
On Wed, 9 May 2001 13:30:02 -0500, Adam Frielink [EMAIL PROTECTED] wrote: Issues: I can access the Application Object and the Report Object underneath it. The OpenReport method executes properly (I am assuming) but returns the 'Retrying default method a C:\per\site\lib\Win32\OLE\Lite.pm line

Re: Q* - Extending Perl - making C function calls to C lib from a Perl script

2001-05-15 Thread Jan Dubois
On Tue, 15 May 2001 17:06:11 -0500, [EMAIL PROTECTED] wrote: We have a binary C lib (which we purchaced from a vendor). I would like to call C functions from Perl to functions contained in this lib. We do not have the actual C header files, but we do have what they're supposed to look like from

Re: Access to a global declared hash in a loaded package

2001-05-17 Thread Jan Dubois
On Thu, 17 May 2001 15:09:06 +0200, Schmidt,Thomas [EMAIL PROTECTED] wrote: i have declared the hash: # this hash will contain the settings # from the config-file %config_values = undef; in my main::

Re: Make ing on Windows

2001-06-23 Thread Jan Dubois
On Fri, 22 Jun 2001 20:56:40 +0100, Lee Goddard [EMAIL PROTECTED] wrote: Makefile.PL generated by h2xs on the latest build of perl 626 (AS source) generates a makefile which seems a bit weird. E:\Src\Pl\Acme\PM\London\Maps\Earthnmake ci Microsoft (R) Program Maintenance Utility Version 1.50

Re: ppm3

2001-11-29 Thread Jan Dubois
On Thu, 29 Nov 2001 10:41:05 +, Simon Oliver [EMAIL PROTECTED] wrote: I would 'cc' this directly to ActiveState but can't find a developer contact in the docs. From the PPM page on ASPN: http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ | For support please email ActiveState

Re: Phantom process?

2002-02-08 Thread Jan Dubois
On Fri, 08 Feb 2002 08:47:57 -0500, Moulder, Glen [EMAIL PROTECTED] wrote: Hi Steve, I hadn't tried these, but when I did $obj = Win32::OLE-new('Access.Application',{$_[0]-Quit();}) I got syntax errors, like this: syntax error at somescript.pl line nnn, near ;} That is definitely

Re: PPM repository status

2002-02-08 Thread Jan Dubois
On Fri, 8 Feb 2002 20:50:30 -0500, Jeff Urlwin [EMAIL PROTECTED] wrote: Hi Jeff, Is this for all modules or just Tk? DBD::ODBC is a month out of date. It should be all the modules. I checked the build logs, and it looks like the system run out of disk space a couple of times during the

Re: PPM path problem. it works right after fresh install then dies.

2002-05-23 Thread Jan Dubois
On Tue, 21 May 2002 12:57:34 -0400 (EDT), Keith Beckwith [EMAIL PROTECTED] wrote: Windows DOES however recognize the .pl file extension as something that it should be able to do something with though and goes in search of something to 'open this file with and make it do something'. It's at this

Re: Win32::OLE import into Excel

2002-05-29 Thread Jan Dubois
On Wed, 29 May 2002 10:32:34 -0400, Mark D. Veerman [EMAIL PROTECTED] wrote: My code is below. I've been able to successfully test for an empty fields with the $ttl field - however, I'm concerned that adding that logic to every field will slow things down. Since I'm new to programming - I feel

Re: my variable initiation

2002-06-14 Thread Jan Dubois
On Fri, 14 Jun 2002 08:04:47 +0100, Michael D. Smith [EMAIL PROTECTED] wrote: Basically, I want a first time switch. I can do that with a gobal variable like this: $first_time = 0; sub howto { if ($first_time == 0 ) { # do the stuff that's done only the first time then add one to the

Re: Sharing new Perl Modules

2002-06-14 Thread Jan Dubois
On Thu, 13 Jun 2002 13:24:25 -0600, Joe Schell [EMAIL PROTECTED] wrote: -Original Message- Behalf Of Morgan, Steve H. Does anyone know what the process is to submit new perl modules to Active State? Just as a guess, with the exception of the modules specifically maintained by

Re: Passing a GUID to Win32::OLE

2002-07-15 Thread Jan Dubois
On Sun, 14 Jul 2002 15:56:07 +0100, [EMAIL PROTECTED] wrote: Anybody know a way to call a method which takes a REFCLSID, like this: HRESULT foo( REFCLSID bar ); The OLE browser shows this as Sub foo( bar as GUID ) method foo; Unfortunately, Win32::GuidGen seems to return a GUID in

Re: ActiveState's Archive-Zip.zip doesn't (?!) support Windows

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 11:46:51 -0400, Thomas R Wyant_III [EMAIL PROTECTED] wrote: I believe from previous traffic on this list that ActiveState's PPM archive is built automagically from CPAN. So who do I see to get this one module, last built in 2000, corrected? I've told Neil about this just now

Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 13:21:48 +0100, Michael D. Smith [EMAIL PROTECTED] wrote: This brings up something I've been wondering about, but it worked so not to much:) When you code, use Win32::whatever; does use Win32; become available also? No, it doesn't! Please read `perldoc Win32`. I've put

Re: PerlSVC

2002-09-06 Thread Jan Dubois
On Fri, 6 Sep 2002 16:51:10 -0400, Ricci, Mark [EMAIL PROTECTED] wrote: Hello All, I'm having some trouble getting this script to run as a service, any and all help is appreciated: There seems to be a syntax error here: #!c:\perl\bin use Win32::Process; use Win32; package PerlSvc;

Re: [OLE] Win32::OLE source

2002-09-12 Thread Jan Dubois
On Thu, 12 Sep 2002 13:53:54 -0400, Tom Allebrandi [EMAIL PROTECTED] wrote: Is the source for the XS part of Win32::OLE available anywhere? I'm working on a COM/OLE project and I'd like to study the XS side of Win32::OLE to see how some things are supposed to be done. Yes, the latest version

Re: Upgrading ActiveState versions - was: ppm3 search *all* repositories ???

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 07:28:24 -0500, Cutts III, James H. [EMAIL PROTECTED] wrote: Hi james, I have had problems with upgrading versions of ActivePerl, in the past. The last upgrade ended up with me completely and extensively uninstalling ActivePerl and then starting with a fresh install of

Re: Error with $Response-Flush()

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:20:40 +0800, Allegakoen, Justin Devanandan [EMAIL PROTECTED] wrote: And as you mentioned the 256 bytes most definetely need to be sent before anything will flush. It is actually Internet Explorer that needs to receive 256 bytes before displaying anything. If you test

Re: ppm3 disabling ppm?

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:08:04 +0200 (MEST), Reiner Buehl [EMAIL PROTECTED] wrote: Since I tried out ppm3 on my Active Perl 5.6.1 Build 633, I am not able to use ppm anymore. Everytime I start ppm I get a few dozend of this message: Element 'IMPLEMENTATION' must contain a 'CODEBASE' element. at

Re: Error with $Response-Flush()

2002-09-26 Thread Jan Dubois
On Thu, 26 Sep 2002 16:13:50 -0400, Ron Grabowski [EMAIL PROTECTED] wrote: And as you mentioned the 256 bytes most definetely need to be sent before anything will flush. It is actually Internet Explorer that needs to receive 256 bytes before displaying anything. If you test your page with

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 10:21:12 +, [EMAIL PROTECTED] wrote: On 10/11/2002 04:54:57 Jan Dubois wrote: Yes, the current repository is just the result of the first automated run for ActivePerl 8xx. We already noticed that even some of the modules that always used to pass are still missing. I

Re: Re[4]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 14:13:34 +1100, Sisyphus [EMAIL PROTECTED] wrote: Yes, because gcc 2.95.2 is really a worse compiler compared to VC++ 6. It runs a lot slower, but more importantly, the code it generates is also about 20% slower than the code that VC++ generates. This is not what I just

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 13:13:30 -0700, Jack [EMAIL PROTECTED] wrote: No, it is not. Tk is already included in ActivePerl 802, so there is no need to install it from the repository. Before I download and install - can you tell me which version of Tk this is? I assume 800.024 - or have you built

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Sat, 9 Nov 2002 22:31:53 -0600 (CST), Randy Kobes [EMAIL PROTECTED] wrote: I was wondering about the 5.8 repository at http://www.activestate.com/ppmpackages/5.8-windows/ - it doesn't seem to include packages that need a C compiler, like DBI. Is it just too early for these, or is there a

Re: Comparisons was [4]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Tue, 12 Nov 2002 17:41:47 +1100, Sisyphus [EMAIL PROTECTED] wrote: In the end, I downloaded build 626 built by AS and compared its performance to the 626 that I built, by running that script that I posted the other day. 626 built by AS took 2.94 seconds. 626 built by me took 4.64 seconds.

Re: [Perl-Win32-Users]Subject Line

2002-11-22 Thread Jan Dubois
On Fri, 22 Nov 2002 13:29:26 -0700, Jack [EMAIL PROTECTED] wrote: It seems that [Perl-Win32-Users] is now a standard string in the subject line. I assume this was implemented because of the recent thread discussion? I like it - but there were others with very good points on why they don't like

Re: thread limit in fork?

2002-11-25 Thread Jan Dubois
On Mon, 25 Nov 2002 15:09:26 -0800 (PST), prefab [EMAIL PROTECTED] wrote: Does anyone know where this limit comes from and if it is possible to configure a higher number of threads? Yes, there is a limit of 64 *concurrent* threads in Perl on Windows. The limit comes from using the

Re: OLE methods with output arguments

2002-11-26 Thread Jan Dubois
On Fri, 22 Nov 2002 10:37:52 -0500, Jon Vinson [EMAIL PROTECTED] wrote: Figured it out. Answer: Variant(VT_VARIANT | VT_BYREF, Variant(VT_EMPTY)) (Good grief!) Yes. But then, passing arguments by reference is rarely done in OLE Automation. Anyways, I've added a shortcut (for some value of

Re: my not okay for file handle strings?

2002-12-06 Thread Jan Dubois
On Fri, 6 Dec 2002 08:15:46 -0800 (PST), Terry Carroll [EMAIL PROTECTED] wrote: $ARTICLE = /usr/spool/news/comp/lang/perl/misc/38245; open ARTICLE or die Can't find article $ARTICLE: $!\n; while (ARTICLE) {... Again, the sample program using this form *does* indeed work -- but not if the

Re: Speeding up start-up.

2003-01-14 Thread Jan Dubois
On Tue, 14 Jan 2003 17:17:49 -, Beckett Richard-qswi266 [EMAIL PROTECTED] wrote: You can also reduce startup time by using require Module at the time you actually need Module instead of adding a big list of use statements at the top. This doesn't work if you need to import names from

Re: FW: PerlApp and Image::Magick

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 15:28:11 -0500, Joseph Youngquist [EMAIL PROTECTED] wrote: Posted this earlier, perhaps it was missed. Still awaiting a response. I guess just nobody replied yet. :) seems www.imagemagick.org is not up and running past few days...did it move? No, it is up and running fine

Re: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 12:31:18 -0500, Jonathan Epstein [EMAIL PROTECTED] wrote: I believe that to make gcc work you will need to compile Perl from scratch as well as all the other modules that you will use (even the ones for which PPDs are available). While the full-blown Visual Studio costs

Re: Importing Win32 Symbolic Constants

2003-02-15 Thread Jan Dubois
On Sat, 15 Feb 2003 11:03:30 -0700, Steve [EMAIL PROTECTED] wrote: In the Win32 docs at http://search.cpan.org/author/JHI/perl-5.8.0/lib/Win32.pod in the item for Win32::SetChildShowWindow it says: [EXT] The following symbolic constants for SHOWWINDOW are available (but not exported) from the

Re: re-executing a program

2003-02-17 Thread Jan Dubois
On Mon, 17 Feb 2003 22:04:43 -0500, Dax T. Games [EMAIL PROTECTED] wrote: Simple. Create a new script with the following contents: exec(\c:\\program files\\internet explorer\\iexplore.exe\); Compile with -gui. exec pops up a command window when launched that stays open till IE is closed. Ah,

Re: Using PPM

2003-02-26 Thread Jan Dubois
On Wed, 26 Feb 2003 17:13:35 -0500, Gregory, Carlton [EMAIL PROTECTED] wrote: Good Evening, G'day! I am trying to use PPM but cannot get past some errors. I have looked at the docs and have boiled down some problems. My Perl is 5.8.0 build 805. I installed the Perl Dev

Re: PPM error

2003-03-12 Thread Jan Dubois
On Tue, 11 Mar 2003 22:58:47 -0800, Christopher Hahn [EMAIL PROTECTED] wrote: Hello all, Hi there! I was about to post a question, but it seems that I know the reason for my difficulties now, but am going to go ahead and post the problem. I installed ActivePerl 5.8 on a clean box and then

Re: PerlSvc

2003-03-12 Thread Jan Dubois
On Wed, 12 Mar 2003 13:35:33 -0500, John Deighan [EMAIL PROTECTED] wrote: I have a service, that I've created with PerlSvc. Occasionally, it doesn't start up correctly after a reboot, and I suspect that it's because it accesses a database, and the database server may not have started

Re: XS question on Windows

2003-06-23 Thread Jan Dubois
On Sat, 21 Jun 2003 15:52:17 -0700, Glenn Linderman [EMAIL PROTECTED] wrote: // add (or create) the tooltip if(perlcs.szTip != NULL) { if(perlcs.hvParent != NULL) { if(perlcs.hTooltip == NULL) {

Re: long filenames on Windows 2K/XP

2003-07-21 Thread Jan Dubois
On Mon, 21 Jul 2003 13:51:29 -0600, Tobias Hoellrich [EMAIL PROTECTED] wrote: I trying to find a solution for a problem that involves long filenames under windows 2k/xp. This script: [...] checking filename length of 251 checking filename length of 252 checking filename length of 253 checking

Re: Perlapp reverse engineering.

2003-07-30 Thread Jan Dubois
On Wed, 30 Jul 2003 10:50:15 +0100, Beckett Richard-qswi266 [EMAIL PROTECTED] wrote: Run a debugger. Break right after perl_parse. Dump the OP tree and feed it to B::Deparse. I have verified this method's validity with the author of PerlApp. :-) Erm... ?:-) I talked with Autrijus earlier

Re: Environment variables on Win98

2003-08-18 Thread Jan Dubois
On Mon, 18 Aug 2003 11:23:06 -0700, $Bill Luebkert [EMAIL PROTECTED] wrote: Arms, Mike wrote: Looks like one too many }, here: 4 = { 0 = { 1 = 'Windows 95', 2 = 'Windows NT 4.0' }, }, and the close should be after: 90 = { 1 = 'Windows Me' }, So the

Re: how does MSI detect if WSH is installed in a win95 machine ?

2003-08-25 Thread Jan Dubois
On Sun, 24 Aug 2003 21:05:12 -0500, D Columbich [EMAIL PROTECTED] wrote: I can not install the msi package of ActivePerl because the installer ask me to install Windows Scripting Host in the machine, but it is already installed. I need to know where and what the MSI package read to know if the

Re: Moving with File::Copy between Drives

2003-09-10 Thread Jan Dubois
On Wed, 10 Sep 2003 13:33:40 -0700, Ford, Graham [EMAIL PROTECTED] wrote: I am getting the error 'Permission denied at test.pl line 3' when moving a file between two drive volumes under WIndows 2000. The script is running with administrator permissions. The script is short: _start

Re: perlis is *very* slow

2003-11-02 Thread Jan Dubois
On Sun, 2 Nov 2003 23:36:19 -0500, Trevor Joerges [EMAIL PROTECTED] wrote: Will setting the auto-flush variable $| to a non-zero value inside each CGI script resolve this? No, $| is not being used for buffering inside PerlIS at all. Each buffer is always flushed immediately anyways, but

Re: Strange perl problem on W2000

2003-11-05 Thread Jan Dubois
On Wed, 5 Nov 2003 13:49:24 +0100, Huub Peters [EMAIL PROTECTED] wrote: I allready sent this out directly at Jan Dubois because I thought he might have the solution to this problem. No respons yet so I'll throw it in here Sorry, I'm extremely busy and sometimes just can't answer all

Re: Strange perl problem on W2000 ( longish email )

2003-11-07 Thread Jan Dubois
On Fri, 07 Nov 2003 17:10:48 -0800, Jeff Griffiths [EMAIL PROTECTED] wrote: Hi Jeff! :) 1. even though we set up IIS for Perl CGI during the MSI install, you also have to manually 'Allow' the extension in the Internet Information Services Manager under 'WebService Extensions'. This is because

Re: compiled perl scripts?

2003-11-03 Thread Jan Dubois
On Mon, 3 Nov 2003 09:50:04 -0800, Ilene Jones [EMAIL PROTECTED] wrote: I'm using PerlApp quite successfully :) We are using standard Perl libraries, and the only problem we had was with the binding of libxml2.dll ... Once we got the bind statement right (using the right file from the right

Re: MS-Dos and Win32 Console apps

2003-12-02 Thread Jan Dubois
On Tue, 02 Dec 2003 19:13:01 -0800, Jeremy A [EMAIL PROTECTED] wrote: Hi all, Hi there, is there any way to test if any given program is a classic MS-Dos ,Win32-Console or (non console)Windows GUI based application, using a perl script? Yes. Just copy the corresponding code from

Re: Status on Free to wrong pool problem?

2004-03-07 Thread Jan Dubois
On Tue, 02 Mar 2004 14:15:44 +0100, Anders Boström [EMAIL PROTECTED] wrote: Could someone (Jan?) summarize on what is known and done about the Free to wrong pool problems? They are created by bugs in Perl's multithread support. I still get crashes on threaded programs in 5.8.3.809. Is there

Re: Win32::OLE and events from multiple source interfaces

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli [EMAIL PROTECTED] wrote: I have a ATL COM server which supports two connection point interfaces IAsiaCommonEvent and IAsiaTestEvent along which it can fire COM events . Now, I can get events from either of these connection points, one at a

Re: Array from a string.

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 18:46:06 -0500, Eric Amick [EMAIL PROTECTED] wrote: On Wed, 31 Mar 2004 08:46:05 -0800, you wrote: Yes. Use the bundled module Text::ParseWords. use Text::ParseWords; $string = 'one two three four five'; @array = parse_line(' ',0,$string); print join \n,

Re: Array from a string.

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 23:37:47 -0500, Randy W. Sims [EMAIL PROTECTED] wrote: On 3/31/2004 11:17 PM, Jan Dubois wrote: Core module should not be in the PPM repository at all. Even if did manage to install them, they would still not become active as they install into the site/lib tree

Re: Win32::OLE and events from multiple source interfaces

2004-04-16 Thread Jan Dubois
On Fri, 16 Apr 2004 09:19:30 -0700, Rajkumar Malli [EMAIL PROTECTED] wrote: At 09:15 PM 3/31/2004, Jan Dubois wrote: On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli [EMAIL PROTECTED] wrote: I have a ATL COM server which supports two connection point interfaces IAsiaCommonEvent

RE: Win32 OLE modification of component identity

2004-05-03 Thread Jan Dubois
Try something like this. $COMComponent-{Value}-{Identity} = $varUserStr; $COMComponent-{Value}-{Password} = $varPasswordStr; There seems to be no Identity property on the Com Component Object, instead, the user and pw are part of a variant of the Value property. Nope, this looks like an

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
I'm having some problems with the time reported by Time::HiRes::time(). ... Any idea what I'm doing wrong? Make sure that you are running version 1.53 of Time::HiRes or later: perl -MTime::HiRes -eprint$Time::HiRes::VERSION Earlier versions were acting more like Time::LoRes on Windows.

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
. - Original Message - On Wed, 16 Jun 2004, Jan Dubois [EMAIL PROTECTED] wrote: I'm having some problems with the time reported by Time::HiRes::time(). ... Any idea what I'm doing wrong? Make sure that you are running version 1.53 of Time::HiRes or later: perl -MTime::HiRes

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
On Tue, 15 Jun 2004, $Bill Luebkert wrote: Leigh Sharpe wrote: This is interesting. Using your example, if I change the usleep to 1000, I get a result of 0.010015 seconds. Using usleep(999), I get 0.00 secs. A difference of 1 uS in the usleep causes a difference of 10mS in the result.

RE: Time::HiRes problems

2004-06-16 Thread Jan Dubois
On Wed, 16 Jun 2004, Beckett Richard-qswi266 wrote: Hi Jan, can you help with this confusion, please? c:\ppm query Time-HiRes Querying target 1 (ActivePerl 5.8.1.807) 1. Time-HiRes [1.59] High resolution alarm, sleep, gettimeofday, interval timers c:\perl -MTime::HiRes -eprint

RE: ole browser broke, xp sp2?

2004-09-13 Thread Jan Dubois
On Mon, 13 Sep 2004, Hon Shi wrote: My perl doc OLE browser broke. I get this (see below) in the bottom pane. Help! Thanks (maybe a new corp gpo setting?) You can fix this by renaming C:\Perl\html\OLE-Browser\Browser.dhtml to C:\Perl\html\OLE-Browser\Browser.htm and then editing

RE: Convert Python Com Code to Win32::OLE

2004-11-05 Thread Jan Dubois
On Fri, 05 Nov 2004, Celeste Suliin Burris wrote: testtext = gp.Usage(Buffer_analysis) ... $testtext = $gp-{Usage}-(Buffer_analysis); Try: $testtext = $gp-Usage(Buffer_analysis); Cheers, -Jan ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Jan Dubois
On Thu, 11 Nov 2004, Jeff Griffiths wrote: Paul Sobey wrote: Just realised if you turn that use into a require Win32::OLE after the threads have been spawned, it works ok. Anyone know why this should be so? I thought I read somewhere that Win32::OLE was threadsafe but it seems not! Seeing

RE: Max Number of threads?

2004-11-17 Thread Jan Dubois
On Wed, 17 Nov 2004, John Serink wrote: Anyone know what the maximum number of threads a Win32 perl app can spawn? It is somewhere between 60 and 63. Can't remember the exact number... Cheers, -Jan ___ Perl-Win32-Users mailing list [EMAIL

RE: ActiveState perl and the perl debugger

2004-12-17 Thread Jan Dubois
On Fri, 17 Dec 2004, Sisyphus wrote: What does one need to do to successfully invoke perl's debugger (with ActiveState perl, build 810). E:\testperl -d test.t Can't locate F:\Perl\bin\PerlDB.pl in @INC (@INC contains: E:/Perl810/lib E:/Perl810/site/lib .). BEGIN failed--compilation

RE: ActiveState perl and the perl debugger

2004-12-18 Thread Jan Dubois
On Sat, 18 Dec 2004, Sisyphus wrote: Jan Dubois wrote: This looks like some leftover stuff from an old PDK or ActiveState debugger installation. Check your environment for the PERL5DB variable, and more likely, you registry under HKLM/Software/Perl and same for HKCU. If you find a PERL5DB

RE: Backticks and the cmd.exe shell

2005-01-03 Thread Jan Dubois
On Mon, 03 Jan 2005, Sisyphus wrote: Have you tried : my $out = `cmd /C dir`; No, I didn't - mainly because '/C' does not appear as an option in 'cmd command' under Windows Help. I did try a few other switches which *were* mentioned there (such as '/c' and '/k') but they didn't work as

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following error dialog: perl.exe - Unable To Locate

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: I hope the same will work on NT 4.0. I wonder why MSVCR70.dll isn't mentioned in the documentation for Win32::AdminMisc, and isn't installed automatically by PPM. It is the C runtime library for Microsoft VC++ 7.0. Dave Roth used it to compile his

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: Nope, it still doesn't work on NT 4.0 TSE. I still get: perl.exe - Entry Point Not Found The procedure entry point GlobalMemoryStatusEx could not be located in the dynamic link library KERNEL32.dll. As most of our customers' servers are

RE: Sleep()

2005-01-14 Thread Jan Dubois
On Fri, 14 Jan 2005, Chris wrote: Is there a way make Perl sleep for less than a full second? I'm using v5.8 on win2k. Win32::Sleep($time); $time is specified in milliseconds. Win32::Sleep() is part of core Perl on Windows and always available. Cheers, -Jan

RE: executing Desktop shortcut

2005-02-04 Thread Jan Dubois
On Fri, 04 Feb 2005, M. Smith wrote: Is it possible to execute a desktop shortcut on Win2k using AS Perl? I used to do this on win98 by just adding .lnk to the path\file name and putting it in a system statement, but that doesn't work on 2k. And I tried guitest which seems should work, and

RE: perlctrl and cygwin - using cygwin development tools with pdk

2005-02-15 Thread Jan Dubois
On Tue, 15 Feb 2005, Edward Peschko wrote: On Tue, Feb 15, 2005 at 02:31:04AM -0500, Chris Wagner wrote: At 07:49 PM 2/14/05 -0800, Edward Peschko wrote: However, when I try this, I get: No perl found at C:\perl\bin\perl.exe even though there *is* a perl found at

RE: perlctrl and cygwin continued

2005-02-16 Thread Jan Dubois
On Wed, 16 Feb 2005, Edward Peschko wrote: However, if you modify the path inside of cygwin destructively, saying something like: export PATH=/cygdrive/c/Perl/pdk/bin:/cygdrive/c/Perl/bin/:/bin then - even though perlctrl is still in your path - you get the error that I mentioned. I

RE: Win32::OLE : Bizarre Push while Examining IE Events

2005-02-23 Thread Jan Dubois
On Wed, 23 Feb 2005, Andrew McFarlane wrote: I think that I'm seeing a but in the Win32::OLE::Lite::in method. [...] How do I alert the powers that be about this potential defect? Can you send me a complete program that I can use to reproduce the problem? Cheers, -Jan

RE: Win32::OLE - Setting VBA property

2005-03-08 Thread Jan Dubois
On Tue, 08 Mar 2005, Suresh Govindachar wrote: Hello, If myDestination is a folder in Microsoft Outlook VBA code, it is possible to execute a VBA line such as the following: myDestination.Items(1).UnRead = 1 This will mark the first mail inside the folder myDestination as unread

RE: Perl/Tk GUI Builder

2005-03-29 Thread Jan Dubois
On Mon, 28 Mar 2005, [EMAIL PROTECTED] wrote: Does anyone know of a Perl/Tk GUI builder? I know it is asked before. But I like to know if there is. Guido seems not be supported any more. Our Komodo Professional product includes a GUI builder that targets Perl/Tk among others:

RE: [OT] Spam to list

2005-04-01 Thread Jan Dubois
On Fri, 01 Apr 2005, jeff griffiths wrote: Chris Wagner wrote: At 10:47 AM 4/1/05 -0800, jeff griffiths wrote: The one thing we *could* do to mitigate this is to have list emails look like they come *from* the list, not the poster. Currently none of our lists work this way, and I believe

RE: tk without a command line window?

2005-04-03 Thread Jan Dubois
On Sun, 03 Apr 2005, Spencer_Lists wrote: Greetings perl-win32-users, Any ideas on how to suppress the DOS command box when running a TK application? It is especially important when using PerlApp to make an executable. Please be specific I am a novice. With PerlApp please use the --gui

RE: More on Re: Windows DLL - Perl Interface

2005-04-04 Thread Jan Dubois
On Mon, 04 Apr 2005, Bharucha, Nikhil wrote: Does anyone have any other ideas of attacking this problem of accessing a COM object in a DLL from Win32 Perl? It depends on the COM object. If it implements IDispatch then you could use Win32::OLE to access it. Cheers, -Jan

RE: More on Re: Windows DLL - Perl Interface

2005-04-04 Thread Jan Dubois
On Mon, 04 Apr 2005, Bharucha, Nikhil wrote: I looked at OLE quickly before and I looked at it again -- see you worked on it too! Yeah, I wrote probably 90% of the code in Win32::OLE. :) I am trying to access the WS_FTP API. This is done by accessing the WsftpApi interface

RE: Subject line tags are ugly

2005-04-04 Thread Jan Dubois
On Mon, 04 Apr 2005, jeff griffiths wrote: I like the idea of pre-pending a tag to the subject though, and we do this a lot with other lists ( Komodo-discuss being the one that comes to mind ). Are there any strong objections to this? Yeah, I hate them! :) Especially if the tag is long and

RE: Win32::OLE behavior on IMessageFilter::HandleIncomingMessageSERVERCALL_RETRYLATER

2005-04-13 Thread Jan Dubois
On Wed, 13 Apr 2005, Jeff Schultz wrote: The other side of this is that calling my COM server which implements IMessageFilter from an (ATL) COM client seems to work ok. So I am guessing that perhaps ATL provides a default client implementation of IMessageFilter::RetryRejectedCall which

RE: Running Perl script without a command window

2005-04-14 Thread Jan Dubois
On Thu, 14 Apr 2005, Kevin Carothers wrote: On 4/14/05, Dan Baumbach [EMAIL PROTECTED] wrote: I'm running a perl script that checks the viability of a server. I have the script scheduled to run every 5 minutes. That means every five minutes I have a command window flash on the computer as

RE: This is fun

2005-04-18 Thread Jan Dubois
On Mon, 18 Apr 2005, Lloyd Sartor wrote: Jerry Kassebaum wrote on 04/17/2005 06:56:29 AM: $x=10; $x=$x++; print $x\n; $x=10; $y=$x++; print $x\n; #Results: $x=10, $x=11. #I understand it, but I think it's weird anyway. The first result ($x=10) puzzles me. Are

RE: Problem with OLE Excel SaveAs Method

2005-04-18 Thread Jan Dubois
On Sat, 16 Apr 2005, amar reddy wrote: Hai All- I Have problem with OLE Excel SaveAs method, if its sounds too silly forgive me.we need to create a HTML Doc from Excel Worlsheet. We are able to save the file as Excel with the follwoing statement $xl-ActiveWorkbook-SaveAs( {

RE: Ppm and Crypt::SSleay

2005-06-10 Thread Jan Dubois
Hugh wrote: Jeff, why not get permission from the govt? Hugh, you have no idea what you are talking about! :) :) :) You have to get an export permission for each customer for each release of the product. We did this once for a big enterprise customer who paid for all the paperwork, which

RE: Win32:OLE - Speech.VoiceText

2005-06-13 Thread Jan Dubois
On Mon, 13 Jun 2005, Sisyphus wrote: - Original Message - On Tue, 14 Jun 2005, Jon Bjornstad [EMAIL PROTECTED] wrote: This code: use Win32::Ole; my $voice = Win32::Ole-new(Speech.VoiceText); $voice-Register('', 'Perl'); $voice-speak(hello world); STDIN;# wait til

RE: Win32:OLE - Speech.VoiceText

2005-06-13 Thread Jan Dubois
On Mon, 13 Jun 2005, Jon Bjornstad wrote: This code does work on Win98 (with the Speech SDK installed) and Win2000 (stock) but not on XP: use Win::OLE; my $voice = Win32::OLE-new('Speech.VoiceText'); die no voice: $!\n unless $voice; $voice-Register('', 'Perl'); while (STDIN) {

RE: Win32::GetLastError() [was: Win32:OLE - Speech.VoiceText]

2005-06-14 Thread Jan Dubois
As well as looking at $!, you might also try looking at Win32::FormatMessage(Win32::GetLastError()), as that often gives much a better indication of the problem where windows processes are involved. (You have to 'use Win32;' to do that.) You can use $^E instead of Win32::GetLastError(). It

RE: Win32::API and Unicode filenames

2005-06-17 Thread Jan Dubois
Siebe wrote: Considering Perl cannot open files with Unicode filenames by default Well, not by default, but you can work around this. Check out: http://www.nntp.perl.org/group/perl.unicode/2779 Cheers, -Jan ___ Perl-Win32-Users mailing list

RE: OLE error when trying to run excel macro

2005-08-11 Thread Jan Dubois
On Tue, 09 Aug 2005, Larry Lords wrote: I am trying to upgraded to ActivePerl 5.8.7 from 5.8.4 on my Windows XP machine. I am now getting an Win32::OLE error on a statement that has worked correctly for quite awhile on the old system. The statement seems to work correctly but throws the

  1   2   3   4   >