SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

using ICSharpCode.TextEditor

Last post 05-17-2009 10:12 AM by Roket84. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-17-2009 8:30 AM

    using ICSharpCode.TextEditor

    Wasnt quite sure where to post this question, sorry ahead of time if this wasnt the correct board. As for my question, im trying to use the texteditor in a program im writing. The problem i keep running into is when i create an instance of the form that contains the texteditor control, when i .ShowDialog() the program crashes. Some things ive found that atleast allow the dialog to show is if i set the texteditor.visible=false in the designer then in my forms.OnShow event change it to visible=true again it will sometimes work properly and the sometimes not. When i run without debugger the crashes will happen, however when i run with debugger the problem never occurs. I use the default settings for all texteditor properties aside from the visible/invisible thing. There is no interaction between the texteditor and any other element of my code in the form. Ive tried creating a new windows application project with nothing but the texteditor control on the form. The crashes still occur. Ive tried using several different versions of the texteditor but that did not help either. Thanks ahead of time for any help given.

  • 05-17-2009 10:12 AM In reply to

    Re: using ICSharpCode.TextEditor

    Nevermind it seems I found the answer. The program didnt have correct permissions to the ICSharpCode.TextEditor.dll to use the control. That's why the debugger never had a problem running the application without crashing. Give it up for vista lol.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.