Question about OLE control of Outlook and attachments

2002-05-10 Thread Norris, Joseph
Group, First of all thanks to all who have written on this subject up until this point. I have learned a lot - but.. I have a problem - actually two. I have the following code: #!c:\perl\bin\perl.exe use Win32::OLE qw( in ); my $path = 'c:\web\html\download\requisition\IT66_0.rtf';

connecting via perl to mysql on another windows 2000 box -

2002-05-16 Thread Norris, Joseph
group, Here is the situation. I have to connect to Mysql running on another windows 2000 box. I have never done this before. Do I set this up in the tables as another host and use the -h parm in command shell and the host parm in my perl scripts? or is there another way to do it? Any help

Way to approach outlook problem

2002-05-23 Thread Norris, Joseph
Here is the situation. I have a system that allows users to maintain name, phone, email information. I have set this up so that it writes to a csv file that is set up like a Outlook import file to contacts. Question: Is there a way to invoke the import process via perl? I have had limited

Conversion of VB to perl

2002-05-23 Thread Norris, Joseph
Group, Is there a site that relates how to look at VB and interpret this to perl? Thanks. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

run a perl script as a different user under apache on Windows 2000

2002-05-29 Thread Norris, Joseph
Group, The subject says it all. All I want to do is run a perl script from cgi as different user under apache on windows2000. Right now I think ( not sure here ) that my called perl script is being ran as the same user as my apache server is running LocalSystem. This is a problem as my perl

PLEASE - can any one help on this?

2002-06-05 Thread Norris, Joseph
Group, I have written before on this and now I am in pressing need to know where I am going wrong with this code. Can anyone give me any ideas? The $Process contains path to perl script that has been formated to run as dos batch file. Thanks to all and sorry to be a pest I have the

use lib failing on IIs

2002-06-06 Thread Norris, Joseph
Group, I got all my stuff run on my local box with perl/apache/mysql and then I went to move everything to the main IIs server. However. when I ran my scripts that worked before in the same directory structure on my local box I got the following: Can't locate STDLIB.pm in @INC (@INC

RE: Displaying time in PERL

2002-08-09 Thread Norris, Joseph
Michael, Most likely you got a ton of emails on this one - here you go Ciao! use Date::Manip; my ($mydate) = (${\ParseDate(today)} =~ /(\d{2}:\d{2}:\d{2})$/); print $mydate\n; The routine ParseDate - takes today or a variable containing a date and returns mmddhh:mm:ss I use the

extracting data via telnet from a strange port setup

2002-08-13 Thread Norris, Joseph
Hello to all, Before jumping into this I wish to express my thanks to all of you who have provided help and comments on my little problems in the past. This has been the best resource I have encountered. Now for my current problem: I have a project which opens a telnet session via

RE: extracting data via telnet from a strange port setup

2002-08-14 Thread Norris, Joseph
, August 14, 2002 10:47 AM To: 'Norris, Joseph'; Perl Win32 Users (E-mail); Perl Admin (E-mail) Subject: RE: extracting data via telnet from a strange port setup Hi Joseph, I'm really curious... Whenever I hear of someone using a script to drive/get information using telnet I wonder why it's necessary

:LDAP and ADSI question.

2002-08-21 Thread Norris, Joseph
Henry, Thanks for this bit of code - I really need something like this to get me started. I made the changes so as to get my feet wet. Fired up the script and got the following: IO::Socket::INET: Timeout at ldap_test2.pl line 7. Where do I go from here to trouble shoot this problem?

Not sure which list to use - this is a real strange one with ODBC

2002-08-21 Thread Norris, Joseph
Groups, I have this snippet of code: $dbh = DBI-connect( dbi:ODBC:${db_name}, $user, $pass) or DoError(Unable to connect: $DBI::errstr); #$dbh-debug(2); $fsql = qq!select empl_no_a, user_ln, user_fn, user_mi, aka, longname_a, longname_b, longname_c, useaka from activeempsinfo!;

RE: Not sure which list to use - this is a real strange one with ODBC

2002-08-21 Thread Norris, Joseph
Agreed except in this case what I have to read is a FoxPro database - (yuck!) -Original Message- From: Gerald Clark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 11:28 AM To: Norris, Joseph Cc: Mysql_List (E-mail); Perl Database (E-mail); Perl Web (E-mail); Perl Win32 Users

ODBC error I do not understand.

2002-08-30 Thread Norris, Joseph
Here I am again with my problem of reading a FoxPro table with DBI::ODBC. I am getting the following error on a simple query: DBD::ODBC::st execute failed: [Microsoft][ODBC Driver Manager] Program type out of range (SQL-S1003)(DBD: describe/SQLBindCol err=-1) at hr_phone_compare.pl line

RE: ODBC error I do not understand.

2002-08-30 Thread Norris, Joseph
That did it - thanks again - I am in and reading the db. -Original Message-From: Jeff Urlwin [mailto:[EMAIL PROTECTED]]Sent: Friday, August 30, 2002 12:55 PMTo: Norris, Joseph; Perl Database (E-mail); Perl Admin (E-mail); Perl Win32 Users (E-mail)Subject: RE: ODBC error I

RE: Interface perl to exchange server

