|
-
Mar 20th, 2002, 11:58 PM
#1
Thread Starter
Lively Member
Memory: Module Subs vs. ActiveX Subs
I've created my first activeX usercontrol, a souped up textbox. Should I put all the subroutines (gotFocus, KeyDown, etc.) in the control's code or should I put all the subroutines into a public module.
i.e. By putting the subroutines in the control's code, does VB replicate the code for each instance of the control used in the project? And thereby, chew up memory?
Am I better off placing the routines in a module that all controls will have access to?
Thanks for any insights,
Jeff
-
Mar 21st, 2002, 12:07 AM
#2
I think its the same either way.
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
|