Macros and Programming


CardboxForumsMacros and Programming > "Error messages not displaying"

Error messages not displaying

Posted By Post


24-Feb-2015 11:01

Hi all

I have a problem affecting one computer only where macro error messages are not being displayed. For example, if an Option Explicit macro has a variable undefined, no message is popping up.

I'm sure this could be lots of things, maybe another program for example. Just wondered if you'd come across this before and if so how did you fix it?

Thanks :)


24-Feb-2015 16:12

Before testing a lot - these two things can perhaps help you:
- try to uninstall Cardbox Client, then install it again. Perhaps you lost a 'connection' to the VBS things. Reinstalling can repair this perhaps.
- If this does not help look in your taskmanager - processes. Kill proces mdm.exe (right mouseclick). It this helps, find a way that mdm.exe not is started when the pc starts.
- I experienced it also once when I wrote an error in my macro ;-)

Justin G

28-Mar-2018 20:53

Hi all,

Similar error messages problem.

OS is win 7 64-bit. Installed and reinstalled Cardbox.

Error messages fail to appear when Cardbox or vbscript hits error and stops, which means putting in lots of diagnostic msgbox lines to locate errors.

No mdm.exe is running.

.vbs files all run ok with good error messages.

Is Cardbox possibly looking at the wrong vbscript.dll?

Thanks, J.


28-Mar-2018 21:59

I think Cardbox looks right. Otherwise it could not run any macro!
So I suspect Windows 7 a little of a problem. But perhaps we can help W7...

Please try this:
Make a one line macro with only this line:


Run the macro. No error message?

If not: try to install the MS Script Debugger. Because Microsoft is not our friend any more, they removed it from their site.
However... download it safe here: https://www.inflectra.com/Support/Attachment/34513.aspx
Install it and switch in Cardbox Client Tools, Options, Macros, If an error... on.
Boot for safety after this. Rerun the one line macro. And now?

Justin G

28-Mar-2018 23:59

Many thanks, Bert. I had just spent ages poring over the full log.

Installed Microsoft Script Debugger 10.exe and all ran well with and without debugger ticked.



© 2010 Cardbox Software Limited   Home