Yes, the info.plist was missing the NSDocument information. When the app loads a error message is displayed that "The document "[app].exe" could not be open. The [app] cannot open files in the "Document" format." This happens for the QTKitPlayer and CustomSave example too.
Regards, Ben Martin TruStorm Software http://www.trustorm.com.au 0407 256 072 ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Laurent Etiemble [EMAIL PROTECTED] Sent: Friday, 25 July 2008 10:03 PM To: users@lists.monobjc.net Subject: Re: [EMAIL PROTECTED] NSDocument Hello, Look's like your are missing a class description or a nib name. Here some points to check: - In your Info.plist file, have you set the right Document subclass (under the <NSDocumentClass/> tag) ? - Is the NIB filename correct in your NSDocument subclass (the return of the windowNibName method) ? For more hints, check the "Introduction to Document-Based Applications Overview" at http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Documents.pdf Regards, Laurent Etiemble. 2008/7/25 Ben Martin <[EMAIL PROTECTED]>: > Hi, > > I am looking port my .NET to Mac OS with monobjc. I have been trying to > create a multi document application. > > Looking at the examples I have been able to build a working app, however > when my app runs is does not open a new document and the new document menu > item is greyed out. > > I have copied the examples QTTimePlayer and The CustomSave. I am building > the exe from VS2008 on windows. > > > > > Regards, > > > > Ben Martin > > > > TruStorm Software > > http://www.trustorm.com.au > > 0407 256 072