RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Tillman, James
Automating anything from MS Office Suite (Word, Excel, Access, Outlook, Powerpoint or FrontPage) is always going to be painful and buggy. These programs are not capable of providing robust unattended functionality. They raise dialog boxes indiscriminately, often make themselves visible on the cu

Re: Keeping hash in insertion order, using Tie-IxHash

2002-09-27 Thread Carl Jolley
On Thu, 26 Sep 2002, Gary Nielson wrote: > I have an array I've created that contains 10 years of annual eps data for > companies. A perl script then calculates the percentage growth rate from > year to year and pushes the results into @results. > > I then combine the two arrays into a hash (usin

RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Norris, Joseph
Mark, My experments with this have been - ah - painful (yes that's the right word). On problem I have with any of this is that whenever I access outlook via ole, outlook comes back with a dialog box letting me know that someone other than me is trying to access my stuff ( even though it IS ME! )

RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Mark Sutfin
On Tuesday, 09/24/2002, Martin Bower wrote: :Hi, :The script below will access Outlook 98, and give me a list of items in my :Inbox. I would like to ammend this so I can see what sub-folders I have :below Inbox, and scroll through their contents as well. :Can anyone point me in the right direct

Re: Any help appreciated - unusual cookie request

2002-09-27 Thread Carl Jolley
On Thu, 26 Sep 2002, Norris, Joseph wrote: > Here is the situation: I am on an network of windows boxes with apache > running on one of the boxes. I have my web apps there with perl/mysql etc.. > I want to build a script that will be run in the users login script that > will take the username via

Win32::API::Prototype SendMessage() question

2002-09-27 Thread Alon Swartz
Greetings, System Info:Win2kpro, ActiveState perl v5.6.1 (Binary build 631) Situation: I am writing a script that will be used in windows (win32) messaging. The attached code should close the window that the handle belongs to but instead it crashes with the error: The instruction at "0x0

Re: Page break problem

2002-09-27 Thread Carl Jolley
On Thu, 26 Sep 2002, Krishna, Hari wrote: > Hi List, > I am new to the list. I have a question (I know this question would > have been posted many many times and sorry to repeat again) regarding to > Page Break in PERL. I am processing a text file (.prn file) and after > reading certain num

RE: Question about $ENV{} Apache CGI

2002-09-27 Thread Norris, Joseph
Thanks Carl. After much play with hacking cookies and trying to build them on the fly. I got management to see that a one shot logon script would not be a bad thing. User does initial logon - verify against db - set cookie, user should not have to logon again. I have used the same approach befor

RE: Question about $ENV{} Apache CGI

2002-09-27 Thread Carl Jolley
On Thu, 26 Sep 2002, Norris, Joseph wrote: > Jan, > > Thanks for this valuable bit of knowledge - I did not know about it. However > when I put that in the config file, restarted apache, it gave me the > username of the web server not the individual using the web page which is > the problem. I n

RE: TPJ announcment from Doctor Dobb's

2002-09-27 Thread Norris, Joseph
Great news - I had a subscription when the first went into business - excellent information. -Original Message- From: Moulder, Glen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 5:00 AM To: perl-win32-users Subject: TPJ announcment from Doctor Dobb's In case anyone's int

Re: setting env variables?

2002-09-27 Thread Carl Jolley
On Thu, 26 Sep 2002, Paul Flint wrote: > Carl Jolley <[EMAIL PROTECTED]> wrote: > > On Mon, 23 Sep 2002, Kirk wrote: > > > > > is it possible to set the $ENV{'REMOTE_USER'} variable from within a cgi > > > program? Im struggling a bit trying to understand how to do this and send > > > it to the

Re: Tricky pattern matching

2002-09-27 Thread Carl Jolley
On Wed, 25 Sep 2002, Erich C. Beyrent wrote: > Hey everyone, > > I am trying to do some really tricky pattern matching and replacement (well, > tricky for me...), and it looks like this: > > find this string in a file: #colwidth[@pageindex] > replace with this string: #grid_colwidth[@gridindex]

Re: Writing a file in UTF-8

2002-09-27 Thread kadir
Hi! On 26 Sep 2002 at 17:32, [EMAIL PROTECTED] wrote: > I just wondered if there is a way to write a file in UTF-8 encoding. > Like when you save a file in Notepad in UTF-8 > > I want to do somthing similar to this but to save it in UTF-8 encoding: > > open (FILE, ">new.txt"); > print FILE "ella

TPJ announcment from Doctor Dobb's

2002-09-27 Thread Moulder, Glen
In case anyone's interested... The Perl Journal - Back in Business! http://www.tpj.com/ Since 1996, The Perl Journal has been the definitive publication for and about Perl programming. Now as a monthly e-zine for the first time, TPJ is set to bring you more, better Perl stuff than ever before.