On Mon, 8 May 2000 18:16:06 -0700, "Justin Rogers" <[EMAIL PROTECTED]>
wrote:
>This may or may not be for the web group,
> Probably not though. I just created an object that has the following:
> $Object
> Collections -> Files, Form
> $Object->Files
> Properties -> Count, TotalBytes
>
>So I want to be able to call:
>
> $Object->Files->{Count};
>
> To get the value of the Count property. But it doesn't seem to work.
> Any ideas? Here is some code:
>
> use Win32::OLE;
> my $mySmartUpload = Win32::OLE->new('AspSmartUpload.SmartUpload');
> $mySmartUpload->UpLoad;
> my $files = $mySmartUpload->Files->{Count};
>
> $files = 0 or probably undef.
I would guess that the Count then is 0.
Does this object work when accessed from some other language? How do the
files get into the collection?
I'm 99% certain that the problem is with the object itself and not the
Perl code. So the code to the object would be more helpful than the code
to the test program. But I guess the object is not implemented in Perl,
so this might be off topic for this mailing list.
-Jan
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]