Re: [python-win32] Add-in question: Pulling a list of Excel Add-ins

2020-08-24 Thread Harald Armin Massa[legacy]
Hi Brandon, useful search term to put into search engine is "excel object model list of addins" You can use this microsoft documentation https://docs.microsoft.com/en-us/office/vba/api/excel.addins and translate from VBA within Excel to Python and COM communication pywin32 is just an

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
John, you should read under http://www.py2exe.org/index.cgi/SingleFileExecutable 1 http://www.py2exe.org/index.cgi/SingleFileExecutable#CA-7615755cbd8c1a2a3a7d2b593a265f3ed4c42c76_1 from distutils.core import setup 2

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
for redistribution). best wishes, Harald 2015-01-06 18:22 GMT+01:00 Harald Armin Massa[legacy] haraldarminma...@gmail.com: John, you should read under http://www.py2exe.org/index.cgi/SingleFileExecutable 1 http://www.py2exe.org/index.cgi/SingleFileExecutable#CA

Re: [python-win32] Dropping support for Python 2.3?

2013-03-26 Thread Harald Armin Massa[legacy]
Is it really worthwhile to keep maintaining support for Python 2.3, which was released in 2005 and has not been updated since 2008? my vote: keep the running versions, aka builds up to now downloadable. Drop the support for more modern builds of PythonWin32. Whoever is forced to work with

Re: [python-win32] check if comserver is registered, no - install it?

2012-12-19 Thread Harald Armin Massa[legacy]
Hallo Steffen, Hi i tried to do exactly this. But on executing the line dll = ctypes.OleDLL('myComServer.dll') i get following error: Traceback (most recent call last): File C:\Temp\com_tests.py, line 21, in module x = ctypes.OleDLL(os.path.realpath(local_dll)) File

Re: [python-win32] How to invoke Python program from Windows service?

2012-06-22 Thread Harald Armin Massa[legacy]
Matt, Yeah, that was exactly my problem; I had no way to diagnose what was going on, and needed a springboard to tell me what I needed to know in order to figure out what was happening (or not).  I could verify that the script *worked*, since I could run it from a DOS prompt without

Re: [python-win32] Windows service using py2exe

2012-05-15 Thread Harald Armin Massa[legacy]
win32serviceutil.pyc, line 447, in DebugService  File test.pyc, line 28, in __init__ WindowsError: [Error 267] The directory name is invalid: 'C:\\Service\\test.exe' On 14 May 2012 17:56, Harald Armin Massa[legacy] haraldarminma...@gmail.com wrote: Antony, C:\Documents and Settings\admin

Re: [python-win32] Windows service using py2exe

2012-05-14 Thread Harald Armin Massa[legacy]
Antony, C:\Documents and Settings\admin\Desktoptest.exe debug Debugging service Test - press Ctrl+C to stop. Traceback (most recent call last):  File boot_service.py, line 185, in module  File win32serviceutil.pyc, line 611, in HandleCommandLine  File win32serviceutil.pyc, line 447, in

Re: [python-win32] Anti-reverse Python-based binaries?

2012-02-10 Thread Harald Armin Massa[legacy]
...decompiling protection.. the correct answer is of course put the code on a server BUT there is code that cannot reside on a server. Especially client code in a client-server-environment. Example: the dropbox client. OnlineGameClients. As much as I learned Dropbox took a quite effective