Results 1 to 5 of 5

Thread: How to make COM component(DLL) developed in VB Python-accessible?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Location
    Baton Rouge, Louisiana.
    Posts
    109

    Question 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.......~~~

  2. #2
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    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.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Posts
    29

    Question 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

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Location
    Baton Rouge, Louisiana.
    Posts
    109

    Question

    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.......~~~

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    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
  •  



Click Here to Expand Forum to Full Width