![]() ![]() ![]() If I understand the MindManager function maps.Open() correctly, this is meant to open an existing document. Message=”Object ‘CmjDocumentCollectionComObject’ reports an error: ‘unable to create document'”Īt .Open(String pFileName, String pPassword, Boolean Visible)Īt .GetMap(String filename) in C:\personal\VS Projects\MM7TODOList\ToDoList.cs:line 187Īnd do you want to know what that exception really means? “The specified file does not exist” would be my interpretation. ToDoListMap = maps.Open(toDoListMapFullPath, String.Empty, true) // here's where the COMException is raised Maps = _Documents( true) try // open a ToDoList map MmDirectory.mmDirectoryMyMaps) + filename String toDoListMapFullPath = _Path(MMInterop. Here is the ‘offending’ code: public static MMInterop. Here’s just a couple of examples that have come up recently: “unable to create document” Well, I’ve bumped into quite a rich source of mysteries in trying to use an aspect of the MindManager object model that thunks through a brittle COM interop module, known as CmjDocumentCollectionComObject. Sometimes there are inevitable mysteries uncovered when writing code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |