Solved

Encrypt All VBA Modules

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
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…
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.

777 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