From: Jatinder Singh Date: 2006-08-01T23:42:53+09:00 Subject: Re: Using Win32OLE library for DAO ------=_Part_83703_28419878.1154443370059 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I could use Database class of DAO by writing following code, accessApp = WIN32OLE.*new*('Access.Application') *accessDB* = accessApp.CurrentDb() accessDB is an instance of DAO.Database class. But is there a way I could use DAO directly? Regards, Jatinder On 8/1/06, Jatinder Singh wrote: > I am trying to do something like following to connect to a MS Access db > from > ruby > db = WIN32OLE.*new*("DAO.Database") > > but it gives me an error "accessQuery.rb:17:in `initialize': unknown OLE > server: `DAO.Database' (WIN32OLER > untimeError)" > How can I use DAO object library from ruby? > > > Thanks in advance, > Jatinder > > ------=_Part_83703_28419878.1154443370059--