Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: Nitromuse on October 05, 2012, 10:49:54 AM
-
Hello World,
I've written some very effective macros but now the time has come to lock them down. Is there a way to compile a macro so it can't be seen or changed? Assuming a 'no' answer what is the simplest way of accomplishing this, a wizard, plugin, or brain? I program in VB.Net already.
Thanks for your help.
-
You can compile the CB macros with the mach3 CB editor.
(;-) TP
-
but then it is still readable and changeable, isn't it
-
NOPE
Here is a sample of a Macro that was compiled.
(;-) TP
-
OK, thanks, I'll give it a shot
-
BR549
When you speak of the CB Editor are you speaking of the VB Script Editor on the Operator tab? If so, how do you get it to compile a .m1s file? And how do you get a .mcc file to run from the MDI?
Thanks again for your help.
-
YES the VB Script editor. Save the files under the option SAVE AS then select *.MCC.
Make sure you name it as a Mcode for example M355.mcc
So should be able to then call it from the MDI line.
(;-) TP
-
Damn, I should have been able to figure that out!
Thanks once again.
-
Is it then possible to license these macros?
I have spent a lot of time developing a macro that I'd like to sell, but am worried about it spreading freely through the interwebs.
-
Licensing, is a good quesion, and one that I can't answer. But if it can't be seen or edited it seems it's pretty safe. Take the example above, copy it into your system and see if there is any way you can find to see/edit it. I couldn't.
Good luck.
-
As Nitro said just compile it and no one can see the CB code.
NOW somewhere in the world there may be a decompiler but that is Coding life.
(;-) TP