2002-09-06 Thread Norris, Joseph
:[EMAIL PROTECTED]]Sent: Friday, September 06, 2002 5:48 AMTo: 'Norris, Joseph'; Perl Admin (E-mail); Perl Win32 Users (E-mail)Subject: RE: Interface perl to exchange server You can try using Win32::OLE to interface with Collaboration Data Objects (CDO). You'll find docs on using CDO

RE: Interface perl to exchange server

2002-09-06 Thread Norris, Joseph
Thanks for the input on this James. I will continue to struggle on. -Original Message-From: Tillman, James [mailto:[EMAIL PROTECTED]]Sent: Friday, September 06, 2002 8:58 AMTo: 'Norris, Joseph'; Perl Admin (E-mail); Perl Win32 Users (E-mail)Subject: RE: Interface perl

RE: Insert items to html's list box from MySql table

2002-09-10 Thread Norris, Joseph
Dovalle, I use the code below in a standard package of callable routines. It reads the table passed to it and builds a pulldown box. You can modify that any way you want. Then I drop it into a html template variable - but you can build your html in your script if you want and just hack

RE: ANNOUNCE: Win32::Exchange

2002-09-11 Thread Norris, Joseph
Three cheers for POD - like american express - don't start a script without it. Ciao!!! -Original Message- From: Tillman, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 6:01 AM To: [EMAIL PROTECTED] Subject: RE: ANNOUNCE: Win32::Exchange One of the files in the

RE: Debugging?

2002-09-12 Thread Norris, Joseph
around the areas that you do not want the parser to touch use pod. Example: my $last_name = 'Norris'; my $first_name = 'Joseph'; =pod everything up till the cut statement will be bypassed. my $full_name = join ' ', $last_name, $first_name; =cut # return to regular code. -Original

RE: Regexp with 0

2002-09-18 Thread Norris, Joseph
Title: Regexp with 0 Normann, Mi surgencia es que utiliza lo siguiente: CARACTER[$i] =~/^([0|a|c|0])/ usando corchetes dira a Perl que este es una clase de caracter que pertenece al grupo que esta buscando. Espero que este le ayude. Dispense que not tengo este teclado con acentos.

Any help appreciated - unusual cookie request

2002-09-26 Thread Norris, Joseph
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 $ENV{USERNAME} and build a cookie do a request to

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

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: Question about $ENV{} Apache CGI

2002-09-27 Thread Norris, Joseph
before. Thanks to all for the comments on this question. Many were very helpful. -Original Message- From: Carl Jolley [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 8:29 AM To: Norris, Joseph Cc: 'Jan Dubois'; Perl Win32 Users (E-mail); Perl Web (E-mail) Subject: RE: Question

ADS examine user question

2002-10-01 Thread Norris, Joseph
I have the script below. This is actually a test version taken out of my cgi that checks if the user is a valid user on windows 2000 server. Its working but I can not find pieces of information about the user that I am seeking. Please see comments in the code below. Thanks. use Win32; use

RE: ADSVW.exe not giving me any properties

2002-10-04 Thread Norris, Joseph
: Friday, October 04, 2002 9:29 AM To: Norris, Joseph Cc: Perl Win32 Users (E-mail) Subject: Re: ADSVW.exe not giving me any properties Norris, Joseph wrote: The ultimate goal is to just be able to update the telephoneNumber in the active directory - WHY DOES BILL MAKE SO HARD! I

Way to determine if a text file is being accessed

2002-10-30 Thread Norris, Joseph
hello to all, Is there a way under windows 2000 via perl to determine when a file is currently opened with text editor? Thanks. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Help using XML::Parser

2002-10-30 Thread Norris, Joseph
That's what I use. I have some sample code of how to use it if you would like. -Original Message- From: Philip Morley [mailto:PMorley;edisonmission.com] Sent: Wednesday, October 30, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: Help using XML::Parser I am new to using XML, so can someone

RE: How can I get the date of today in perl

2002-11-13 Thread Norris, Joseph
Hola Gerardo, Por que no usan Date::Manip. Tiene acceso a fechas en castillano tambien. -Original Message- From: Gerardo Carvallo Velasco [mailto:gerardo_carvallo;hotmail.com] Sent: Tuesday, November 12, 2002 9:42 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

RE: [Perl-Win32-Users]SOAP?

2002-11-22 Thread Norris, Joseph
I had to write a system that involved xml orders being sent to a soap server. I wrote test soap servers just to play with the concept. One of the real helps to me was: http://www.perl.com/pub/a/2001/01/soap.html#quick%20start%20with%20soap and the cookbook at http://www.soaplite.com/ HTH

Win32::OLE with Active directory question

2003-01-03 Thread Norris, Joseph
Everyone, I have the following code: $path = WinNT:// . Win32::DomainName(); if ( $AD = Win32::OLE-GetObject( $path ) ){; my $Schema = Win32::OLE-GetObject( $AD-{Schema} ); if( $Schema-{Container} ) { $AD-{Filter} = f=user;

Another Active Directory question - this time users in groups

2003-02-04 Thread Norris, Joseph
Group, Here I am again asking for help on ActiveDirectory. I have the following code: sub ADS_check_name{ my ($user_name) = @_; my %Config; my $iCount = 0; $Config{path} = WinNT:// . Win32::DomainName(); if( $AD = GetADSIObject( \%Config ) ) {