Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Notes::OLE: Doc-Dumper?

by Zero_Flop (Pilgrim)
on Jul 08, 2004 at 00:53 UTC ( [id://372636]=note: print w/replies, xml ) Need Help??


in reply to Re: Notes::OLE: Doc-Dumper?
in thread Notes::OLE: Doc-Dumper?

Type property ->returns constants like ATTACHMENT, DATETIMES, HTML, EMBEDDEDOBJECT, RICHTEXT, TEXT...

TypeName -> type of data each element in the array is, like NotesDateRange or DateTime. This can also be used for the other fields.

Zero_Flop

Replies are listed 'Best First'.
Re^3: Notes::OLE: Doc-Dumper?
by mhi (Friar) on Jul 08, 2004 at 08:14 UTC
    I only see the type property returning numeric constants such as 1024 for DateTime. Am I looking at it the wrong way? But that's not a problem as these codes are documented.

    How would you use the LotusScript function TypeName in the OLE-Interface?
    Using $dtelem->{TypeName} in the code above delivers an error Win32::OLE(0.1502) error 0x80020003: "Member not found" in METHOD/PROPERTYGET "TypeName" at ./dumpdocs.pl line 38 so it's obviously not implemented as a method on the array element... This is no fun poking around in the dark. :-(

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://372636]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-23 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found