Results 1 to 2 of 2

Thread: Components

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    Components

    Is there a way to load the components at run-time! I have 2 OCX's and I only want to use 1 of them according to the Operating System they are using. Thanks in Advance! GENE

  2. #2
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    The Netherlands
    Posts
    403
    VB is not meant for such low-level purposes I would recommend C/C++ for these things. It isn't impossible in VB either, but a bit difficult. You'll have to understand what subclassing is and beeing able to work with it.

    Use these functions. CreateWindow(Ex) and DefWindowProc. If you want to create your own class use RegisterClass(Ex).

    You can look them up in <a href="http://msdn.microsoft.com">MSDN</a>, but if you don't understand, I'll try to explain some more (but not everything 'cause the big joy of programming is succeeding in finding an answer)
    There are 10 types of people, those who understand binary and those who don't

    http://merlijn.beyonix.net

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