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
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 (automatio
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").Va
thanks :)
I resorted to your solution:
for i in DataList:
OutputList.append(datetime.date(int(i.Format("%Y")),
int(i.Format("%m")),
int(i.Format("%d"
return OutputList
and it works. I am considering dates up to 50 years from now so 2038 is
definitely too early :-)
Francesco
On 5/
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 app
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 if
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 som