> 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 look
Ok, I used the example script and trimmed it down so that I'm only using
what I need and this is the output
version = 6.0
build= 6249.4
service pack = 3
Failed creating CDO.Person object
- Error returning into main from new ()
Here is the script below...
#!/usr/local/bin/pe
As always, THANK YOU (for correcting my mistakes)!
I knew it was just a syntactical error. I, just, didn't know the right
syntax to throw it.
:)
Steven
-Original Message-
From: Jan Dubois [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 1:51 PM
To: Steven Manross; 'Miguel Laborde'
Load the Exchange Admin tools on the system that the script is running
on.
Steven
-Original Message-
From: Chris Purcell [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 1:57 PM
To: Steven Manross
Cc: [EMAIL PROTECTED]
Subject: RE: Win32::Exchange module
Ok, I used the example scri
They are installed and patched to SP3.
Chris
> Load the Exchange Admin tools on the system that the script is running
> on.
>
> Steven
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Something is wrong with the CDO.Person COM object.
Try this...
use Win32::OLE;
my $this_object = Win32::OLE->new("CDO.Person");
if (Win32::OLE->LastError() != 0 ) {
print "Error: ".Win32::OLE->LastError()."\n";
} else {
print "Well, that worked.. What's up with that?\n";
}
If it doesn't wor
You might get away with registering the DLL (because maybe the install
messed it up somehow)?
C:\
Cd\Program Files\Common Files\Microsoft Shared\CDO
Regsvr32 cdoex.dll
Steven
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven Manross
Sent: Monday, M
The embedded HTML example might be a little off -- not sure when I last
updated it. But now see that I should be updating it a little more
often.
Instead, please use the exchange_example.pl located in the
perl\site\lib\win32 directory.
Sorry for any confusion.
Steven
-Original Message-
Generally a "Member Not Found" means that you are trying to put a
property that doesn't exist. I.E. Identity and Password
As well, from looking at the OLE Browser, it doesn't seem that Identity
or Password are accepted properties, only Value.
There are situations in which OLE and perl don't work
I'm using the Win32::Exchange module to create mailboxes on an Exchange
2000 server. I'm getting this error...
"Can't call method "GetMailbox" on unblessed reference at C:\addusers.pl
line 98."
As of right now, I just copied and pasted some of the examples from the
documentation here...
http:/
Hi Steven,
unfortunately this doesn't seem to work. When I try this way I get:
Found component Win32::OLE=HASH(0x1f90eb8)
1: Win32::OLE(0.1403) error 0x8002000e: "Invalid number of parameters"
in PROPERTYPUT "Value"
when the preceeding line i
Lastly,
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.
And do a:
use Win3
Thanks Steven,
I did as you suggested. The result is:
retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156.
1: Win32::OLE(0.1403) error 0x80020003: "Member not found"
in METHOD/PROPERTYGET ""
Having a look on Microsoft's website gives a link to this
http://
You should really start using Win32::OLE->LastError() to see what and
where it doesn't like the code.
i.e.
if (Win32::OLE->LastError() != 0) {
print "1: ".Win32::OLE->LastError()."\n";
}
Steven
-Original Message-
From: Miguel Laborde [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2
No go unfortunately.. I get the following error:
Found component Win32::OLE=HASH(0x1f91e70)
Check1
retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156.
Check2
after modifying the code with:
print "Check1\n";
$COMComponent->SetInfo();
print "Check2\n";
>From the VB Code the c
Steve,
You need to create the "http_proxy" environment variable or do something
like this:
my $ua = LWP::UserAgent->new;
$ua->proxy(['http', 'ftp'], 'http://my.proxy_server.net:3128/');
Read this for more info:
http://search.cpan.org/~gaas/libwww-perl-5.79/lib/LWP/UserAgent.pm
HTH,
James.
ste
After a LetProperty, don't you have to do a SetInfo
?
That would make sense about why the application doesn't change anyway --
the change wasn't committed to the $COMComponent object.
Steven
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Miguel Labor
Hello all,
I'm having some trouble modifying the identity/password for a COM+ component
using Win32::OLE to do it. I've tried changing it using VBScript and it works fine,
however I want this to be done in perl as its part of a suite of other perl utilities
I'm working on. Here is the c
Mahajan Alok wrote:
>
> Thanks a lot for your valuable suggestions.But still the problem is there.
> If i use:
> #
> if (-d) {
> $File::Find::prune = 1;
> }
> ##
> IT is simply coming out of the sub routine after this stateme
Now this is an interesting one...
I am running my perl code on an IIS server under Windows XP Pro.
I want to read the ProxyServer setting from the system registry and have
used:
use LWP::UserAgent::ProxyAny;my $ua =
LWP::UserAgent::ProxyAny->new;$ua->set_proxy_by_name("Default");
Alok Mahajan wrote:
>
> This is my first mail to this group, though i'm just a beginner for PERL.
> My problem is that i want to search for a particular file by using FILE::Find
> from the C drive only for a list of client m/c which are running on
> Windows2000. But this program searches whole of
Hi All,
This is my first mail to this group, though i'm just a beginner for PERL.
My problem is that i want to search for a particular file by using FILE::Find from the
C drive only for a list of client m/c which are running on Windows2000. But this
program searches whole of the system and is co
22 matches
Mail list logo