16,012,033 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.