Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Opinions on Storing shared Procedures (Office XP)

    I have a question I'm throwing around with various people... Here's the scenario:

    You have about 20-40 custom Word templates. Those templates have some shared procedures for data retrieval, manipulation and simple document manipulation. Do you store those shared procedures in a startup template or create a DLL? Why?

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Opinions on Storing shared Procedures (Office XP)

    In a startup template...
    ...because I don't know how to put them in a .DLL.

    If I knew how to do that, I'd put *most* of them in a dll and let the "shell" startup template make reference to the library routines.

    This would be my approach for security reasons (protect the code) and for execution and compile speed. My startup template is growing to almost 2MB (1.5 cleaned). So I need to start thinking about breaking things out. The .dll approach seems like the smart way to go.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Opinions on Storing shared Procedures (Office XP)

    Hi Kevin,

    Since that wasn't the answer I expected, you've piqued my curiosity - just displaying my ignorance here, since I haven't worked with DLLs, but notwithstanding the size and speed issues, isn't developing and maintaining a global template a lot more straightforward than doing the same with a DLL?

    I'm working in global templates all the time so know that's very simple. Suppose I want to tweak, troubleshoot or otherwise play around with the way something is functioning in the DLL - would there be a lot of extra steps in the process as compared with working with the simple template? (I did say I was displaying my ignorance here... <img src=/S/grin.gif border=0 alt=grin width=15 height=15>)

    Thks,
    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •