Solved

Encrypt All VBA Modules

Posted on 2006-11-13
5
263 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Name Selection and Sorting 43 91
Lookup - Vlookup 9 43
Converting time 4 35
How to best choose short cut keys for an application and how to check conflicts with Office. 7 23
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

685 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