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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Win32OLE problem
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password