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

.NET (Core and Framework)

 
Questionconnection between matlab and Vb6 Pin
G. S. Doiphode31-Mar-10 19:12
G. S. Doiphode31-Mar-10 19:12 
AnswerRe: connection between matlab and Vb6 Pin
Richard MacCutchan31-Mar-10 23:02
mveRichard MacCutchan31-Mar-10 23:02 
AnswerRe: connection between matlab and Vb6 Pin
Dave Kreskowiak1-Apr-10 3:12
mveDave Kreskowiak1-Apr-10 3:12 
QuestionAllow/Disallow a user from changing system time Pin
Aseem Sharma31-Mar-10 17:19
Aseem Sharma31-Mar-10 17:19 
AnswerRe: [Cross Post] Allow/Disallow a user from changing system time Pin
Nuri Ismail31-Mar-10 22:14
Nuri Ismail31-Mar-10 22:14 
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 
I have a MustInherit class A, something like
Public MustInherit Class A
    
    Protected A as Integer

    Public Sub New(ByVal X As Integer)
        A=X
    End Sub

    Public MustOverride Sub B()

End Class


and I want the declared constructor to be used for any derived classes. However, in derived classes, like
Public Class D
    Inherits A

    Public Sub B()
        A+=2
    End Sub

End Class


VS gives me an error, saying that there is no constructor in A that can be called without any arguments. Is there any way I can inherit the constructor?
~ Soumya92

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 
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 

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.