RM method="GET" action="/
PHP-bin/searchredir.php">
Search VB-World: <
select name="whereto">All VB-World
vb ForumsThe
web
> VBSquare.com
> api.com"> VBAPI.com .network links -->
The COM Course - Part 1
By Karl Moore
Introduction
Welcome to our three-part introduction to the wonderful world of COM!
There comes a time in every programmer's life when a project consisting of mere forms and modules just ain't enough. Sure, you know the API, you know databases... but in the world of the enterprise, employers want that something extra.
And that something is called COM. It's a way of organising your code so it can be used over and over again. It's a method of helping create a bug-free development environment. It's a system that, just after making your life a little harder, makes it one heckuva lot easier.
Basically, it's a completely wizzy way of working.
Today, we're going to figure out exactly what classes are, and how they fit into the big picture of cosmic COM. We'll even be creating our own classes ?based loosely around a dog (yes, a dog) ?to demonstrate the theory.
Ready to dive feet first into the chaotic cavern of COM, my cute curious cherubs? Step this way...
Introduction - Introducing COM - Building Classes - Properties - Bettering Properties - Subs, Functions, Parameters, Oh My! - Events - Conclusion -
ActiveX | Beginning | Controls | Databases | Files | Graphics | Misc | Mouse | RegistryHome | Articles | Code | Projects | Books | Reviews | Discussion Forums
Tech News | Contact Us | Site Map | Join Newsletter | Link To Us
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-991798/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10752043/viewspace-991798/
本文为COM技术的三部分介绍系列之首篇,引导程序员们从简单的表单和模块迈向企业级应用开发。文中详细解释了COM的概念及其在软件复用与减少bug方面的作用,并通过创建一个以狗为主题的类来说明类在COM中的运用。
195

被折叠的 条评论
为什么被折叠?



