avelasas.blogg.se

Mindjet mindmanager runtime error
Mindjet mindmanager runtime error








  1. #Mindjet mindmanager runtime error how to#
  2. #Mindjet mindmanager runtime error full#

I’ve tried to dig up any hints that would help me figure out what to do to resolve this error, but so far nothing has worked (including trying to Register the Interop DLL, and Repairing the installation of MindManager). NET AddIn, I’m finding that the variable I declare to hold a reference to the new mindmap is not usable: (a) it won’t work until it’s initialized, but (b) when it’s initialized it throws the error documented here: When I try to create a new mindmap document using a. Here’s a riddle: how does one initialize a variable that cannot be initialized? Fire up a Command Prompt in that directory, run “REGSVR32.EXE ”, and I end up with this error: So I went looking for the file path, which meant examining the Properties of the “MindManager” Reference, and it reports that this “ActiveX” file is stored here: C:\WINDOWS\assembly\GAC_MSIL\\7.1.388.0_19247b5ea06b230f\.

#Mindjet mindmanager runtime error full#

Unfortunately no - damned MindManager, I ran the full Repair, and it even reinstalled all the 41 default templates (so I know it did completely successfully), but my code is still throwing this same error. I remember reading somewhere that the MindManager 7 Primary Interop Assemblies were installed by default when installing MM7, so I thought perhaps and Add/Remove Programs “Repair” operation would suffice. Searching for this CLSID on my system (predictably) leads to, Version=7.0.323.0, Culture=neutral, PublicKeyToken=19247b5ea06b230f and, Version=7.1.388.0, Culture=neutral, PublicKeyToken=19247b5ea06b230f. In various posts, the common theme seems to be that the “component with the noted CLSID” needs to be re-registered.

#Mindjet mindmanager runtime error how to#

I didn’t expect to have to catch a, nor in figuring out how to catch only the exception with a specific ErrorCode/HRESULT returned by the COM object.īut then again, “Nobody expects the Spanish Inquisition”… Īnd here’s the HRESULT that is being thrown by the COM object: -2147220992 If the file exists, then maps.Open() would succeed if it didn’t exist, then I’d use the Catch block to instead create the named file. I am attempting to use a Try…Catch approach to testing whether the requested file exists. It’s like whoever wrote the error strings for the CmjDocumentCollectionComObject is interpreting the name of the Win32 CreateFile() API literally. I’ve just asked it to open a non-existent document, so I’d expect “can’t find it”, but I’m puzzled by “unable to create document”. 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

mindjet mindmanager runtime error

MmDirectory.mmDirectoryMyMaps) + filename String toDoListMapFullPath = _Path(MMInterop. Here is the ‘offending’ code: public static MMInterop.

mindjet mindmanager runtime error

Here’s just a couple of examples that have come up recently: “unable to create document”

mindjet mindmanager runtime error

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.










Mindjet mindmanager runtime error