Sending mail using MAPI through Perl

2001-10-15 Thread IanCore
Can anyone shed any light on why I get the 'Can't use method "Resolve" on unblessed reference' when I run the following with Exchange. I don't get the problem when using Outlook?? use OLE; $LogonName = "Ian Core"; $LogonPasswd = undef; $ActiveSession = CreateObject OLE "MAPI.Session" || die "Cr

enviroment variable mving from USER area to SYSTEM area

2001-10-15 Thread Cai_Lixin
Dear all, When our developers install visual studio and MSSDK, the envrioment variables are set into USER area instead of SYSTEM area. We want the variables are set to SYSTEM area instead of USER area. Everytime when developers install above softwares, we ask them manually move the enviroment var

RE: GUI question: Skinning

2001-10-15 Thread Peter Guzis
Perl barely supports the native Windows GUI, let alone something like skinning. I'm not saying it isn't possible, of course. If you can find the C source of some program that already uses skins, you may be able to replicate the behavior by translating API calls to Win32::API (theoretically). Yo

RE: Big Integer Arithmetic

2001-10-15 Thread Scott Scecina
> I'm looking for a module that handles big integer arithmetic significantly > more quickly than Math::BigInt. > > Math::Pari might be one such module, though I gather it's unworkable on > Windows - and the install procedure is enough to prevent one from even > trying to build it. Actually, I ha

Tie Array and Hash

2001-10-15 Thread Simon Oliver
I have an object class which I want to be accessible as an array and hash. I know I can do this.. tie, %hash, 'myClass'; tie, @list, 'myClass'; print $hash{blah}; print $list[0]; but what I want to do is somehting like this: my $obj = myClass->new(); print $obj{blah}; print $obj[0]; I guess

RE: MySQL Password()

2001-10-15 Thread Fay Jason-W13246
Perl has a built in crypt function that will encrypt test. You cannot de-crypt that information though. I have used it when creating some cgi based applications that need a username / password. All I do is store the username /password encrypted in a flat file. Then when the person logs on, I e

RE: DragnDrop

2001-10-15 Thread Rogers, John
Johan wrote > You can e.g. use Win32::GUI to send the message to a window. --- Win32::GUI::SendMessage($handle,563,'$Memhandle',0,); --- Yep I can detremine the handle and send WM_DROPFILES, The windows do respond, (observed with spy.exe from win32 SDK) > The difficult > part seems to be how t

How do I map 'mississippi' to 'abccbccbddb'

2001-10-15 Thread Richard A. Nakroshis
I've been wrestling with a character mapping problem that has me stumped. I'd like to write a subroutine that would be given a character string and return a character pattern of the letters. There may be a proper title for this, but I don't know what it would be. Occurrences of the first letter

RE: How do I map 'mississippi' to 'abccbccbddb'

2001-10-15 Thread Joseph P. Discenza
Richard A. Nakroshis wrote, on Monday, October 15, 2001 11:20 AM : I've been wrestling with a character mapping problem that has me : stumped. I'd like to write a subroutine that would be given a character : string and return a character pattern of the letters. There may be a : proper title for

RE: How do I map 'mississippi' to 'abccbccbddb'

2001-10-15 Thread Thomas Bätzler
Richard A. Nakroshis [mailto:[EMAIL PROTECTED]] asked: > I've been wrestling with a character mapping problem that has me > stumped. [...] > 'mississippi' would return 'abccbccbddb' > 'parallel' would be 'abcbdded' > 'hello' 'world' would be 'abccd' 'abcde' use strict; my $

Re: Downloading file AGAIN.

2001-10-15 Thread $Bill Luebkert
"Morse, Richard E" wrote: > > I'm not sure about it cutting off, but handling the naming issue of the download > is something that I've dealt with before -- basically, most browsers are going > to save the file by the name of the page they are getting it from. The trick is > to fool the browsers

Re: Downloading file AGAIN.

2001-10-15 Thread Rodney Wines
> > http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params > --^ > > When using PATH_INFO, you use / instead of ? to start the arg list: > > http://mysite.com/myscript.cgi/relativepathtomy/script/any=extra+cgi+params Definately "yes and n

Re: Downloading file AGAIN.

