From: Reggie Mr Date: 2006-06-19T15:01:03+09:00 Subject: Re: Early Binding in COM Xavier Noria wrote: > Reading the instructions of IEC.py[*] (which perhaps I'd port to > Ruby) I see they suggest to run something to be able to use early > binding. Is there something analogous for Ruby? I browser the docs of > WIN32OLE that offer some methods, but the usage in IEC.py is > transparent to this. > > -- fxn > > [*] http://www.mayukhbose.com/python/IEC/index.php > > Tuning Performance > > An issue with using COM objects in Python, is the matter of Late > Binding vs. Early Binding. Ruby is a late binding environment. You get the same possibilities rather it's early or late binding. require "win32ole" ie = WIN32OLE.new("InternetExplorer.Application") ie.visible = true ie.Navigate("http://www.google.com") The Ruby WIN32OLE is very, very good. You should give it a try. I know that early binding is faster(performance wise) than late binding, but for now, that's all Ruby offers. But it gets the job done. -- Posted via http://www.ruby-forum.com/.