Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Some time I can just fix it by restart my computer.
This error code is related to (running more than one) anti-virus product on your PC.
Success!
Luc
Does it mean my mathcad file has virus?
Not necessarily.
You should search on the internet for 0x80004004 and see what you find,
Success!
Luc
I wonder how it is related to Mathcad.
The only information we can see is "Microsoft Visual Basic" in the dialog title and a very basic E_ABORT error code.
At what point do you get this error?
In System Properties, Advanced, Environment Variables, System variables, set PATH:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.
See if that helps.