Click here to Skip to main content
16,012,033 members

Comments by Zero The Warrior (Top 5 by date)

Zero The Warrior 2-Dec-13 9:20am View    
Got the solution changing the target framework to .NET Framework 4.0
This is how i did this:
-Right click on project name
-Properties
-Apllication tab
-Target framework: .NET framework 4.0

This worked for me.

Any furthers errors are simple to solve.
Thanks a lot everybody! Mainly TnTinMn!
Zero The Warrior 2-Dec-13 5:47am View    
The error was truly fixed. Thanks.

Now one or another error appear:
The type or namespace name 'LiveSwitch' could not be found (are you missing a using directive or an assembly reference?)

If i turn on the "Embed Interop type" = True
then this happen:

Cannot embed interop types from assembly 'c:\LiveSwitch.TextControl.exe' because it is missing either the 'ImportedFromTypeLibAttribute' attribute or the 'PrimaryInteropAssemblyAttribute' attribute

Thanks for the help, i will repass the fixes to the author with your name. I will continue trying to make it work.
Zero The Warrior 1-Dec-13 18:10pm View    
That´s it! So thats the right way.
Still not working, but answered this question.
E-mail me if you can help me with the error i posted at solution 2 comment.

Thanks a lot!
Zero The Warrior 1-Dec-13 18:04pm View    
But when i add a reference at the right side, should the control (in that case the text editor) apear on tool box elements list? (this when i click 'choose elements').

Because i´m adding as reference at right side.
Choosing the 'Browse Tab'
and looking for the archive .exe

But when i add the reference, nothing apears on toolbox.
I tryed to click on 'Choose elements' and browse from there too.
The control apeared, but its causing some errors.

ERROR:
Code generator for property 'BodyBackgroundColor' failed. Error was:
"Property acessor 'BodyBackgroundColor'on object 'editor1' threw the following exception: 'Input string was not in a correct format".
Zero The Warrior 1-Dec-13 17:38pm View    
I just want to get the text editor and use it as a component in the visual studio toolbox.
The "text editor" is in the link i posted.

I think i want to embed it.