Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
QuestionSelect an area in photoshop from a C# project Pin
Bauke Tilma26-Aug-06 0:29
Bauke Tilma26-Aug-06 0:29 
QuestionRe: Select an area in photoshop from a C# project Pin
Nader Elshehabi26-Aug-06 2:21
Nader Elshehabi26-Aug-06 2:21 
QuestionDataGrid Pin
MozhdehQeraati26-Aug-06 0:29
MozhdehQeraati26-Aug-06 0:29 
AnswerRe: DataGrid Pin
Nader Elshehabi26-Aug-06 2:31
Nader Elshehabi26-Aug-06 2:31 
QuestionResulation Pin
MHASSANF25-Aug-06 23:26
MHASSANF25-Aug-06 23:26 
AnswerRe: Resulation Pin
Nader Elshehabi26-Aug-06 2:50
Nader Elshehabi26-Aug-06 2:50 
QuestionHow can I show each page sum colon in Crystal Reports? Pin
ersinsivaz25-Aug-06 23:12
ersinsivaz25-Aug-06 23:12 
QuestionClosing a form - Tooltips Pin
Glen Harvy25-Aug-06 22:54
Glen Harvy25-Aug-06 22:54 
Hi,

I have just added a tooltip component to a form and after I set a tooltip text, whenever I close the form I keep getting an "Object not set to an instance of an object" error message on closing the form.

protected override void Dispose(bool disposing)<br />
{<br />
  if (disposing && (components != null))<br />
  {<br />
    components.Dispose();<br />
  }<br />
  base.Dispose(disposing); < --- "Object not set to an instance of object" error here<br />
}


Here's the code that I use to close the form :-

private void buttonFinished_Click(object sender, EventArgs e)<br />
{<br />
  Dispose();<br />
  this.Close();<br />
}


This only occurs if I set the text for a tooltip. If I don't set any text no error is thrown.

What gives? - Any ideas



Glen Harvy

AnswerRe: Closing a form - Tooltips Pin
Filip van der Meeren25-Aug-06 23:14
Filip van der Meeren25-Aug-06 23:14 
GeneralRe: Closing a form - Tooltips Pin
Glen Harvy25-Aug-06 23:29
Glen Harvy25-Aug-06 23:29 
GeneralRe: Closing a form - Tooltips Pin
Filip van der Meeren26-Aug-06 1:07
Filip van der Meeren26-Aug-06 1:07 
QuestionMultiThreading - Synchronization issues Pin
madhusri25-Aug-06 21:13
madhusri25-Aug-06 21:13 
AnswerRe: MultiThreading - Synchronization issues Pin
Nader Elshehabi27-Aug-06 11:07
Nader Elshehabi27-Aug-06 11:07 
QuestionEnumerate local pcs , workgroups etc...(PLEASE HELP) Pin
giddy_guitarist25-Aug-06 21:06
giddy_guitarist25-Aug-06 21:06 
AnswerRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
Nader Elshehabi26-Aug-06 3:08
Nader Elshehabi26-Aug-06 3:08 
GeneralRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
giddy_guitarist26-Aug-06 8:11
giddy_guitarist26-Aug-06 8:11 
GeneralRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
giddy_guitarist31-Aug-06 9:00
giddy_guitarist31-Aug-06 9:00 
GeneralRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
Nader Elshehabi31-Aug-06 10:29
Nader Elshehabi31-Aug-06 10:29 
GeneralRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
giddy_guitarist31-Aug-06 19:46
giddy_guitarist31-Aug-06 19:46 
AnswerRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
Nader Elshehabi1-Sep-06 5:05
Nader Elshehabi1-Sep-06 5:05 
GeneralRe: Enumerate local pcs , workgroups etc...(PLEASE HELP) Pin
giddy_guitarist5-Sep-06 8:19
giddy_guitarist5-Sep-06 8:19 
QuestionSending and Recieving Fax using ASP.Net, C# Pin
TestPager25-Aug-06 19:10
TestPager25-Aug-06 19:10 
QuestionHow to set the visibility of label item in StatusToolStrip control? Pin
rasper25-Aug-06 18:01
rasper25-Aug-06 18:01 
AnswerRe: How to set the visibility of label item in StatusToolStrip control? Pin
Nader Elshehabi26-Aug-06 3:17
Nader Elshehabi26-Aug-06 3:17 
Questionquestion about Timer Tick event Pin
likefood25-Aug-06 12:30
likefood25-Aug-06 12:30 

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.