Click here to Skip to main content
15,893,487 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Where to download Sheridan Ultragrid 1.0 installer? Pin
Christian Graus5-Mar-08 22:38
protectorChristian Graus5-Mar-08 22:38 
GeneralRe: Where to download Sheridan Ultragrid 1.0 installer? Pin
hifiger20045-Mar-08 22:54
hifiger20045-Mar-08 22:54 
GeneralRe: Where to download Sheridan Ultragrid 1.0 installer? Pin
Christian Graus5-Mar-08 23:02
protectorChristian Graus5-Mar-08 23:02 
Questionobject to interface casting [modified] Pin
shadow_25-Mar-08 22:04
professionalshadow_25-Mar-08 22:04 
GeneralRe: object to interface casting Pin
Christian Graus5-Mar-08 22:08
protectorChristian Graus5-Mar-08 22:08 
JokeRe: object to interface casting Pin
shadow_27-Mar-08 2:55
professionalshadow_27-Mar-08 2:55 
GeneralRe: object to interface casting Pin
Dave Kreskowiak6-Mar-08 7:52
mveDave Kreskowiak6-Mar-08 7:52 
GeneralRe: object to interface casting Pin
shadow_26-Mar-08 22:42
professionalshadow_26-Mar-08 22:42 
hello dave.

see for yourself (i shortened it down to the necessary things) Smile | :)

Public Interface IGridMarkable
    ReadOnly Property sort() As Short
    Property valid() As SqlBoolean
    ReadOnly Property must() As Boolean
End Interface

Public Class product
        Implements IGridMarkable

#Region "private member vars"        
        Private _sort As Long        
        Private _valid As SqlBoolean = SqlBoolean.Null
        Private _must As Boolean        
#End Region

#Region "properties"
        Public ReadOnly Property sort() As Short Implements IGridMarkable.sort
            Get
                Return Me._sort
            End Get
        End Property
        Public ReadOnly Property must() As Boolean Implements IGridMarkable.must
            Get
                Return _must
            End Get
        End Property
        Public Property valid() As SqlBoolean Implements IGridMarkable.valid
            Get
                Return _valid
            End Get
            Set(ByVal value As SqlBoolean)
#If DEBUG Then
                Debug.WriteLine("Produkt: " + Me.sort.ToString + " valid: " + value.ToString)
#End If
                _valid = value
            End Set
        End Property
#End Region
End Class


Could it be that the problem lies in trying to cast the collection instead of one single product?

steffen.
GeneralRe: object to interface casting Pin
Dave Kreskowiak7-Mar-08 3:12
mveDave Kreskowiak7-Mar-08 3:12 
GeneralRe: object to interface casting Pin
shadow_27-Mar-08 4:10
professionalshadow_27-Mar-08 4:10 
NewsRe: object to interface casting Pin
shadow_27-Mar-08 2:58
professionalshadow_27-Mar-08 2:58 
GeneralWindowless ActiveX controls are not supported Pin
tjskcp5-Mar-08 15:51
tjskcp5-Mar-08 15:51 
GeneralRe: Windowless ActiveX controls are not supported Pin
Christian Graus5-Mar-08 16:29
protectorChristian Graus5-Mar-08 16:29 
GeneralRe: Windowless ActiveX controls are not supported Pin
tjskcp5-Mar-08 17:08
tjskcp5-Mar-08 17:08 
GeneralRe: Windowless ActiveX controls are not supported Pin
Christian Graus5-Mar-08 21:40
protectorChristian Graus5-Mar-08 21:40 
QuestionHow do I exit a loop early Pin
AAGTHosting5-Mar-08 14:09
AAGTHosting5-Mar-08 14:09 
AnswerRe: How do I exit a loop early Pin
Christian Graus5-Mar-08 14:12
protectorChristian Graus5-Mar-08 14:12 
GeneralRe: How do I exit a loop early Pin
AAGTHosting5-Mar-08 14:26
AAGTHosting5-Mar-08 14:26 
GeneralRe: How do I exit a loop early Pin
Christian Graus5-Mar-08 16:47
protectorChristian Graus5-Mar-08 16:47 
AnswerRe: How do I exit a loop early Pin
Nilesh Hapse5-Mar-08 18:29
Nilesh Hapse5-Mar-08 18:29 
GeneralDisplay table relations in datagridview Pin
regedit5-Mar-08 7:27
regedit5-Mar-08 7:27 
QuestionChallenging Crystal Reports / .NET Windows application question Pin
KreativeKai5-Mar-08 6:19
professionalKreativeKai5-Mar-08 6:19 
AnswerRe: Challenging Crystal Reports / .NET Windows application question [modified] Pin
KreativeKai5-Mar-08 8:17
professionalKreativeKai5-Mar-08 8:17 
GeneralRe: Challenging Crystal Reports / .NET Windows application question Pin
codemunch5-Mar-08 9:28
codemunch5-Mar-08 9:28 
GeneralRe: Challenging Crystal Reports / .NET Windows application question Pin
KreativeKai6-Mar-08 2:45
professionalKreativeKai6-Mar-08 2:45 

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.