Access编程交流网
  • 设为首页|收藏本站|繁体中文|手机版
  •     
  • Access培训-Access开发平台-Access行业开发

  • 首页
  • 资讯
  • 技巧
  • 源码
  • 行业
  • 资源
  • 活动
  • 关于

资源

软件下载

Access

二级Access

Office

模板
控件/插件

ActiveX第三方控件

Addin加载项/插件

工具大全

安装打包

帮助制作

压缩修复

加密解密

备份还原

图标制作

内码转换

转换升迁

其他工具

编程素材

图标光标

图像大全

音频素材

视频动画

书籍刊物

Access书籍

Excel书籍

Word书籍

PPT书籍

Outlook书籍

Office书籍

补丁/运行时

Access2003及之前运行时

Access2003及之前补丁

Access2007及之后运行时

Access2007及之后补丁

收费资源

源码光盘

VBE编辑工具
网址

热门下载

  • 支持条码的Add-ins
  • addin
  • 拼写检查加载项
  • Total Access Emailer

最新下载

  • addin
  • Total Access Emailer
  • 拼写检查加载项
  • 支持条码的Add-ins

联系方式

Access交流网(免费Access交流)

QQ:18449932 

网  址:www.access-cn.com

当前位置:首页 > 资源 > 控件/插件 > Addin加载项/插件
Addin加载项/插件

addin

  • 更新时间2005-02-28 21:04:56
  • 文件下载 点击下载
  • 文件类型
  • 文件版本
  • 简要说明

详细描述

1|)Security Wizard  
   Anyone that has set up Jet security on an application knows how difficult and confusing it can be.  The Security Wizard is a tool that will allow you to setup your own security mechanism in your Access application without having to implement Jet security.  Running the wizard from Tools/Add-ins/Security Add-In will copy several objects into your application.  It will drop a table (tblOperators) into your application that will contains the list of users of your app and their password (passwords are encrypted using very simple XOR encryption.)  Also, it will drop several modules, two class modules(GlobalProperties and SecurityClass) and one standard module (basMiscSecurityFunctions).  (NOTE:  The basMiscSecurityFunctions module has an IsLoaded function in it.  If you already have an IsLoaded function in your application you will needed to delete if from the basMiscSecurityFunctions module.  Delete the function only, not the whole module).  Also, several forms are added to your project.  Three of them (frmCreateUser, frmChangePassword,  frmGetUserName) are used by the class module.  The fourth form (frmEditUsers) can be used to manage the user accounts (make users administrators for example).
Once you run the Security wizards you add the following to the startup procedure of your application:
PWs.ConfirmPassword 

Once the user logs in you can query there user name or authority using several GlobalProps properties as follows:
If GlobalProps.Administrator = True Then ...  
or 
If GlobalProps.CurrentUser = "JohnS" then ...

For more information the Security Add-In please click here or read the help file that is distributed with the wizards. 

2) Global Error Handler  
   Error handling is a necessary evil of programming in ANY VB environment.  All well-developed applications will have error handling code in most if not all of the procedures.  The "evil" lies in the fact that VB does not add this error handling code for you.  It only create the procedure "stub" (Sub...End Sub) for you so that it is up to the developer to add the error handling.   
The Global Error Handler add-ins has two components.  The first component, like the Security Add-In described above, adds all the objects that are needed to enable error handling and is installed from the Tools/Add-Ins/Global Error Handler menu item.  This will add two(2) objects to your table:  A table (usysErrors) which is the where all the errors are logged.  (Yes - one of the features of thjs Add-In is that all errors get logged into this table which makes troubleshooting problems much easier.)  And a module (basGlobalErrorHandler) which is procedure called by your handlers in order to handle and log the errors.

The second component is a "builder" that is installed by the setup routine.  When you create a new procedure the builder will automatically add all of the error handling for it including the call to the Global Error Handler (which logs the error).  To execute the builder, right click in the procedure and choose "Build" from the context menu.  Now, instead of going straight to the Expression Builder, a selection box will appear.  Choose "Global Error Handler" from the list and click OK.  The error handling code will be automatically inserted into your procedure.

For more information on the Error Handling Add-Ins or error handling in general please click here or read the help file that is distributed with the wizards. 

3)Many-to-Many Wizard  
   The Many-to-Many Add-In provides a way for developers to quickly and easily create forms that can be used to populate the junction table of a many-to-many table relationship.  Normally, populating a junction table requires use of a Main-Form/Sub-Form interface with the junction table being populated by a Combo Box which is in the Sub-Form.   (Don't know what I am talking about?  Click HERE.)  This kind of interface is extremely "kludgy" but it the only option available to non-programmers (unless they use some kind of Add-In such as the one described here.) 
You start the Many-To-Many wizards (there are two of them) by selecting either Tools/Add-Ins/M2M CheckBox Wizard or Tools/Add-Ins/M2M ListBox Wizard from the menu.  Each of these will step you through a wizard that will create a form for you (that you name at the end) that can then be used to populate the junction table with an form that is easy to use and intuitive.  (NOTE:  These wizards are the least tested of all of them and you probably WILL find bugs.) 

For more information the Many-to-Many wizards or table relationships in general please click here or read the help file that is distributed with the wizards. 

4) Name Builder  
   Microsoft Built-In wizards are very useful but they have one annoying flaw.  That is, no naming conventions are used.  Naming conventions are commonly used standards that all professional developers use to better manage their code and their projects.  Even controls on forms should have standard naming conventions.  For example, combo box usually begin with cbo (i.e., cboNames) and text boxes start with txt (i.e. txtAddress).  When these conventions are used it makes managing the code associated with the controls easier. 
The Microsoft wizards do NOT use these conventions.  So when you create a form or report with the wizard,  instead of "cboName" or "txtAddress" you get simply get "Name" or "Address".  (This can cause some expressions to return #Name instead of the correct value, expecially in reports.)  The problem is that it is difficult to remember the standard naming convention prefixes for controls and renaming them can be time consuming.

The Name Builder will correctly prefix a control with the right convention based on its type.  To use it (the name builder is installed by the setup program) simply select the control and view its property sheet.  Select the Name property from the property sheet.  Click on the Build (...) button that is to the right of the property.  It will take the current name that is in the property cell and replace it with the same value stripped of spaces and other undesirable text and prefixed with the right three letter convention.

Coming soon:  A Name Builder wizard that will rename ALL controls on a new form using proper conventions.  Send us an e-mail so that we can notify you when the change is available.


5) Linked Table Manager and other Wizards  
   Also included with the setup are a Linked Table Manager and other Add-Ins. 

发布人:accesswizards-  
分享到:
点击次数:  更新时间:2005-02-28 21:04:56  【打印此页】  【关闭】
上一条:Office XP 简繁转换程序  下一条:ActiveQuery非常好的通用查找过滤控件

相关下载

  • • Total Access Emailer
  • • 拼写检查加载项
  • • 支持条码的Add-ins

热门下载

  • [2003-12-10] 拼写检查加载项access数据库
  • [2003-12-14] Total Access Emaileraccess数据库
  • [2005-02-28] addinaccess数据库
  • [2003-12-10] 支持条码的Add-insaccess数据库

热门产品

公司动态|在线留言|在线反馈|友情链接|会员中心|站内搜索|网站地图

中山市天鸣科技发展有限公司 版权所有 1999-2023 粤ICP备10043721号

QQ:18449932

Access应用 Access培训 Access开发 Access平台

access|数据库|access下载|access教程|access视频|access软件

Powered by MetInfo 5.3.12 ©2008-2025  www.metinfo.cn