Jump to content

Recommended Posts

Posted

I am getting ready to give a AutoCAD VBA program that I have written.

How do I write a macro to start the program at allows limited viewing and

code protection? I have allways used project explorier to double click a form to

start things. Now I need another way to start a protected copy of my program.

 

Thank you,

Posted

A VBA project (.DVB) can be password protected: See VBAIDE – Tools – Properties – Protection. That “protection” is not particularly robust as a few methods to crack the password are available on the internet.

 

The more bulletproof method would be to isolate the critical code logic by compiling it to a DLL with VB6. That DLL can then be referenced from a VBA project that contains only code enough to act a calling routine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...