borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Protecting VBA scripts)Next Topic (Requery listbox) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : VBA in Visio
Poster Message
pavane
Level: VB Lord

Registered: 26-04-2004
Posts: 179

icon VBA in Visio

Hi,
I have written some VBA macros for Visio. Currently, I have to load the modules into each diagram, and they are visible to all.

Can anyone tell me how to protect these and maybe load then so that they can be picked up automatically when Visio creates a diagram?

Do they have to be converted to DLL, ActiveX or plug-in of some kind?
Thanx

30-09-2005 at 02:47 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: VBA in Visio

Hi,
Visio 2003, to lock code from users viewing it:
Tools->[filename] Properties->Protection
Check the box that says "Lock File for Viewing" and add a password.
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

27-10-2005 at 12:12 PM
View Profile Send Email to User Show All Posts | Quote Reply
pavane
Level: VB Lord

Registered: 26-04-2004
Posts: 179
icon Re: VBA in Visio

Thanks for that.  
I am currently stuck with Visio 2000, which doesn't seem to provide that facility. I will make sure that I specify 2003 as a minimum requirement if and when I come to distribute my work commercially. I can then distribute a template which already contains the protected code.

09-11-2005 at 12:18 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : VBA in Visio
Previous Topic (Protecting VBA scripts)Next Topic (Requery listbox) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder