Re: Win32.com

2007-11-13 Thread Colin J. Williams
goldtech wrote: > Given WinXP. I remove Pythonwin and it seems I lose win32.com. I > can't import win32.com Is win32.com bundled with Pythonwin? > Yes. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Win32.com

2007-11-13 Thread Matimus
On Nov 13, 9:37 am, goldtech <[EMAIL PROTECTED]> wrote: > Given WinXP. I remove Pythonwin and it seems I lose win32.com. I > can't import win32.com Is win32.com bundled with Pythonwin? They are part of the same package. I'm not sure that there are any dependencies. It isn't `win32.com' though, i

Re: win32 com problem

2006-12-05 Thread Mike P
No Problem, Thanks for your help so far, i've sent this problem off to SPSS as it seems it doesn't work on a work colleagues machine either Thanks for your time though Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 com problem

2006-12-05 Thread John Machin
Mike P wrote: > Thanks for the quick reply, > > the code i am running is the following > > import win32com.client > xl = win32com.client.Dispatch("Excel.Application") > ppt = win32com.client.Dispatch("PowerPoint.Application") > ppt.Visible = 1 #open MS Powerpoint > xl.Visible = 1 #open MS Excel >

Re: win32 com problem

2006-12-05 Thread Mike P
Thanks for the quick reply, the code i am running is the following import win32com.client xl = win32com.client.Dispatch("Excel.Application") ppt = win32com.client.Dispatch("PowerPoint.Application") ppt.Visible = 1 #open MS Powerpoint xl.Visible = 1 #open MS Excel xl.Workbooks.Open('%s/working_out

Re: win32 com problem

2006-12-05 Thread John Machin
Mike P wrote: > I've got a slight problem when running an excel macro from python using > the win32.com.client module, in that it says it can't load the DLL file Does it? All I see is a message that it can't find a macro. > (it doesn't say which one) What happens when you run the macro from the

Re: Win32 COM

2006-11-02 Thread Tom Plunket
Tom Plunket wrote: > I don't know anything about COM beyond the fact that I can look in the > OLE/COM browser to maybe figure out the API that an object has that I > need to operate on. I'm still not entirely sure what's going on, because there are some methods and properties that are available b

Re: win32 COM and data types / direction

2005-03-05 Thread Tim Roberts
Alexander Eisenhuth <[EMAIL PROTECTED]> wrote: > >Hello everybody, > >i wonder how the win32 COM extension handles different C-int types >(short, int, long). All of those types are passed on the stack as 32-bit dwords. No problem. >Another question for me is weather the >"out-direction" of par

Re: win32 COM and data types / direction

2005-03-04 Thread Thomas Heller
Alexander Eisenhuth <[EMAIL PROTECTED]> writes: > Hello everybody, > > i wonder how the win32 COM extension handles different C-int types > (short, int, long). Another question for me is weather the > "out-direction" of parameter is supported "out of the box" ? > > To clarify look at the methode "