follow from that premise? Installing software
should never requires a reboot.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Bill Tutt wrote:
Installing .net 2.0 would. It would require doing the requisite
security updates for .net 2.0 for Win2k, etc
Why do you need .NET 2.0 to install a Python app?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
usually not that hard. There are LOTS of examples of controlling
Word and Excel from Python, and the concepts are very similar.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
comment. Later,
you can recreate the history of that file by looking at the comments, or
find out exactly when a particular line was modified. EVERY programmer
should be using source code control, even on one-person projects.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
button on your web
page? That is equally as secure as HTTP Auth, and you are in full
control of the process.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman
CoCreateInstance eventually does.
If you're talking about a normal (non-COM) DLL, then registration is not
used. You can certainly use a full path in ctypes:
import ctypes
c = ctypes.cdll.LoadLibrary( '\\dev\\MyDll.dll')
If that's not what you mean, perhaps you should be more explicit.
--
Tim
that up so the caller doesn't know it's Python.
Now, you can certainly create COM servers in Python that can be invoked
from other non-Python programs. There are many, many examples of that.
Also, I believe IronPython will let you do this. That's the .NET
implementation of Python.
--
Tim Roberts, t
it.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
SP3 system. You WILL get invalid parameter if the file name
you passed was a file instead of a directory. Is it possible that
c:\test is a file on your disk, instead of a directory?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
, as in:
print Name =, x.Name
print Description =, x.Description
print Caption =, x.Caption
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman
will have to pass the field ordering from the query
along to the renderer somehow.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
pacopyc pacopyc wrote:
Yes, I'm thinking about net send of Windows
As Google would have told you, net send uses the API
NetMessageBufferSend, which is in the win32net module in PyWin32. There
are samples on the Internet, although you might have to translate the
C++ to Python.
--
Tim Roberts
to be what the
documentation shows. You'd sure your values were all floats?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
operation that the net send command performs?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
method to run an
SQL query. Then you use methods like fetchone and fetchall to
retrieve the records one by one.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
, is it possible to change the priority of a running
process, or can the priority of a Windows process only be set when the
process is launched?
Changing the priority is exactly the way to do this.
http://code.activestate.com/recipes/496767/
--
Tim Roberts, t...@probo.com
Providenza
is an
example for Office 2010 volume licenses:
http://blogs.technet.com/b/office2010/archive/2009/12/18/volume-activation-tips-and-tricks.aspx
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32
contents fails to load images from the document.
Is there a method that will allow reading word content with the
original formatting as well as images.
Do it exactly like you would do it by hand: go through the clipboard,
using Copy and Paste methods.
--
Tim Roberts, t...@probo.com
Providenza
handle. That gives you
the root application object, and you can ask that for the current
document, assuming the document has been saved.
For IE, you can actually go probing through the window handles to find
the text box that contains the current URL.
--
Tim Roberts, t...@probo.com
Providenza
, pProc, 0, 0x8000 )
CloseHandle( hProc )
TrayIcons()
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Anders Schneiderman wrote:
When I tried it:
folders = outlook.GetRootFolder()
I got the following error message:
AttributeError: object has no attribute 'GetRootFolder
Hmmm. Are you able to refer to outlook.Folders(0)?
http://support.microsoft.com/kb/208520/EN-US
--
Tim Roberts, t
there were any
versions of Python that were built with Visual Studio 2008. VS2010
wisely eliminates the side-by-side stuff for the CRT DLLs, so the
problem goes away.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
and other
things in default folders, such as tasks:by using GetDefaultFolder.
I think you want outlook.GetRootFolder(), then enumerate the Folders
collection within that.
http://msdn.microsoft.com/en-us/library/ff860733.aspx
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
. Something has grabbed the
excel file.
Can you post the whole script as you have it now? How many times to you
have to run it before it fails?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32
file and set Visible to 0, it can be
very difficult to remember that your file is still open. You should use
xlApp.Quit() in every exit path.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32
.
Definitely a non-trivial chore to translate this.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
the datetime module. You'd need a way to
remember when you start a new month, so you don't overwrite old data,
but perhaps you should base the name of the XLS file on the current month.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python
to make
a C++ application to do this, and call it from your Python code.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
in doc.FormFields:
if f.Type == win32com.client.constants.wdFieldFormTextInput:
pass # This is an input field
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
of the fields in the document. You will probably need to run
through the fields in the Fields collection, figure out which ones are
fill-in fields (as opposed to page number fields, or date fields, or one
of the other thousand field types), and change the value.
--
Tim Roberts, t...@probo.com
a pretty good job
of providing a COM interface for every feature in the application.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
universal. When I create PDF, it looks the same
everywhere. There are several good PDF libraries for Python.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
, to be completely general, you need to use smtplib to send to an
external mail server.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python
:\python32\python.exe %*
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
out how to translate that VB code into Office calls. There
is good documentation on the Word object model, although naturally it's
all oriented toward VB and C# programming.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32
, but it works for generating
reports and things.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
. That key-code sequencing is
a remnant of the BIOS in PCs, and this getch behavior is leftover from
MS-DOS. Linux requires an entirely different approach.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python
, win32com.constants.olByValue )
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
:
mail.AddBusinessCard = 'Signature1'
AddBusinessCard is a method, not a property. It has to be called like a
function. However, it doesn't accept a simple string; it takes a
ContactItem object, which you would have to get from the list of Outlook
contacts.
--
Tim Roberts, t...@probo.com
Providenza
these constants for you.
In any case, 15 seconds with Google would have showed you that
wdFormatText = 2 and wdFormatTextLineBreaks = 3.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
\\Drugreservoir.doc')
3. Use forward slashes:
apps.Documents.Open('D:/projects/Myself/HelloPython/src/Drugreservoir.doc')
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
= open(r'D:/projects/Myself/HelloPython/src/Drugreservoir1.txt')
for word in doc.read().split():
print word
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
, that you don't need to convert it to an 8-bit character
set until you want to print it. If you are going to process these
words, then you might as well leave them in Unicode.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32
, but I'm after a solution that doesn't
depend on any third-party libraries.
Nothing other than brute force.
bout = []
for i in range(0,len(bin),4):
bout.extend( [bin[i+2], bin[i+1], bin[i], bin[i+3]) )
It ain't gonna be quick. If it were me, I'd rather ship PIL.
--
Tim Roberts, t
accepts.
http://msdn.microsoft.com/en-us/library/ms687025.aspx
Are you trying to do asynchronous socket I/O? You should probably be
using the built-in Python mechanism for that, in the asyncore module.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
be laid
out on disk exactly as they would if you were running the script. The
includes list, as you see, runs an import statement on the modules
you name.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python
ff:
class TimeServer(ExcelRTDServer):
..
def __init__(self):
..
self.ticker = threading.Timer(self.INTERVAL, self.Update)
Does that actually create a new thread? If so, every new thread has to
call CoInitialize before it does any COM actions.
--
Tim Roberts, t...@probo.com
Providenza
, and mapDataFn.py, all in the same
directory, that should work just fine, without any includes overrides
at all. What error do you see?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
to mapDataFn.pyc
byte-compiling c:\apps\python26\lib\StringIO.py to StringIO.pyc
... lots of output deleted ...
C:\Dev\xxxcd dist
C:\Dev\xxx\distmain.exe
123
C:\Dev\xxx\dist
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32
area of your email was
dedicated to your message. The rest was advertising and a legally
pointless disclaimer. I'm sure you don't have any control over that,
but I hope you remind your management team once in a while that many
people really dislike that kind of email.
--
Tim Roberts, t
to gain access to
any arbitrary I/O port. There's a reason why port access is not allowed
from user mode.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman
, -2147221248), None)
-2147221248 is 0x80040100, which is either DRAGDROP_E_NOTREGISTERED
(unlikely) OLECMDERR_E_NOTSUPPORTED.
I know they've tightened up security quite a bit, but it's hard to see
how that applies here. Is this a funky web page, or just a simple
HTML doc?
--
Tim Roberts, t
, you don't really need KEY_ALL_ACCESS. All you need is
KEY_SET_VALUE. I don't think that will be allowed either, but it's
better to ask for only the permissions you need.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32
to access your net
shares, and it doesn't know about drive letters mapped by your
username. It's not logged in to your network.
You really have two choices. You can configure the service to log in
with your user name (in the Services control panel), or you can copy
these modules locally.
--
Tim
is a binary code, so
in
fact, I am not sure it is the same problem as Eileen's.
-2147221164 is 0x80040154 which is REGDB_E_CLASSNOTREG. So, soething
has gone wrong in registering your proxy class. Did you actually
register it?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
registering it using a 64-bit app. In the
case of regsvr32, the system contains both versions (32-bit and 64-bit),
and each will silently call the other if it finds a mismatch.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32
Jiawei Li wrote:
iTunes is installed.
iTunes is a 64-bit application. Unless they also registered a 32-bit
proxy, a 64-bit COM object cannot be used in a 32-bit process.
If you need this, it may be time to consider loading a 64-bit Python.
--
Tim Roberts, t...@probo.com
Providenza
Jiawei Li wrote:
Ah, I see.
So likewise, I just need to run a 64-bit version of py2exe?
Since I have not personally tried running iTunes on a 64-bit system, I
can't give you 100% confidence, but based on the error message, I am
guessing that will solve your problem, yes.
--
Tim Roberts, t
package, but I don't know if it is still
being developed.
http://www.cs.unc.edu/Research/assist/developer.shtml
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
):
#ifdef MS_WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif
while kdewin/include/msvc/sys/types.h says:
typedef SSIZE_T ssize_t;
I agree with your conclusion. However, this isn't a Python-Win32
issue. You need to file a bug report against Python itself.
--
Tim Roberts, t
newMail.HTMLBody = htmlbodyCIAO!/body/html
All I did was go to the MSDN page on the CreateItem method of the
Outlook.Application object.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
about the PyWin32
package, which adds virtually complete access to the Win32 API. Are
there APIs you need that weren't present?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
find VS2003.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Tony Wallace wrote:
I have no reason to build from source. Where do I get this
precompiled installation?
http://sourceforge.net/projects/pywin32/files/pywin32/Build216/
If I read your messages right, you are running Python 2.5, so you want
pywin32-216.win32-py2.5.exe.
--
Tim Roberts, t
-check.googlecode.com/svn-history/r10/trunk/windows-privesc-check.py
Check get_extra_privs about half-way through. You can simplify it a
little bit, since you are looking for exactly one privilege.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
fonts.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
other -- sometimes the dict
is slightly faster, sometimes the list is slightly faster. Thus, for
all practical purposes, they are identical. I'm surprised. That means
you should use the one that makes sense to you.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
having the files in
\Windows\System32 is enough for everyone.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
a recipe to make it work again. If I had
not previously been a GDI driver developer, I doubt that I could have
figured out the DEVMODE magic that was required.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python
painful.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
is simply being wasted.
I still do most of my programming in C++ because I like having control,
but there is nothing wrong with .NET.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
models.
Do you have an example that shows Dynamics being used from a non-managed
COM application?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo
even be able to do this
from Python. If you set fAsynchronous to false, it blocks until
something in the key changes, then returns to you.
If you are hoping to monitor the entire registry, that requires the
assistance of a kernel driver.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide
the tortoise stuff either.
git just seemed to be too much of a lifestyle commitment. You're
really working with a lot of details that seemed unnecessary to me.
I haven't had any line-ending hassles yet. That has certainly been an
issue with CVS over the years.
--
Tim Roberts, t...@probo.com
framework. What are you doing when it crashes?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
dbapi
specification. The Win32 odbc module uses ? characters instead of %s.
A simple search-and-replace should solve your problem.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
Tim Roberts wrote:
Brad Buran wrote:
When I generate the interface file for a COM object using makepy, it
generates an incorrect signature for one of the methods:
def ReadTag(self, Name=defaultNamedNotOptArg,
pBuf=defaultNamedNotOptArg, nOS=defaultNamedNotOptArg,
nWords
without the runtime, I think you're in trouble.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
be there:
import pythoncom
ses = Dispatch('Lotus.NotesSession',
clsctx=pythoncom.CLSCTX_LOCAL_SERVER)
If that doesn't work, you'll have to create your own 32-bit process to
communicate with Lotus, with some kind of cross-process scheme to pass
requests between you and the other process.
--
Tim
searching for the window by it's title,
I'm voting for a named event.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Naveen Garg wrote:
Is it possible to use win32com without setting up registry keys ?
A COM server can only be accessed through the registry. So, if you are
writing a COM server, then you must create registry keys.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
get you the socket
handle for the first parameter.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
to map the C++ calls into Python. After you read up on those
objects, that's where we on this list can be of use. Show us what
you've tried, tell us what doesn't work, and we can offer suggestions.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
original post,
but decided it muddied the waters too much. I was more or less trying
to give the original poster something to start thinking about.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32
there. I believe a COM
object will always return True in Python.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
it is. The type code 16387 is VT_I4 + VT_BYREF, which means a
4-byte integer passed by reference.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python
application when no one is logged in, without delving deep into
Windows magic. You will need to modify (or patch) the application.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http
Dahlstrom, Roger wrote:
Sure there is, autologon!
Ah, but if one uses autologon, then it is no longer the case that no
one is logged in, so I think my comment is still valid...
;)
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
window as a blank
canvas, and use their own internal scheme to display the text. You
can't use a window message to read the visible part of a Word document.
To control Word, you'd have to use COM. That opens up an entirely new
can of worms.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide
painful and creative use of CreateProcessAsUser,
to create a process as the user that is running on the primary visible
desktop. Here's more information, although I don't really think it
solves your problem:
http://msdn.microsoft.com/en-us/library/ms683502.aspx
--
Tim Roberts, t...@probo.com
the file really lives. If it really lives in system32,
you'll need to move it.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
you
have a 32-bit executable. If your root executable is 64-bit, then you
will need to install a 64-bit Python. Unlike the 16/32 days, there is
no thunking. A 64-bit app cannot load a 32-bit DLL, nor vice versa.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
option. It is not well known that the newer versions of
depends have a trace mode. You can launch an executable from inside
depends, and it will trace all of the DLL loads and unloads. That
might tell you something.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
to access the structure.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
. If you are searching for
subwindows, you can call the FindWindow API, which accepts titles.
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python
like this. Instead of declaring it a pointer, they'll
declare it as an integer. Makepy isn't omniscient.
Do you have the IDL that describes the function, or a web page
reference? Can you show us the script that makepy generated?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc
appreciated. (Or is this possibly a bug?)
A Google search for IPIAsynchStatus2 brings up nothing but your
messages. Are you sure that's spelled correctly?
--
Tim Roberts, t...@probo.com
Providenza Boekelheide, Inc.
___
python-win32 mailing list
python
Åsmund Hjulstad wrote:
2010/11/9 Tim Roberts t...@probo.com:
Åsmund Hjulstad wrote:
...
My latest attempt is
pisdkcommonlib = ('{76A44786-EBC8-11D3-BDC5-00C04F779EB2}', 0, 1, 0)
win32com.client.makepy.GenerateChildFromTypeLibSpec(IPIAsynchStatus2,
pisdkcommonlib, 1)
That's not the correct
:
CustPropMgr.Get2(CustProperty, ValOut, ResValOut)
File COMObject unknown, line 2, in Get2
pywintypes.com_error: (-2147352571, 'Type mismatch.', None, 2)
Those are output parameters. You probably want this:
(ValOut, ResValOut) = CustPropMgr.Get2(CustProperty)
--
Tim Roberts, t...@probo.com
401 - 500 of 1146 matches
Mail list logo