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';
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
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
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
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
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
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
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
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
, 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
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?
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!;
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
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
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
:[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
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
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
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
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
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.
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
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
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! )
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
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
: 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
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
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
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
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
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;
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 ) ) {
33 matches
Mail list logo