Click here to Skip to main content
16,006,605 members
Home / Discussions / C#
   

C#

 
QuestionC# and C++ class in dll Pin
Levnsn30-Apr-07 19:57
Levnsn30-Apr-07 19:57 
AnswerRe: C# and C++ class in dll Pin
Christian Graus30-Apr-07 20:45
protectorChristian Graus30-Apr-07 20:45 
Questionwindow forms Pin
kalyan_241630-Apr-07 18:29
kalyan_241630-Apr-07 18:29 
AnswerRe: window forms Pin
Kashif Iqbal Khan30-Apr-07 19:49
Kashif Iqbal Khan30-Apr-07 19:49 
AnswerRe: window forms Pin
Christian Graus30-Apr-07 20:58
protectorChristian Graus30-Apr-07 20:58 
Questioninstance does not exist in the current context Pin
Latheesan30-Apr-07 17:50
Latheesan30-Apr-07 17:50 
AnswerRe: instance does not exist in the current context Pin
Latheesan30-Apr-07 17:53
Latheesan30-Apr-07 17:53 
AnswerRe: instance does not exist in the current context Pin
andreshs130-Apr-07 19:51
andreshs130-Apr-07 19:51 
the problem is with the object not with the string,
define the object outside the constructor, just below the definition of the class

public class form1
{

SyntaxHighlightingTextBox shtb = null;

..................
.............
...

and then in the constructor you initialize the object

public form1()
{
InitializeComponent();

shtb = new SyntaxHighlightingTextBox();
...


Andres


"Learn from the mistakes of others.
You can't live long enough to make them all yourself."

"Failure doesn't mean I'm a failure, It does mean I have not yet succeeded;
Failure doesn't mean that I should give up, It does mean that I should try harder;
Failure doesn't mean that I will never make it, It does mean that I need more practice".


Thank you for helping.

AnswerRe: instance does not exist in the current context Pin
Christian Graus30-Apr-07 22:26
protectorChristian Graus30-Apr-07 22:26 
GeneralRe: instance does not exist in the current context Pin
Latheesan1-May-07 5:43
Latheesan1-May-07 5:43 
GeneralRe: instance does not exist in the current context Pin
Christian Graus1-May-07 10:40
protectorChristian Graus1-May-07 10:40 
AnswerRe: instance does not exist in the current context Pin
Latheesan1-May-07 6:03
Latheesan1-May-07 6:03 
QuestionWriting to a network drive - FileIOPermission Pin
andreshs130-Apr-07 17:09
andreshs130-Apr-07 17:09 
QuestionDesign Time Error, problems reading file Pin
Patricker30-Apr-07 16:12
Patricker30-Apr-07 16:12 
AnswerRe: Design Time Error, problems reading file Pin
Luc Pattyn30-Apr-07 23:28
sitebuilderLuc Pattyn30-Apr-07 23:28 
GeneralRe: Design Time Error, problems reading file Pin
Patricker30-Apr-07 23:58
Patricker30-Apr-07 23:58 
QuestionAccessing a method in the Main Form from a user control. Pin
CombatSheep30-Apr-07 15:39
CombatSheep30-Apr-07 15:39 
AnswerRe: Accessing a method in the Main Form from a user control. Pin
Arun.Immanuel30-Apr-07 16:01
Arun.Immanuel30-Apr-07 16:01 
QuestionChanging the connection string of a typed dataset programatically Pin
Rocky#30-Apr-07 15:15
Rocky#30-Apr-07 15:15 
Questionform's opacity Pin
adel_soli30-Apr-07 14:35
adel_soli30-Apr-07 14:35 
AnswerRe: form's opacity Pin
Christian Graus30-Apr-07 14:47
protectorChristian Graus30-Apr-07 14:47 
GeneralRe: form's opacity Pin
adel_soli1-May-07 1:30
adel_soli1-May-07 1:30 
GeneralRe: form's opacity Pin
Christian Graus1-May-07 1:49
protectorChristian Graus1-May-07 1:49 
GeneralRe: form's opacity Pin
adel_soli1-May-07 2:40
adel_soli1-May-07 2:40 
GeneralRe: form's opacity Pin
PIEBALDconsult3-May-07 9:11
mvePIEBALDconsult3-May-07 9:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.