Thanks for the report. Should be fixed now in source tree. As a workaround, you should be able to use the com_get, com_set and com_invoke functions.
Michael. On Fri, Jun 19, 2009 at 7:01 PM, Philip Nienhuis<pr.nienh...@hccnet.nl> wrote: > Hi, > > In the Octave-3.2.0_i686-pc-mingw32_gcc-4.3.0_setup.exe package, the > following doesn't work: > > ===================<screen copy:>=================================== > octave-3.2.0.exe:1> excelapp = actxserver ("Excel.Application") > excelapp = > > <COM object _Application (0x0x269e9c)> > > octave-3.2.0.exe:2> wb = excelapp.Workbooks.Add () > error: can't perform indexing operations for octave_com_object type > octave-3.2.0.exe:3> > ===================</screen copy>==================================== > > These commands work OK on the same PC in the (deprecated, yes I know) > octave-3.0.3VC package (that I still have installed). > > Trying out some more COM commands shows that starting the ActiveX server > goes OK, but AFAICS any subsequent COM command fails with: > > error: can't perform indexing operations for octave_com_object type > > > BTW I'm writing some basic xlsread/xlswrite-like .m files for Excel R/W > based on Michael Goffioul's example (I'll call them xls2oct.m & > oct2xls.m unless someone has better suggestions.) > I need to build in some more error checking before I can submit them. > > > My system (if this info is needed at all): > Intel DG43NB mobo, Intel Core Duo 2,5 Ghz, Windows XP SP3, 2GB RAM > > Thanks, > > Philip Nienhuis > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev