Results 1 to 4 of 4

Thread: Active X EXE

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Birmingham
    Posts
    3

    Active X EXE

    Hi

    I am trying to spilt a very large EXE up so that i can reuse the components in different programs. I was looking at using ActiveX EXE to store forms, modules, and classes etc. The problem lies in that the main exe has a MDI form with lots of child form and i want to put some of these child forms in to the Active X EXE but I have not succesfull loaded any of the with in the Main EXE this way because it wants a parent form first of all. Does anyone know a way around this problem or other solutions .

    Cheers

  2. #2
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    Well, you can use the SetParent API to set a window's parent - in this case it would be the MDI form... BUT it's extremely dodgy when using MDI. More often than not, it will kill your app.
    I can't think of any other way.. sorry.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Birmingham
    Posts
    3
    Thanks for the suggestion I have had a look at doing what you said but can't seem to get it to work yet. Have you ever had this working at all.

    Thanks again

  4. #4
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    Using Midi in an ActiveX Exe is not wise.. you will only end up with more headaches...
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


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