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

.NET (Core and Framework)

 
QuestionPointToScreen and multiple monitors Pin
vlasto7731-Mar-10 1:17
vlasto7731-Mar-10 1:17 
Answer[Cross Post] PointToScreen and multiple monitors Pin
Scott Dorman31-Mar-10 3:28
professionalScott Dorman31-Mar-10 3:28 
QuestionConstructor in MustInherit Class Pin
Soumya9230-Mar-10 19:35
Soumya9230-Mar-10 19:35 
AnswerRe: Constructor in MustInherit Class Pin
Eddy Vluggen31-Mar-10 2:18
professionalEddy Vluggen31-Mar-10 2:18 
AnswerRe: Constructor in MustInherit Class Pin
Wayne Gaylard31-Mar-10 2:25
professionalWayne Gaylard31-Mar-10 2:25 
GeneralRe: Constructor in MustInherit Class Pin
Soumya9231-Mar-10 5:50
Soumya9231-Mar-10 5:50 
GeneralRe: Constructor in MustInherit Class Pin
Eddy Vluggen31-Mar-10 5:56
professionalEddy Vluggen31-Mar-10 5:56 
AnswerRe: Constructor in MustInherit Class Pin
Ian Shlasko31-Mar-10 9:32
Ian Shlasko31-Mar-10 9:32 
In other words, you want to be able to create a new "D" using the constructor defined in "A"?

Short answer... You can't. Constructors don't inherit in .NET... You have to explicitly call them in a constructor in "D".
Public Sub New(ByVal X as Integer)
  MyBase.New(X)
End Sub


If you have a lot of these subclasses, then you might want to move the initialization code out of the constructor and into an Initialize(X) sub that you could call after instantiating it. Easy enough to set a boolean flag so it can only be called once.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Constructor in MustInherit Class Pin
Soumya921-Apr-10 0:13
Soumya921-Apr-10 0:13 
GeneralRe: Constructor in MustInherit Class Pin
Ian Shlasko1-Apr-10 1:37
Ian Shlasko1-Apr-10 1:37 
Questionexe Assembly patch/hook/injection Pin
jose30-Mar-10 7:17
jose30-Mar-10 7:17 
AnswerRe: exe Assembly patch/hook/injection Pin
jose31-Mar-10 23:30
jose31-Mar-10 23:30 
QuestionDifference between .Net and VC dll delayload? Pin
alias001829-Mar-10 22:44
alias001829-Mar-10 22:44 
AnswerRe: Difference between .Net and VC dll delayload? Pin
Super Lloyd31-Mar-10 18:31
Super Lloyd31-Mar-10 18:31 
QuestionReading redirected error stream of a Process [modified] Pin
PIEBALDconsult29-Mar-10 12:05
mvePIEBALDconsult29-Mar-10 12:05 
AnswerRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 1:01
sitebuilderLuc Pattyn30-Mar-10 1:01 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult30-Mar-10 4:37
mvePIEBALDconsult30-Mar-10 4:37 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 5:06
sitebuilderLuc Pattyn30-Mar-10 5:06 
GeneralRe: Reading redirected error stream of a Process [modified] Pin
PIEBALDconsult30-Mar-10 5:43
mvePIEBALDconsult30-Mar-10 5:43 
AnswerRe: Reading redirected error stream of a Process Pin
PIEBALDconsult30-Mar-10 16:42
mvePIEBALDconsult30-Mar-10 16:42 
AnswerRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 17:49
sitebuilderLuc Pattyn30-Mar-10 17:49 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult31-Mar-10 5:11
mvePIEBALDconsult31-Mar-10 5:11 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn31-Mar-10 6:00
sitebuilderLuc Pattyn31-Mar-10 6:00 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult31-Mar-10 8:16
mvePIEBALDconsult31-Mar-10 8:16 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn31-Mar-10 8:32
sitebuilderLuc Pattyn31-Mar-10 8:32 

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.