Catia macros password
Catia macros password
(OP)
Hi:
Recently I developed a macro and I protected it with a password. Now I need to see the code and it seems I forgot the password!!! Is there any way to retrieve it?
Thanks in advance.
Recently I developed a macro and I protected it with a password. Now I need to see the code and it seems I forgot the password!!! Is there any way to retrieve it?
Thanks in advance.





RE: Catia macros password
There is another (somewhat easier) solution, without the size problems. I used this approach today (on a 2003 XLS file, using Excel 2007) and was successful.
1. Backup the xls file
2. Using a HEX editor, locate the DPB=... part
3. Change the DPB=... string to DPx=...
4. Open the xls file in Excel
5. Open the VBA editor (ALT+F11)
6. the magic: Excel discovers an invalid key (DPx) and asks whether you want to continue loading the project (basically ignoring the protection)
7. You will be able to overwrite the password, so change it to something you can remember
8. Save the xls file*
9. Close and reopen the document and work your VBA magic!
*NOTE: Be sure that you have changed the password to a new value, otherwise the next time you open the spreadsheet Excel will report errors (Unexpected Error), then when you access the list of VBA modules you will now see the names of the source modules but receive another error when trying to open forms/code/etc. To remedy this, go back to the VBA Project Properties and set the password to a new value. Save and re-open the Excel document and you should be good to go!
taken from:
http://stackoverflow.com/questions/1026483/is-ther...;
RE: Catia macros password
Even the obfuscated catvbs files are not so well protected but for sure they are better secured then vba....
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...