Link to home
Start Free TrialLog in
Avatar of TimDSmith
TimDSmith

asked on

"failed to create empty document"

"Failed to create empty document" pops up in a dialog when I run my application. What does it mean?
Avatar of jhance
jhance

I'd say that it means your application failed to create an empty document.
Avatar of TimDSmith

ASKER

Sorry - it was my fault. I was returning -1 by mistake in my view's OnCreate handler. Doh!
Don't you just HATE when that happens.  I could be a millionaire if I could come up with a system for making computers do what people WANT them to do rather than what they TELL them to do...
Start the application in debug, and after the "Failed to create empty document" message, look in the Output window. This usually happens due to resource problems. If that is the case, a debug trace will be in the output window helping you to find where the problem is.
I am requesting a refund of the points as I answered my own question as the second comment.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial