Solved

Encrypt All VBA Modules

Posted on 2006-11-13
5
259 Views
Last Modified: 2012-08-14
This question is pretty self explanatory:

Is there anyway that I can secure all code in a global Word template by encrypting it?

I know that I can password protect my modules but $9.99 and the ability to read can circumvent mere password protection. Is there anyway that I can really secure my code by generating an encryption key which is used when sending/receiving data between a user template and a global template?

The points will go to the most sensible advice.
0
Comment
Question by:advlegals
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
gbahri earned 250 total points
ID: 17993565
Hi advlegals,

To provide the highest level of security for your VBA code, use Microsoft VB (.Net) to create a Component Object Model (COM) add-in. Because the VBA code in a COM add-in is compiled as a dynamic-link library (DLL), it can't be modified without access to the source code used to originally create it.

To know more on encryption, pls refer:
http://www.microsoft.com/technet/prodtechnol/office/office2000/proddocs/opg/part4/ch17.mspx

Hope, this serves your purpose,

Thanks,

GBahri
0
 
LVL 7

Expert Comment

by:gbahri
ID: 18392914
Solution given by me is reasonable.  It would be better if advlegals responds.

thanks,

GBahri
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Outlook Free & Paid Tools
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question