Solved

Lightweight Controls

Posted on 1998-11-23
4
227 Views
Last Modified: 2013-12-26
Hi, what does "lightweight" mean? [Does it just mean "smaller in size"?] How do you make an ActiveX control "lightweight" ?
0
Comment
Question by:totoro030898
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
kamall earned 120 total points
ID: 1488461
Lightweight controls are those controls that does not contain many properties, methods or objects inside (such as forms or other controls). They also involve 'light' code, that is code segments that do not perform many operations such as API calls for a given method.
Lightweight controls are generally small in size but this is not a rule.
Hope that helps.
Regards
0
 

Author Comment

by:totoro030898
ID: 1488462
Thks! I hope you don't mind me asking another one : Would controls made using C generally more lightweight than those made usin VB? If so, why?
0
 
LVL 7

Expert Comment

by:kamall
ID: 1488463
I don't mind at all totoro.
But, to be honest, I can not offer a fair answer on that one because I don't know C. However, from my experience, I could see that controls made in C are generally 'lighter' than those made in VB, although you can not compare two controls that are completely different.
The first thing you can see when loading a control on your form is that a control made in C will load more quickly that those made in VB. In addition, controls made in C have dependencies on the native C and windows libraries, while those made in VB need the VB runtime library that have imports from the C and Win DLLs, i.e they have an additional layer of dependency.
Hope that helps.
Regards
0
 

Author Comment

by:totoro030898
ID: 1488464
Thanks! that really helps :)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question