Re: [python-win32] Casting to a specific interface

2006-03-09 Thread Amrit Jassal
MarkThat would be great. Thanks a lot.On 3/9/06, Mark Hammond <[EMAIL PROTECTED] > wrote: I'm afraid IMAPIStatus isn't exposed via pywin32 - depending on your patience, I could probably get it done within a week or so, maybe even in time for build 208 :)   Mark -Original Message-F

Re: [python-win32] Python-win32 Digest, Vol 36, Issue 11

2006-03-09 Thread James Carroll
> >>> APPDATA=C:\Documents and Settings\username\Application Data > >>> > >>> I'm tempted to get the APPDATA directory for the current user, and the > >>> username, and do a replace on the username directory, but If there's a > >>> more foolproof way of knowing what the APPDATA directory will be fo

Re: [python-win32] export registry keys

2006-03-09 Thread Tim Roberts
On Thu, 09 Mar 2006 17:56:08 +0100, le dahut <[EMAIL PROTECTED]> wrote: >What is the best way to export/import a part of windows registry into >original .reg files (according to the os type). Code must run on both 98 >and XP ? > If you can find a copy of the Windows 2000 Resource Kit (and it ma

Re: [python-win32] Casting to a specific interface

2006-03-09 Thread Mark Hammond
I'm afraid IMAPIStatus isn't exposed via pywin32 - depending on your patience, I could probably get it done within a week or so, maybe even in time for build 208 :)   Mark -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Amrit JassalSent: Friday

Re: [python-win32] IE toolbar button in Python

2006-03-09 Thread Mark Hammond
> in traceutil, and then IE is crashing. Ahh, yes, it all comes back to me now - that is the problem that means you must wait for build 208 :( I'll try and do that early next week (I'm away for the weekend!) Mark ___ Python-win32 mailing list Python

[python-win32] Casting to a specific interface

2006-03-09 Thread Amrit Jassal
I have a fairly basic question. I am trying to map a PyIUnknown interface to a specific (in this case IMAPIStatus) interface. How do I do that?Here is what I have:    import mapi, ...    tab = self.session.GetStatusTable(0)    rows = mapi.HrQueryAllRows(tab,

Re: [python-win32] Python-win32 Digest, Vol 36, Issue 11

2006-03-09 Thread Tim Roberts
James Carroll wrote: >>> I've got one more question for you if I haven't bugged you too much >>> today. I'm getting the list of usernames of active users, but the >>> next thing I need is that user's APPDATA directory. >>> >>> APPDATA=C:\Documents and Settings\username\Application Data >>> >>>

[python-win32] DispatchWithEvents and ADO

2006-03-09 Thread Brad Posthumus
--- Mark Hammond <[EMAIL PROTECTED]> wrote: > Oops - that last mail snuck away from me! > > Enabling "debug mode" for event handlers is tricky - > you probably > could open the makepy generated file and locate the > function in the events > class: > > def _query_interface_(self, iid): >

[python-win32] export registry keys

2006-03-09 Thread le dahut
Hello, What is the best way to export/import a part of windows registry into original .reg files (according to the os type). Code must run on both 98 and XP ? K. ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/lis

[python-win32] DispatchWithEvents and ADO

2006-03-09 Thread Brad Posthumus
--- Mark Hammond <[EMAIL PROTECTED]> wrote: > In that case, it may be that ADO is expecting your > events to always handle > certain methods - ie, when ADO itself tries to find > an event handler you > have not implemented, it will see the > DISP_E_MEMBER_NOT_FOUND error (raised > by Python, as th

Re: [python-win32] IE toolbar button in Python

2006-03-09 Thread Amit Upadhyay
On 3/9/06, Mark Hammond <[EMAIL PROTECTED]> wrote: (Note that I also added an 'import win32traceutil' for the above to betrue - you will need to add it too, or just grab the new copy)I'm also fairly sure it will not work until I release a new pywin32 - I'll do that soon!Hi Mark,I am gettingprovidin