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

.NET (Core and Framework)

 
Questionforce feedback game graphics - please help Pin
men0aphw25-Feb-07 23:10
men0aphw25-Feb-07 23:10 
QuestionHTTPS POST returning 100 Continue makes the WebClient throw protocol violation exception [modified] Pin
Corneliu Tusnea25-Feb-07 12:57
Corneliu Tusnea25-Feb-07 12:57 
QuestionStrongly named assemblies & 3rd-party COM/OCX Pin
Len Miller25-Feb-07 10:54
Len Miller25-Feb-07 10:54 
Questionintegrating visual studio.net 2003 or 2005 with autocad or 3d studio max Pin
mestkaniasa25-Feb-07 8:53
mestkaniasa25-Feb-07 8:53 
Questionhelp on project biulding Pin
thesad25-Feb-07 3:17
thesad25-Feb-07 3:17 
AnswerRe: help on project biulding Pin
Colin Angus Mackay25-Feb-07 4:03
Colin Angus Mackay25-Feb-07 4:03 
GeneralRe: help on project biulding Pin
thesad25-Feb-07 6:12
thesad25-Feb-07 6:12 
Question.NET Security Configuration Pin
Ian Uy24-Feb-07 16:17
Ian Uy24-Feb-07 16:17 
AnswerRe: .NET Security Configuration Pin
Colin Angus Mackay25-Feb-07 4:02
Colin Angus Mackay25-Feb-07 4:02 
QuestionGeneral question about object reference in .NET Framework Pin
Yanshof24-Feb-07 10:07
Yanshof24-Feb-07 10:07 
AnswerRe: General question about object reference in .NET Framework Pin
Luc Pattyn24-Feb-07 10:59
sitebuilderLuc Pattyn24-Feb-07 10:59 
GeneralRe: General question about object reference in .NET Framework Pin
Yanshof24-Feb-07 19:19
Yanshof24-Feb-07 19:19 
GeneralRe: General question about object reference in .NET Framework Pin
Luc Pattyn24-Feb-07 23:20
sitebuilderLuc Pattyn24-Feb-07 23:20 
QuestionXML inside WebBrowser control causes large delay when unloading the control Pin
Michael Wolski23-Feb-07 3:38
Michael Wolski23-Feb-07 3:38 
AnswerRe: XML inside WebBrowser control causes large delay when unloading the control Pin
Michael Wolski23-Feb-07 3:54
Michael Wolski23-Feb-07 3:54 
QuestionImplementing some broadcast udp protocol Pin
ohad_2923-Feb-07 3:31
ohad_2923-Feb-07 3:31 
QuestionMailMessage.From vs. MailMessage.Sender in .NET 2.0 Pin
SindyatIndy22-Feb-07 6:29
SindyatIndy22-Feb-07 6:29 
AnswerRe: MailMessage.From vs. MailMessage.Sender in .NET 2.0 Pin
Scott Dorman22-Feb-07 18:02
professionalScott Dorman22-Feb-07 18:02 
AnswerRe: Which one is faster? Pin
Pete O'Hanlon21-Feb-07 23:05
mvePete O'Hanlon21-Feb-07 23:05 
GeneralRe: Which one is faster? Pin
Dave Kreskowiak22-Feb-07 3:20
mveDave Kreskowiak22-Feb-07 3:20 
GeneralRe: Which one is faster? Pin
Pete O'Hanlon22-Feb-07 3:43
mvePete O'Hanlon22-Feb-07 3:43 
GeneralRe: Which one is faster? Pin
Scott Dorman22-Feb-07 18:04
professionalScott Dorman22-Feb-07 18:04 
QuestionConverting from Base Class to Child Class Pin
bertvan21-Feb-07 21:43
bertvan21-Feb-07 21:43 
Hello,

I have a class, let's say, Document and a class which inherits from Document: DocumentLinked
DocumentLinked adds an extra property, linkedId

Now I'm searching through a list of documents, and I want to select some of them, and create DocumentLinked-objects out of them. But conversion fails.

I tried Ctype overloading, which, according to the compiler, I cannot do because I would convert from a base-class.

I quite bummed here.

Some code:

Public Class DocumentLinked
    Inherits Document

    Private _linkedId As Integer
    Public Property LinkedId() As Integer
        Get
            Return _linkedId
        End Get
        Set(ByVal value As Integer)
            _linkedId = value
        End Set
    End Property


End Class

'...
' selectedDocument is instance of Document
' linkedDocument is List( Of DocumentLinked)
doc.LinkedDocuments.Add(CType(selectedDocument, DocumentLinked))

AnswerRe: Converting from Base Class to Child Class [modified] Pin
Colin Angus Mackay21-Feb-07 22:16
Colin Angus Mackay21-Feb-07 22:16 
GeneralRe: Converting from Base Class to Child Class Pin
bertvan21-Feb-07 22:40
bertvan21-Feb-07 22:40 

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.