Solved

"failed to create empty document"

Posted on 2003-11-03
7
1,321 Views
Last Modified: 2013-11-20
"Failed to create empty document" pops up in a dialog when I run my application. What does it mean?
0
Comment
Question by:TimDSmith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 9671404
I'd say that it means your application failed to create an empty document.
0
 
LVL 1

Author Comment

by:TimDSmith
ID: 9671764
Sorry - it was my fault. I was returning -1 by mistake in my view's OnCreate handler. Doh!
0
 
LVL 32

Expert Comment

by:jhance
ID: 9671773
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...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:Priyesh
ID: 9676697
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.
0
 
LVL 1

Author Comment

by:TimDSmith
ID: 10069467
I am requesting a refund of the points as I answered my own question as the second comment.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10088914
PAQed, with points refunded (75)

Computer101
E-E Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question