Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Windows cannot find '...MDIDOC1.sampledoc'... Collapse All
Subject Author Date
Paul Boswell Dec 31, 2008 - 10:57 AM

My application (which now incorporates Prof-UIS) causes Windows to display an error message whenever a file of its type is double clicked on. The error message says: "Windows cannot find ’[doc file]’. Make sure you typed in the name correctly, and then try again. To search for a file, click the Start button, and then click Search." Despite the error message, the document opens correctly.


I have not yet determined the exact cause of the error, but it looks like Windows generates the message after pMainFrame->LoadFrame(IDR_MAINFRAME).


At first I assumed the problem had to do with my application, but after looking at the MDIDOCVIEW sample application, I found that it does exactly the same thing. If you save a document, close the application, and then double click on the document, the same error message is generated.


Any idea what is causing this error?

Paul Boswell Dec 31, 2008 - 1:44 PM

If it makes a difference, I’m running on a dual core Windows XP machine.

Technical Support Jan 2, 2009 - 3:07 PM

We can’t reproduce this problem both on XP and Vista. It looks as you run other application which registered .sampledoc extension, then you removed this other application and then trying to use this extension with the MDIDOCVIEW sample application.