Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: IPaddress control Pin
Stefan Troschuetz8-Nov-06 0:31
Stefan Troschuetz8-Nov-06 0:31 
QuestionUNhandled Exception of Type System.NullReferenceException Pin
signimage7-Nov-06 23:14
signimage7-Nov-06 23:14 
In my project two forms(form1 and form2)
when from form1 i try to Access any object of from2 then it give me error that object reference not set to an instance of object,
me using following way
in form1 i create the obg of from2 as
from2 f=new fomr2();
Bitmap b=(Bitmap)f.pictureBox1.Image;
if(b.GetPixel(100,100)==-1)
{//code}
it give the abovemention error in if statement when i try to accec the pixels of that object.
What should i do?????????
AnswerRe: UNhandled Exception of Type System.NullReferenceException Pin
Colin Angus Mackay7-Nov-06 23:20
Colin Angus Mackay7-Nov-06 23:20 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
signimage7-Nov-06 23:31
signimage7-Nov-06 23:31 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
Colin Angus Mackay8-Nov-06 0:00
Colin Angus Mackay8-Nov-06 0:00 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
signimage8-Nov-06 0:11
signimage8-Nov-06 0:11 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
signimage8-Nov-06 0:02
signimage8-Nov-06 0:02 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
Colin Angus Mackay8-Nov-06 0:06
Colin Angus Mackay8-Nov-06 0:06 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
signimage8-Nov-06 0:14
signimage8-Nov-06 0:14 
GeneralRe: UNhandled Exception of Type System.NullReferenceException Pin
Colin Angus Mackay8-Nov-06 0:37
Colin Angus Mackay8-Nov-06 0:37 
QuestionHow to Display required text in richtextbox... Pin
IamHuM7-Nov-06 23:04
IamHuM7-Nov-06 23:04 
AnswerRe: How to Display required text in richtextbox... Pin
_mubashir7-Nov-06 23:41
_mubashir7-Nov-06 23:41 
AnswerRe: How to Display required text in richtextbox... Pin
saqib827-Nov-06 23:55
saqib827-Nov-06 23:55 
GeneralRe: How to Display required text in richtextbox... Pin
IamHuM8-Nov-06 0:04
IamHuM8-Nov-06 0:04 
QuestionHow to make customer event Pin
Murtuza Husain Miyan Patel7-Nov-06 20:24
professionalMurtuza Husain Miyan Patel7-Nov-06 20:24 
AnswerRe: How to make customer event Pin
Christian Graus7-Nov-06 20:39
protectorChristian Graus7-Nov-06 20:39 
Questiondirectory in c# Pin
saqib827-Nov-06 19:36
saqib827-Nov-06 19:36 
AnswerRe: directory in c# Pin
abhinish7-Nov-06 20:07
abhinish7-Nov-06 20:07 
AnswerRe: directory in c# Pin
Christian Graus7-Nov-06 20:40
protectorChristian Graus7-Nov-06 20:40 
GeneralRe: directory in c# Pin
saqib827-Nov-06 21:02
saqib827-Nov-06 21:02 
QuestionQuestion about textbox Pin
MHASSANF7-Nov-06 19:08
MHASSANF7-Nov-06 19:08 
AnswerRe: Question about textbox Pin
saqib827-Nov-06 19:46
saqib827-Nov-06 19:46 
GeneralRe: Question about textbox Pin
MHASSANF8-Nov-06 1:25
MHASSANF8-Nov-06 1:25 
AnswerRe: Question about textbox Pin
aamironline7-Nov-06 20:07
aamironline7-Nov-06 20:07 
QuestionRe: Question about textbox Pin
MHASSANF8-Nov-06 1:19
MHASSANF8-Nov-06 1:19 

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.