|
|
|||
| Outlook Expert Techniques Printer Friendly Version | |||
|
|
Working with toolbars, menus, ribbon; generating custom reports; deploying forms; connecting to databases, Exchange folders, and XML Web services | ||
| Topic | |||
|
|
Common code
Has anyone found an easy way to include common code across forms other than through a compiled object? Having compiled objects makes it fairly cumbersome to distribute/update. Currently I have common code block of standard utility functions (add link to item, populate a combo box with a collection, etc..) that I include in all my forms, but whenever I make a change I have to go through by hand and update the block in every form. The upside is that the change is transparent to the user as oppose to an ocx which would have to be reinstalled. On a related note, does anyone want to share their common utility functions code? Jon Howard 19-Nov-2002 10:30 |
||
|
|
Sue Mosher
19-Nov-2002 21:54
I think I saw an example once where someone used an include file in their form VBScript code, but that doesn't really give you much of any advantage, because it has to be on every client. Unfortunately, I can't remember where I saw it. Feel free to post your favorite routines over in the Share Code section. That's what this site is all about. I've been putting some of my favorites over there, little by little, in additional to all the routines that are in the code download for the book. |
||
|
|
Tam Tran Minh
17-Dec-2002 03:30
If we could include common code in a file (like Sue said), we don't need to install it in every client, we could add it to a public folder (as attachment of an item). Save this attachment to local HDD of client computer anytime we want to use. But I don't know how to include file anyway )-: I still have to use COM Addin for common code, and very happy to share with you. |
||
|
|
Sue Mosher
05-Feb-2003 07:47
Adding it to a public folder wouldn't simplify much, because such a file can't be referenced directly. Any attachment has to be saved to a system folder first. |
||
|
|
|||
