[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Win32OLE problem

Todd Burch

7/20/2007 11:17:00 PM

Glen Holcomb wrote:
> When executing this code:
>
> adsi = WIN32OLE.connect("WinNT://TECHNO/ARDR_108,group")
> adsi.put("Add", "glen")
>
> I get the following error:
>
> WIN32OLERuntimeError: put
> OLE error code:8000500F in <Unknown>
> <No Description>
> HRESULT error code:0x80020009
> Exception occurred.
> from (irb):20:in 'method_missing'
> from (irb):20
> from :0
>

If I'm reading the error correctly, "put" is not being recognized as a
valid method. Does the object model say "put" is a valid method?

Todd

--
Posted via http://www.ruby-....