MicroStation CONNECT 10.17.00.209
I have a VBA from a client that is locked, it runs a startup macro and throws a file not found error every time a DGN file is opened. Is there a logging system I can turn on to find out WHICH file it's trying to find so I can fix it? VBA is locked from viewing.
If it was me, I’d make a copy of the MVBA file and remove the password using a Hex editor. Then the source code is available to view to find out what file is raising the error.
You know, I'm so used to modern password protection using AES and other (currently) unbreakable methods I totally forgot VBA is like a 20 year old technology and the password is more of annoyance than an actual impediment.
I'll save this as a last resort though :)
It depends how long you want to spend on getting the information you need. Bob's suggestion isn't something I've ever used so I can't speak from experience on what result it gives you. I have done what I suggested and it worked without issue.
Kevin van Haaren said:VBA is like a 20 year old technology
VBA is a development of Visual Basic 5, and contains elements of VB6 introduced in 1998.
Kevin van Haaren said:the password is more of annoyanc
Yes, and that's why nobody creates commercial apps using VB/VBA.
There was a time when many Microsoft products had feeble security. For example, you could use an SQL database simply by entering for the user password a sequence of digits divisible by 7.
Regards, Jon Summers LA Solutions