Click here to Skip to main content
15,916,949 members
Home / Discussions / C#
   

C#

 
QuestionMe, again... Confused Again... Pin
Roger Wright8-Dec-09 18:29
professionalRoger Wright8-Dec-09 18:29 
AnswerRe: Me, again... Confused Again... Pin
dan!sh 8-Dec-09 18:46
professional dan!sh 8-Dec-09 18:46 
GeneralRe: Me, again... Confused Again... Pin
Roger Wright8-Dec-09 18:52
professionalRoger Wright8-Dec-09 18:52 
GeneralRe: Me, again... Confused Again... Pin
dan!sh 8-Dec-09 19:11
professional dan!sh 8-Dec-09 19:11 
GeneralRe: Me, again... Confused Again... Pin
Roger Wright8-Dec-09 19:19
professionalRoger Wright8-Dec-09 19:19 
GeneralRe: Me, again... Confused Again... Pin
dan!sh 8-Dec-09 19:20
professional dan!sh 8-Dec-09 19:20 
GeneralRe: Me, again... Confused Again... Pin
Roger Wright8-Dec-09 20:17
professionalRoger Wright8-Dec-09 20:17 
GeneralRe: Me, again... Confused Again... Pin
N a v a n e e t h8-Dec-09 21:09
N a v a n e e t h8-Dec-09 21:09 
Roger Wright wrote:
I guess a variable has to be initialized to a non-null value before it can be initialized to a specific value.


No. There is no restriction like this.

Roger Wright wrote:
My assignment statements were all in the constructor. That seems weird to me, but I can live with it.


You think your problem was the recShow object was null. But since you haven't called InitializeComponents(), the controls are not instantiated and your error was there.

Smile | :)

Best wishes,
Navaneeth

AnswerRe: Me, again... Confused Again... Pin
N a v a n e e t h8-Dec-09 21:05
N a v a n e e t h8-Dec-09 21:05 
Questionhow to i delete the file Pin
Joe Rozario8-Dec-09 17:08
Joe Rozario8-Dec-09 17:08 
AnswerRe: how to i delete the file Pin
SeMartens8-Dec-09 20:52
SeMartens8-Dec-09 20:52 
GeneralRe: how to i delete the file Pin
Joe Rozario8-Dec-09 21:36
Joe Rozario8-Dec-09 21:36 
GeneralRe: how to i delete the file Pin
SeMartens8-Dec-09 21:46
SeMartens8-Dec-09 21:46 
Questionpopulate treeview from database Pin
kruegs358-Dec-09 13:28
kruegs358-Dec-09 13:28 
AnswerRe: populate treeview from database Pin
Richard Blythe8-Dec-09 17:50
Richard Blythe8-Dec-09 17:50 
GeneralRe: populate treeview from database Pin
kruegs359-Dec-09 3:10
kruegs359-Dec-09 3:10 
QuestionReportViewer 2005 C# Printing issue [modified] Pin
.NET4Ever8-Dec-09 12:26
.NET4Ever8-Dec-09 12:26 
QuestionTo be liberal or conservative with virtual methods... Pin
CaptainSeeSharp8-Dec-09 10:13
CaptainSeeSharp8-Dec-09 10:13 
AnswerRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 10:31
mvePIEBALDconsult8-Dec-09 10:31 
GeneralRe: To be liberal or conservative with virtual methods... Pin
CaptainSeeSharp8-Dec-09 10:36
CaptainSeeSharp8-Dec-09 10:36 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 10:39
mvePIEBALDconsult8-Dec-09 10:39 
GeneralRe: To be liberal or conservative with virtual methods... Pin
harold aptroot8-Dec-09 10:41
harold aptroot8-Dec-09 10:41 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 10:47
mvePIEBALDconsult8-Dec-09 10:47 
GeneralRe: To be liberal or conservative with virtual methods... Pin
harold aptroot8-Dec-09 10:55
harold aptroot8-Dec-09 10:55 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 10:57
mvePIEBALDconsult8-Dec-09 10:57 

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.