Re: [python-win32] Setting string properties

2006-09-22 Thread Mark Hammond
The only thing I can notice is: > AttributeError: ' Objects).IPanScriptTFOSlice instance at 0x11496344>' object has no > attribute 'Value' ... > class IPanScriptTFOSlice2(DispatchBaseClass): > """PanScript TFO Slice.""" > CLSID = IID('{6BA870D0-055A-11D4-ABE3-00C04F9D382F}') ... Note that

[python-win32] Setting string properties

2006-09-22 Thread Ben . Young
Hi there, Am I being stupid somewhere here? I have a class defined (code below) which has a property which is get and put. Here is a sample session of using it: >>> slice.Value u'18.00' >>> slice.Value = "19.0" Traceback (most recent call last): File "", line 1, in ? File "c:\Python24\l