Our framework uses TxTextcontrol with TxSpell for Windows Forms. An existing application which uses the framework (and runs from a network drive) initialises a dialog from the framework to show some text. The dialog has a splitcontainer with the part containing the TxTextcontrol collapsed. During the init of the dialog the TxTextcontrol and the TxSpell Control are initialized.
When the splitcontainer panel is no longer collapsed we get an System.Reflection.TargetInvocationExeption. What can we do to prevent this from happening? Is there a registry-key like suggested in the error-message?
Here is the exceptiontext:
/Ger
When the splitcontainer panel is no longer collapsed we get an System.Reflection.TargetInvocationExeption. What can we do to prevent this from happening? Is there a registry-key like suggested in the error-message?
Here is the exceptiontext:
Code:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.ArgumentException: Ungültiger Standard Wörterbuch-Ordner Pfad. Bitte stellen Sie sicher, dass keine Installation Einstellungen geändert wurden.: Invalid RegistryKey
bei ᜀ.ᜄ.ᜂ()
bei TXTextControl.Proofing.TXSpell.set_Language(String value)
bei TXTextControl.Proofing.TXSpell.Create()
bei TXTextControl.Proofing.TXSpellChecker.Create()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei TXTextControl.TextControl.OnHandleCreated(EventArgs e)
bei System.Windows.Forms.Control.WmCreate(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei TXTextControl.TextControl.WndProc(Message& message)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)