|
-
Nov 5th, 2001, 12:17 PM
#1
Thread Starter
Addicted Member
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
-
Nov 5th, 2001, 12:32 PM
#2
Hyperactive Member
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)
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
|