Click here to Skip to main content
15,912,400 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow can I extract icon from DLL or EXE file ? Pin
Glen Liu20-Nov-06 12:43
Glen Liu20-Nov-06 12:43 
AnswerRe: How can I extract icon from DLL or EXE file ? Pin
Luc Pattyn21-Nov-06 4:43
sitebuilderLuc Pattyn21-Nov-06 4:43 
GeneralRe: How can I extract icon from DLL or EXE file ? Pin
Glen Liu21-Nov-06 4:53
Glen Liu21-Nov-06 4:53 
GeneralCalling .NET with COM with out Interoperability? [modified] Pin
mitchellguzman20-Nov-06 12:01
professionalmitchellguzman20-Nov-06 12:01 
GeneralRe: Calling .NET with COM with out Interoperability? Pin
Judah Gabriel Himango20-Nov-06 12:19
sponsorJudah Gabriel Himango20-Nov-06 12:19 
GeneralRe: Calling .NET with COM with out Interoperability? Pin
Christian Graus20-Nov-06 12:22
protectorChristian Graus20-Nov-06 12:22 
GeneralRe: Calling .NET with COM with out Interoperability? Pin
Christian Graus20-Nov-06 20:22
protectorChristian Graus20-Nov-06 20:22 
QuestionQuestion on DataReader Class Pin
harshGupta20-Nov-06 9:44
harshGupta20-Nov-06 9:44 
Hello,

This is my first message here, so my Hello to you all again!!Smile | :)

This question is not quite related to coding, not directly atleast. I am just curious to know how DataReader class in .Net works??

Scenario is:

We do not call the constructor of DataReader class, this means that its constructor is marked "Private". Rather we use a Method, "ExecuteReader" of another Class "Command" while creating DataReader's object.

I am trying to mimic this thing. I can do this easily if ExecuteReader method belongs to the same class i.e. DataReader, but I have no idea how to implement the same technique using 2 seperate classes.

Command.ExecuteReader method returns a DataReader object, but does it also calls its constructor?

Inheriting DataReader Class is not possible because it is also marked "Sealed", so how can I implement the same thing??

Thank you.
Hope I have put the question well!! Roll eyes | :rolleyes:

---
HARSH GUPTA
AnswerRe: Question on DataReader Class Pin
Guffa20-Nov-06 10:11
Guffa20-Nov-06 10:11 
GeneralRe: Question on DataReader Class Pin
harshGupta20-Nov-06 10:19
harshGupta20-Nov-06 10:19 
GeneralRe: Question on DataReader Class Pin
Robert Rohde20-Nov-06 11:34
Robert Rohde20-Nov-06 11:34 
GeneralRe: Question on DataReader Class Pin
harshGupta21-Nov-06 3:46
harshGupta21-Nov-06 3:46 
AnswerRe: Question on DataReader Class Pin
Guffa20-Nov-06 21:00
Guffa20-Nov-06 21:00 
QuestionCan we access private variables using reflection ? Pin
Sreenath Madyastha20-Nov-06 9:09
Sreenath Madyastha20-Nov-06 9:09 
AnswerRe: Can we access private variables using reflection ? Pin
Christopher Duncan20-Nov-06 9:10
Christopher Duncan20-Nov-06 9:10 
AnswerRe: Can we access private variables using reflection ? Pin
Jeremy Falcon20-Nov-06 9:10
professionalJeremy Falcon20-Nov-06 9:10 
GeneralRe: Can we access private variables using reflection ? Pin
Sreenath Madyastha20-Nov-06 9:12
Sreenath Madyastha20-Nov-06 9:12 
GeneralRe: Can we access private variables using reflection ? Pin
Christian Graus20-Nov-06 9:23
protectorChristian Graus20-Nov-06 9:23 
GeneralRe: Can we access private variables using reflection ? Pin
Irshad Sulaimani21-Nov-06 0:45
Irshad Sulaimani21-Nov-06 0:45 
AnswerRe: Can we access private variables using reflection ? Pin
Chris Losinger20-Nov-06 9:11
professionalChris Losinger20-Nov-06 9:11 
GeneralRe: Can we access private variables using reflection ? Pin
Sreenath Madyastha20-Nov-06 9:13
Sreenath Madyastha20-Nov-06 9:13 
AnswerRe: Can we access private variables using reflection ? Pin
Christian Graus20-Nov-06 9:11
protectorChristian Graus20-Nov-06 9:11 
GeneralRe: Can we access private variables using reflection ? Pin
Sreenath Madyastha20-Nov-06 9:15
Sreenath Madyastha20-Nov-06 9:15 
AnswerRe: Can we access private variables using reflection ? Pin
Clickok20-Nov-06 9:13
Clickok20-Nov-06 9:13 
AnswerRe: Can we access private variables using reflection ? Pin
Nish Nishant20-Nov-06 9:17
sitebuilderNish Nishant20-Nov-06 9:17 

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.