2001-10-15 Thread $Bill Luebkert
Rodney Wines wrote: > > > > http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params > > --^ > > > > When using PATH_INFO, you use / instead of ? to start the arg list: > > > > http://mysite.com/myscript.cgi/relativepathtomy/script/any=extr

RE: GUI question: Skinning

2001-10-15 Thread Matthew Brennan
I know wxPerl has a set of paint tools (PaintDC, WindowDC,...) that might be worth looking in to. You can get wxPerl at wxperl.sourceforge.net. The best documentation is the docs for wxWindows, available at wxwindows.org. Good luck, ~Matt -Original Message- From: [EMAIL PROTECTED] [mai

Manifest....

2001-10-15 Thread saravanakumar chinnaraj
Hi all, I want to create a manifest file which has the list of files which goes for packaging and create a digital signature for each files. I know we have a modue in perl to do it, but i can't really recall the module name. can any one please help me in this regard? if possible, please do giv

RE: Read on a file the last lines

2001-10-15 Thread Thomas_M
>From CPAN (http://www.cpan.org/modules/by-module/File/File-Tail-0.98.readme): The File::Tail module is designed for reading files which are continously appended to (the name comes from the tail -f directive). Usualy such files are logfiles of some description. -- Mark Thoma

MIME::Lite reply-to not working

2001-10-15 Thread Byron Wise
I'm using MIME::Lite to send a multipart/alternative email to our members. As part of this, I'm hoping that the reply-to in the header would be the address that is used for bounced emails. It seems this isn't working. Infact the emails come back to [EMAIL PROTECTED] Can we change this in MIME:

outlook distribution list from recipient list?

2001-10-15 Thread Ron Hartikka
I have: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; I want an Outlook distribution list with these addresses. Outlook makes me do them one at a time. Can you do this in perl? If so how? Thanks. ___ Perl-Win32-Users m

Optimizing Excel usage?

2001-10-15 Thread Chuck Brewer
Hi all, I have a script that parses an array of data and then fills out an Excel worksheet with it. What I am noticing is that, in some cases, the scripts executes INCREDIBLY slow where it takes close to ten seconds for one inner loop iteration. I've only begun to investigate what is going

RE: outlook distribution list from recipient list?

2001-10-15 Thread Tillman, James
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > > I want an Outlook distribution list with these addresses. > > Outlook makes me do them one at a time. > > Can you do this in perl? If so how? > Read up on Exchange automation through its ADSI or LDAP interfaces

Re: Optimizing Excel usage?

2001-10-15 Thread Jeffrey
--- Chuck Brewer <[EMAIL PROTECTED]> wrote: > What I am noticing is that, in > some cases, the > scripts executes INCREDIBLY slow where it takes > close to ten seconds for > one inner loop iteration. Yep, I've seen this behavior. My script ran into 'slow' spots on the spreadsheet. For example

OLE and LDAP (multiple servers)

2001-10-15 Thread Steven Manross
I've been woking this issue on and off for a while now having issues connecting to an Exchange server's LDAP interface and creating mailboxes. The current problem is that I manage 3 exchange servers in different locations of our WAN, and the script, once connected to one server to do maintenance

a question of regular expression

2001-10-15 Thread Cai_Lixin
Dear all, I want to open a directory and get all sub folders except "." and ".." under directory, how can I do it? Thanks Lixin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: a question of regular expression

2001-10-15 Thread Cai_Lixin
I am sorry, I do not make it clear. The code is like: opendir (DIR, $directory) || die "can not open it:$!"; @sub_folders = readdir($directory); can I do something on the second line to make @sub_folders not include "." and ".."? Thanks Lixin -Original Message- From: [EMAIL PROTECTED] [

RE: a question of regular expression

2001-10-15 Thread Peter Guzis
opendir (DIR, $directory) || die "can not open it:$!"; @sub_folders = grep $_ !~ /^\.+$/, readdir($directory); Peter Guzis Web Administrator, Sr. ENCAD, Inc. email: [EMAIL PROTECTED] www.encad.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, Octobe

RE: a question of regular expression

2001-10-15 Thread Ember Normand
@sub_folders = grep !/^\.\.?$/, readdir (DIR); 1) you need to send in the directory handle (DIR) not the directory name 2) you can use grep to pull out the . and .. This does work on windows. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, Octo