Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Lightweight Controls

Posted on 1998-11-23
4
Medium Priority
?
233 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 480 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

885 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