How to protect VBA projects?

How to protect VBA projects?

Anonymous
Not applicable
246 Views
1 Reply
Message 1 of 2

How to protect VBA projects?

Anonymous
Not applicable
Hello everyone,
I have a VBA project, a nonembeded project, which is ready to be distributed to users. I want to protect this project against accidentally (or not) alterations.

I found the only way to lock the file for viewing, with a password. Unfortunately it is not safe.

I wonder if I can make an exe file with a VBA6 compiler, as I use VBA for AutoCAD functions in my project? I mean can I convert the VBA project in an VB stand alone project? How?

Does anyone have any solution?
0 Likes
247 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Most of the function and tools you create in a VBA environment will port
over to VB with no problems. Some of the areas which may have problems is
controls - some controls have properties which are not supported in VB.

You also have to make sure you set a reference to the Autocad Object
Library. For some sample code take a look at my CAD section on the website
(Located in the application design info area). This will get you code for
starting AutoCAD and using the object. (theres also a Autocad Class located
in the sample projects section which will perform many of the basic function
of AutoCAD; Layers, Blocks, Plotting, Drawing functions.


HTH

--
Veign
Designing Solutions
www.veign.com
VB Code Samples & Projects
www.veign.com/information/info_main.html


"mvicol" wrote in message
news:f0ade97.-1@WebX.maYIadrTaRb...
> Hello everyone,
> I have a VBA project, a nonembeded project, which is ready to be
distributed to users. I want to protect this project against accidentally
(or not) alterations.
> I found the only way to lock the file for viewing, with a password.
Unfortunately it is not safe.
>
> I wonder if I can make an exe file with a VBA6 compiler, as I use VBA for
AutoCAD functions in my project? I mean can I convert the VBA project in an
VB stand alone project? How?
>
> Does anyone have any solution?
>
>
0 Likes