Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

What is the best Macro Security way?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Orchid - 09 Apr 2006 14:30 GMT
Hi All,
I create some macro in word and I need protect them ,I need no one cann't
edit them and change them and etc.
Please tell me what is the best way for protection of macro in word that any
hackers cann't break it.

Best Regards.
Orchid.
Jonathan West - 09 Apr 2006 14:52 GMT
> Hi All,
> I create some macro in word and I need protect them ,I need no one cann't
> edit them and change them and etc.
> Please tell me what is the best way for protection of macro in word that
> any
> hackers cann't break it.

Get a copy of VB6, create an ActiveX DLL project. Move most of your code
into the DLL project, and call the DLL from stub code in your template.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

Peter Gast - 09 Apr 2006 19:23 GMT
I don't think that an ActiveX is the best way. If we have an answer to my
post "How to make a vba project unviewable" from 9.4.06 you would have the
best security. But I have often seen posting refering this topic but I've
never read an answer with a reproducable solution. Only estimations an
guesses.

But there must be a way to make the project unviewable!!!

Peter

>> Hi All,
>> I create some macro in word and I need protect them ,I need no one cann't
[quoted text clipped - 5 lines]
> Get a copy of VB6, create an ActiveX DLL project. Move most of your code
> into the DLL project, and call the DLL from stub code in your template.
Jonathan West - 09 Apr 2006 19:51 GMT
>I don't think that an ActiveX is the best way. If we have an answer to my
>post "How to make a vba project unviewable" from 9.4.06 you would have the
[quoted text clipped - 3 lines]
>
> But there must be a way to make the project unviewable!!!

There used to be a way in Word 95 with WordBasic. It was one of the features
lost in the change to VBA in Word 97.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org 

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.