tra parameter, but that results in a 'type
mismatch' error, which probably doesn't surprise anyone. Can someone
help?
Thanks,
Greg Antal
--
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
[EMAIL PR
the problem if it isn't clear.
Thanks,
Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
[EMAIL PROTECTED]
858-480-2072 (Phone)
858-792-8932 (Fax)
Greg Antal wrote:
Gentlemen:
I need to work with
mport Dispatch
# The following 3 lines may need tweaking for
the particular server
# Candidates are pythoncom.Missing, .Empty and .ArgNotFound
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty
Thanks again for your help.
- Greg Antal
Gregory W
Hi everybody.
It's been nearly 2 weeks since I posted this, and nobody has
responded. If anybody has any ideas, I'd be glad to hear them. I'll
provide more info on anything anybody thinks is relevant.
Thanks,
Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineer
has 315 (three hundred and fifteen) such entries, and
there are hundreds more on dozens of other objects, so manual editing
to correct all of them is not feasible.
Question: can something be done to makepy to fix this, or this an
inherent and hopeless flaw in the TLB?
Thanks,
Greg Antal
Gregory W.
Mark:
The workaround you suggest may not scale, but it works and I can live
with it. I was on the verge of giving up on Python for this project
and converting to the API's native VB, but I won't have to do that
now. Thanks.
- Greg Antal
Gregory W. Antal
Senior Technical A
Solomon:
To do this in a Visual Basic module within Excel, you would use
intValue = Val(worksheet.Cells(row, col).Value)
I haven't tried to use Excel as a COM server, but I think if you can use
the "Val()" function, you'll get the data you want instead of a string.
- G
ed Excel this way, so I'm just going by standard
object-oriented practice. You'll have to work out those details
yourself.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
[EMAIL PROTECTED]
Try
del xxx
Even when you invoke whatever "stop" or "close" methods that object
offers, you sometimes still have to delete the object to make the
application shut down.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino
ot; method?)
Can anyone straighten me out? I'd be happy to buy someone's book, and
even read it, if you could point me to the right one.
Thanks,
Greg Antal
--
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 20
ans that the Server uses a data type that Pythoncom
doesn't support, in which case I think there's not much I can do about
it, but maybe someone can suggest something?
FYI, I'm using ActiveState python version 2.5.2 (r252:60911, Mar 27
2008, 17:57:18) [MSC v.1310 32 bit (Intel)]. Woul
Mark:
Thanks for the confirmation, and thanks for the fix.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
greg.an...@ata-e.com
858-480-2072 (Phone)
858-792-8932 (Fax)
Mark Hammond wrote, On
so, go to the next item
in the thread to see Mark Hammond's suggested workaround. That worked,
and would have been fine with me, but the TLB's authors actually fixed
the TLB as soon as I showed them the problem, so I didn't have to do
anything funny.
Good luck.
- Greg Antal
G
blems. Mike Graham
and I had ongoing trouble even after we got the calling sequence right,
for completely different reasons. If that happens to you, I'm afraid
you'll have to get advice from someone much wiser than I. (There are a
lot of them monitoring this list, fortunately.)
-
w how
to do it. If you want to access more memory, you have to go to a 64-bit
machine and operating system.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
greg.an...@ata-e.com
858-480-2072 (Phone
d work just like SMTMemtool, because
you don't need to "Get" them from another object:
sp = PyMemtool.SMTSerPort()
ti = PyMemtool.SMTTargInfo()
tf = PyMemtool.SMTTargIntf()
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
S
Markus Hubig wrote, On 4/10/2010 8:31 AM:
On Fri, Apr 9,
2010 at 11:05 PM, Greg Antal <greg.an...@ata-e.com>
wrote:
The beauty of using the early
binding file is that you don't have to
use all that Dispatch syntax because the file does that for you. I
don't know wha
I think the way to solve this problem is to run your type library
through makepy.py and keep the output. For example:
C:~\Lib\site-packages\win32com\client\makepy.py -o MyTlb.py
[my_path]\MyTlb.tlb
Then, in your code, wherever you need something from that type lib,
import the file as you would
n VB or C++. If you don't do it, you'll just never get it to
work.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
11995 El Camino Real, Suite 200
San Diego, CA 92130
www.ata-e.com
greg.an...@ata-e.com
858-480-2072 (Phone)
858-792-8
SomeServer" is already registered,
then you'll have to wait for one of the genuinely smart people on
this list to help, because we're at the limit of my understanding
here.
- Greg Antal
Gregory W. Antal
Senior Technical Advisor
ATA Engineering, Inc.
1
d; it is, after
all, just another Python file.
If there is another way to solve this problem, I don't know what it
is. One of the real experts who monitor this list will have to help
you with that.
- Greg Antal
--
Gregory W. Antal
21 matches
Mail list logo