VBGood网站全文搜索 Google

搜索VBGood全站网页(全文搜索)
首页 - 经验之谈 - 通过创建自己的VB5模板增强功能
发表评论(0)作者:不详, 平台:VB6.0+Win98, 阅读:7929, 日期:2001-01-11
Increase Your RAD-ness by Creating Your Own VB5 Templates
Submitted by Michael C. Amundsen, mike_tips@amundsen.com, http://www.amundsen.com
You can create your own VB Templates quickly and easily. If you find that you are adding the same routines to your forms, classes, BAS modules, etc. you can build generic versions and place them in the Templates folder tree of VB5. By placing the coding module (frm, bas.cls, etc.) in the proper subfolder of the Templates folder, you注释:ll see the new item appear whenever you select the Add... dialog box. You can add as many controls, library references, and lines of code as you wish to the templates.

CAUTION: If you uninstall VB5, you may loose your Templates folder and all its contents. Be sure to keep a secured copy of all your template files in a safe location.