in reply to Re^6: problem with script transfered from VBS
in thread problem with script transfered from VBS
You gave value() one parameter - $psProxyName - the library was clearly expecting either more or less than that...if more, of what form they take I have no idea.
It could, of course, be that the OLE model is similar to the Excel OLE model, in which case, value() is an accessor method, taking no args, to return the current value...and if that's so, then you could possibly (last throw of the dice time) try replacing $rs->Fields('AEName')->value($psProxyName); with $rs->Fields('AEName')->{value} = $psProxyName; - note the change of value() to {value} i.e. from method invocation to hash member.
Other than that, I think you need to look at the COM model for your application for further information...Node Using Win32::OLE and Excel - Tips and Tricks gives an excellent overview of the use of Win32::OLE with Excel - from whence I 'borrowed' the above last ditch attempt to help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: problem with script transfered from VBS
by xiaoyafeng (Deacon) on Aug 08, 2008 at 03:52 UTC |