469,336 Members | 5,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

vb dll

Hello at all.
I have to use a vb dll called ndxComm.dll

I have do this but i get the following error:

from win32com import client
from win32com.client import Dispatch

avatar = Dispatch("NdxComm")
avatar.Reset(1, 20, True)

pywintypes.com_error:(-2147221005, "stringa dell'interfaccia non
valida.", None, None)
frame4.py:avatar = Dispatch(NdxComm")
_init_.py:dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userN ame,clsctx)
dynamic.py : return(_GetGoodDispatch(IDispatch, clsctx), userName)
dynamic.py: IDspatch = pythoncom.CoCreateInstance(IDspatch, None,
clsctx,pythoncom.IID_IDispatch)

Can you help me to make it in the right way.

Thanks for your help

Regars

Mar 6 '06 #1
2 1191
I have solve

Thanks

Mar 6 '06 #2
How?

Mar 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.