[python-win32] DCOM

2007-05-25 Thread Francesco Guerrieri
Hello :-) I've got another newbie question. I'm trying to use DCOM. If I'm right, I have to register my application on both the client and the server, then set up the correct access/launch rights. It's easier said than done, though: in fact I continue getting runtime errors, namely 430

Re: [python-win32] DCOM

2007-05-25 Thread Francesco Guerrieri
hi Mark, actually I have used dcomcnfg to set the various accesses. Now I'm at loss, since I have looked at all the various tabs and settings available, and it seems that all refer to enabling DCOM (which I did) and granting access (which I think I did). But I will continue trying... I've googled

[python-win32] PyTime

2007-05-08 Thread Francesco Guerrieri
hello, I have another newbie question. I have googled around but didn't find an answer. I have an Excel file with many dates beyond 2038, which arrive to me as a list of PyTime objects. From the doc I have found ( http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/PyTime.html ) it

Re: [python-win32] PyTime

2007-05-08 Thread Francesco Guerrieri
On 5/8/07, Mark Hammond [EMAIL PROTECTED] wrote: Your solution seems to be to simply construct a datetime object from the pywintypes time object by way of attributes - eg: from win32com.client import Dispatch import datetime xl=Dispatch(Excel.Application) d=xl.Range(A1).Value

Re: [python-win32] Python COM and Photoshop

2007-05-01 Thread Francesco Guerrieri
I am a complete beginner myself with python and win so surely there are better ways of doing this. In any case, here's my try. You could try to go in the reverse manner: instead of trying to guess the right way from python to VB, define an Array object in VB and pass it to python, dispatch it

[python-win32] updating a registered com server

2007-04-26 Thread Francesco Guerrieri
Hello, this is my first post to the ml. I am rather new to python under windows, so probably mine is an easy question, but I've searched for a solution and found none. I am writing a (set of) simple COM servers, which basically take the input from excel worksheets, do some computation, invoke