Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Office 2000 Developer Edition Add-Ins A Presentation for the Microsoft Access SIG of the North Texas PC User Group and the Metroplex Access Developers.

Similar presentations


Presentation on theme: "Microsoft Office 2000 Developer Edition Add-Ins A Presentation for the Microsoft Access SIG of the North Texas PC User Group and the Metroplex Access Developers."— Presentation transcript:

1 Microsoft Office 2000 Developer Edition Add-Ins A Presentation for the Microsoft Access SIG of the North Texas PC User Group and the Metroplex Access Developers by Larry Linson. © Copyright 2000 by L.M. Linson, all rights reserved

2 What Add-Ins? u Code Librarian u VBA Code Commenter u VBA Error Handler u VBA Multi-Code Import/Export u VBA String Editor u VBA WinAPI Viewer

3 How do you get them? u Install Office 2000 Developer Ed. u Open Office Application u Open any Module u Click Add-Ins | Add-In Manager u Brings up a Dialog Box

4 If You Don’t See Them u “Office 2000 Developer Tools are not installed” u Uninstall if they appear to be, then u Reinstall “Office 2000 Developer Tools”

5 When You Do See Them u Click the one you want u Choose – Loaded/Unloaded – Load on Startup u Repeat as needed u If you chose Load on Startup – Close and Reopen the Application

6 Code Librarian u Add-Ins | Code Librarian u File | Open | CODELIB.MDB – Code supplied by Microsoft – Varying usefulness – Varying “documentation”

7 Code Librarian Example u Create New or Select Module u Add-Ins | Code Librarian u Date/Time/Interval u Click “IsWorkday” Function u Drag / drop it into Module

8 Code Librarian Example u Just to check u Debug | Compile u View Immediate Window – ? IsWorkday(#08/14/2000#) – True – ? IsWorkday(#08/12/2000#) – False

9 Code Librarian Features u Get Microsoft’s code u Save your own code u Add Descriptions u Add Keywords u Ken Getz Recommends: – Create your own library – Main, one per project, or both

10 Code Commenter u In a Module, Add Procedure u Add-Ins | Code Commenter u Enter Name and Initials u Click OK u Adds the “skeleton” of the comments u You complete the comments

11 Commenter Features u CodeCommenter.EHT file – contains skeleton of comments – tokens that are filled in or control u You can edit this file – But save it first u Voilá! Customized Comments

12 Error Handler u Use Same Procedure u Add-Ins | Error Handler u Enter Name and Initials u Select Current Procedure u Click OK u Adds basic error handling

13 Error Handler Features u ErrorHandler.EHT file – contains skeleton of error handling – tokens that are filled in or control u You can edit this file – But save it first u Voilá! Customized Error Handling

14 Observation u Other commenter add-ins u Other error handler add-ins – Often combined – Freeware – Shareware – Commercial: FMS’ CodeTools u Now part of the product

15 Multi-Code Import/Export u Only Access has easy way natively – From the database window – But you can lose information u This is the easy way – Works in Office 2000 VBE – Does not lose information

16 Resources u Let Office Developer Tools Do the Routine Work for You u by Ken Getz u Access – VB – SQL Advisor u July 2000, Volume 8 No. 7


Download ppt "Microsoft Office 2000 Developer Edition Add-Ins A Presentation for the Microsoft Access SIG of the North Texas PC User Group and the Metroplex Access Developers."

Similar presentations


Ads by Google