|
-
Jun 18th, 2004, 09:57 AM
#1
Thread Starter
Lively Member
How to make COM component(DLL) developed in VB Python-accessible?
Hii To All,
I have COM component (ActiveX DLL) develpoed in VB. What i need is to make that component accessible to Python. So end -user of my application can write script in python and access my applications's current state, and chage properties of ceratin classes or read properties of some classes.
My application use that COM component only.
I know that, Python code must be enabled to "call back" into my application, in order to get information and/or effect changes to the application's state. But how i do not know.
Anybody have any idea or have done same kind stuff or any reference for this? Please provide your feedback. Everything is welcome. I have to finish this in one week. So, please help me out.
Thanks.
DevHims
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Jun 19th, 2004, 02:16 PM
#2
Hyperactive Member
Is python able to interact with COM components? I don't think it is, but of course I might be wrong.
Sorry, I highly doubt many people pn these boards have used python.
-
Jun 21st, 2004, 02:41 AM
#3
Junior Member
Is pyton compatable with strandred COM or any MS COM control
I just had a small question are you able to use any stranded COM application with python. In case you can do it then, I think there could be a possible solution for you.
As the definition of COM says it can be used across many platforms and languages but there are few gray areas in it. In case you can confirm it. I will be able to help you a little more.
Give me a place to stand and I will move the Earth 
-
Jun 21st, 2004, 08:48 AM
#4
Thread Starter
Lively Member
Hey Veins,
Yes, you can access any COM application from python. I am also not very deep in that. But i have used COM developed in VB in python.
Let me give clear idea of my problem.
I want to provide facility to End-user of my application to develope his own script in python and use it with my application and so user can able to access classes of my application and perform some dynamic calculation or chage state of application at run time.
To do that script written in python has to "CALL-BACK" in my application whenevr it is necessary to access application classes and it's properties. So, user can able to make changes in classes properties and at rum time my application run that script and make changes accordingly.
I never done this kind of stuff. In this case i have to provide facility in my application through whihc user can bale to interact with it through python.
Now, if you get it, can u please send me some example or reference? Or anybody who knows this kind stuff.
Thanks very much.
HDave
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Jul 21st, 2004, 07:55 AM
#5
Did you say you already have a COM component created in VB? Are you saying Pythin can't use it for some reason?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|