The COM Course - Part 1--by karl moore (转)

本文为COM技术的三部分介绍系列之首篇,引导程序员们从简单的表单和模块迈向企业级应用开发。文中详细解释了COM的概念及其在软件复用与减少bug方面的作用,并通过创建一个以狗为主题的类来说明类在COM中的运用。
The COM Course - Part 1--by karl moore (转)[@more@]w3c//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> words" content="com, tutorial, course, class, classes, enum, advanced,, Visual Basic,vb,visual,basic, win32,vb4,vb5, vb6,visual basic,vb,visual,basic,win32,vb4,vb5,vb6"> top_left.gifRM method="GET" action="/ PHP-bin/searchredir.php"> Search VB-World:    < select name="whereto">All VB-World vb ForumsThe web    home_off.gif articles_on.gif tips/"> code_off.gif projects_off.gif books_off.gif reviews_off.gif discuss_off.gif .NETwork links --&gt > VBForums.com
> VBSquare.com
> api.com"> VBAPI.com .network links --&gt top_right.gif clear.gif clear.gif  Home  > ActiveX Development > Articles clear.gif clear.gif clear.gif clear.gif clear.gif clear.gif clear.gif clear.gif ea%20href=Mail_button.gif" width="16" height="16" border="0"> email this page print_button.gif Printer Friendly more_button.gif More From Karl feea%20href= dback_button.gif" width="16" height="16" border="0"> Post Feedback
Related
The COM Course - Part 3 The COM Course - Part 2 The COM Course - Part 1 ActiveX Control Tutorial - Part 5 ActiveX Control Tutorial - Part 4
Hot Picks
vb.net Uncovered: Big Changes VB.NET Uncovered: Working the Web Control the Panel Kill Context Learn to Program with Visual Basic 6

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...

Introducing COM next.gif

clear.gif clear.gif clear.gif  In This Article clear.gif clear.gif clear.gif

Introduction - Introducing COM - Building Classes - Properties - Bettering Properties - Subs, Functions, Parameters, Oh My! - Events - Conclusion -

ActiveX | Beginning | Controls | Databases | Files | Graphics | Misc | Mouse | Registry
Home | Articles | Code | Projects | Books | Reviews | Discussion Forums
Tech News | Contact Us | Site Map | Join Newsletter | Link To Us
clear.gif bot_left.gif Copyright ©1997-2001 Jelsoft Enterprises Limited. All rights reserved. Privacy Policy. bot_right.gif

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-991798/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10752043/viewspace-991798/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值