Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Win32:OLE errors when running same code on Windows XP

by bulk88 (Priest)
on Aug 11, 2012 at 03:52 UTC ( #986852=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Win32:OLE errors when running same code on Windows XP
in thread Win32:OLE errors when running same code on Windows XP

Some tiny settings difference in Eclipse I bet. Maybe a "+" is open on 1 machine and not the other.

* - Package Win32::OLE::Tie Implements properties as tied hash
From Win32::OLE.
Object methods and properties The object returned by the new() method can be used to invoke methods +or retrieve properties in the same fashion as described in the docume +ntation for the particular OLE class (eg. Microsoft Excel documentati +on describes the object hierarchy along with the properties and metho +ds exposed for OLE access). Optional parameters on method calls can be omitted by using undef as a + placeholder. A better way is to use named arguments, as the order of + optional parameters may change in later versions of the OLE server a +pplication. Named parameters can be specified in a reference to a has +h as the last parameter to a method call. Properties can be retrieved or set using hash syntax, while methods ca +n be invoked with the usual perl method call syntax. The keys and eac +h functions can be used to enumerate an object's properties. Beware t +hat a property is not always writable or even readable (sometimes rai +sing exceptions when read while being undefined). If a method or property returns an embedded OLE object, method and pro +perty access can be chained as shown in the examples below.
Your answer is in the quote above. More specifically, a little bit of googling leads to this http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel._application.activechart. I dont know what "Nothing" translates to in Win32::OLE.


Comment on Re^3: Win32:OLE errors when running same code on Windows XP
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2015-07-31 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls