THIRD-PARTY CONTROLS

Visual Basic comes with a large number of useful controls all ready to go, but many other controls are available that you can use if you need them. If you right-click the Toolbox and select Choose Items, you can select from a huge list of .NET Framework and COM components available on your system.

You can obtain more controls provided by other companies and available for purchase and sometimes for free on the web. Many of these controls perform specialized tasks such as generating bar codes, making shaped forms, warping images, and providing special graphical effects.

Other controls extend the standard controls to provide more power or flexibility. Several controls are available that draw two- and three-dimensional charts and graphs. Other controls provide more powerful reporting services than those provided by Visual Studio’s own tools.

If you search the web for “windows forms controls,” you will find lots of websites where you can download controls for free or for a fee. A few places you might like to explore include:

You should use these as a starting point for your own search, not as a definitive list. You can download controls from hundreds (if not thousands) of websites.


CONTROL CHAOS
You should also show some restraint in downloading third-party controls and products in general. Every time you add another control to a project, you make the project depend on that control. If you later move the project to a newer version of Visual Basic, you must ensure that the control works with that version. Similarly, if the vendor makes a new version of the control, you must find out if it works with your version of Visual Basic. If it doesn’t, you may be stuck using an older, unsupported version of the control.
If controls and tools interact with each other, the problem becomes much more difficult. If anything changes, you must find a set of versions for all of the tools that can work correctly together.
I try to keep my use of third-party controls to a bare minimum because, when I write a book, I generally cannot assume that you have a particular third-party control. I use tools such as WinZip (http://www.WinZip.com) and FileZilla (http://filezilla-project.org) outside of projects, but nothing inside them.
Use a third-party control if it will save you a lot of work. But, before you do, ask yourself how much work it would be to do without the control and how much work it will be to replace the control later if you need to move to a new version of Visual Basic.
And of course, if you download a control from a source that isn’t trustworthy, you could be downloading a virus.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.23.112