Click here to Skip to main content
15,905,776 members
Home / Discussions / C#
   

C#

 
Questionhow to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
yogita charhate8-Nov-06 0:36
yogita charhate8-Nov-06 0:36 
AnswerRe: how to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
Colin Angus Mackay8-Nov-06 0:44
Colin Angus Mackay8-Nov-06 0:44 
GeneralRe: how to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
yogita charhate8-Nov-06 1:27
yogita charhate8-Nov-06 1:27 
QuestionHow Create Nonrectangular form in c#.net 2005 Pin
mohammadSoft8-Nov-06 0:30
mohammadSoft8-Nov-06 0:30 
AnswerRe: How Create Nonrectangular form in c#.net 2005 Pin
c_onica8-Nov-06 2:14
c_onica8-Nov-06 2:14 
QuestionHow to access from objects from other class Pin
signimage8-Nov-06 0:26
signimage8-Nov-06 0:26 
AnswerRe: How to access from objects from other class Pin
Colin Angus Mackay8-Nov-06 0:42
Colin Angus Mackay8-Nov-06 0:42 
AnswerRe: How to access from objects from other class Pin
quiteSmart8-Nov-06 0:56
quiteSmart8-Nov-06 0:56 
AnswerRe: How to access from objects from other class Pin
Mairaaj Khan8-Nov-06 1:07
professionalMairaaj Khan8-Nov-06 1:07 
AnswerRe: How to access from objects from other class Pin
mohammadSoft8-Nov-06 1:38
mohammadSoft8-Nov-06 1:38 
Questionhow to use TableAdapter in VC# 2005 ? Pin
hdv2128-Nov-06 0:26
hdv2128-Nov-06 0:26 
AnswerRe: how to use TableAdapter in VC# 2005 ? Pin
quiteSmart8-Nov-06 1:02
quiteSmart8-Nov-06 1:02 
Questionhow to convert char[] to byte[] without loss of data Pin
Hemant kulkarni7-Nov-06 23:52
Hemant kulkarni7-Nov-06 23:52 
AnswerRe: how to convert char[] to byte[] without loss of data Pin
ThatsAlok8-Nov-06 0:01
ThatsAlok8-Nov-06 0:01 
AnswerRe: how to convert char[] to byte[] without loss of data Pin
stancrm8-Nov-06 0:35
stancrm8-Nov-06 0:35 
AnswerRe: how to convert char[] to byte[] without loss of data Pin
Guffa8-Nov-06 2:35
Guffa8-Nov-06 2:35 
GeneralIPaddress control Pin
ThatsAlok7-Nov-06 23:48
ThatsAlok7-Nov-06 23:48 
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 
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 
signimage wrote:
PictureBox take its image from file and i m sure that pictureBox has its image,this is not empty pictureBox but still it give thte above mentioned error


Obviously, it is an empty picture box at the time you are running your code otherwise you would not be getting the error.

Since you don't seem to be doing anything else with the form (at least from the code you provided) then I would suggest that you probably don't need the form anyway. Perhaps you just need to instantiate a Bitmap with the relevant file and use that.


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 

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.