Hi, Mark All the sample VBScript codes I have are embeded in html. I donnot know if this is different from VBScript code that runs under the Windows Scripting Host, I'm not familiar with VBScript, :-(
On 11/14/06, Mark Hammond <[EMAIL PROTECTED]> wrote: > > I googled the web and find some old posts in this maillist, it seems > > that only interfaces inherit from IDispatch can be used by pythonCOM, > > and interfaces here inherits from IUnknown. But I just need to use > > these interfaces, so could anybody tell me how to do it? > > I'm afraid that what you googled is still correct - only interfaces > implemented using IDispatch can be called by pywin32. > > > And this control and its interfaces are all available to VBScript or > > Visual Bacis: > > > > Set ISomeInterface_ = SomeObj.interface("ISomeInterface") > > ... > > <OBJECT ID="SomeObj" > > CLASSID="CLSID:7A4F5191-68A8-14D5-82C1-0001083952C1" ></OBJECT> > > > > Since VBScript and python are both script languages, I guess python > > can also access these interfaces. > > VB can use all interfaces, but I believe VBScript can not. Can you show me > some VBScript code that runs under the Windows Scripting Host (WSH - ie, > wscript.exe/cscript.exe) that does what you need? > > Cheers, > > Mark > > Bruce _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32