[python-win32] VARIANT as byref parameter

2008-09-16 Thread martin . prochnow
Hi, I'm trying to call a COM-function which first parameter is a reference to a VARIANT. The COM object that contains this function supports early-bound automation over MakePy. The corresponding C-code is: LONG lValue; lValue = plQueryNote-GetVarSize(); LPBYTE buff = new BYTE[lValue];

Re: [python-win32] getting TerminalServicesProfilePath

2008-09-16 Thread Michael Kesper
Hi, * Etienne Pouliot [EMAIL PROTECTED] [2008-09-09 11:13:27 -0400]:   Hi, I'm trying to get TerminalServicesProfilePath property on user account in my Active Directory. ... If I use another properties instead, like DisplayName, it works. Any idea what I am doing wrong ? I always

[python-win32] Adding an exe to startup...

2008-09-16 Thread John Bunting
Hey everyone, I've been having some trouble finding information on how to add an exe that I have created to the startup of my windows box. I would like to know how I should go about adding the exe to the startup menu, without using the gui interface. I want to be able to automate this because

Re: [python-win32] Adding an exe to startup...

2008-09-16 Thread Kevin Horn
There are a number of ways to do this: 1) add a shortcut to the Startup start menu folder 2) add registry entries to various places like * [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] *see here for some other locations: http://www.doshelp.com/HowToView/Registry_Keys.htm

Re: [python-win32] VARIANT as byref parameter

2008-09-16 Thread Tim Roberts
[EMAIL PROTECTED] wrote: I'm trying to call a COM-function which first parameter is a reference to a VARIANT. The COM object that contains this function supports early-bound automation over MakePy. The corresponding C-code is: LONG lValue; lValue = plQueryNote-GetVarSize(); LPBYTE buff

[python-win32] Fwd: Modifying the system menu

2008-09-16 Thread James Matthews
-- Forwarded message -- From: [EMAIL PROTECTED] Date: Tue, Sep 16, 2008 at 8:31 PM Subject: Modifying the system menu To: [EMAIL PROTECTED] Hi all, I am trying to modify the system menu of all the applications in my machine. For example say - I am creating multiple desktops