Click here to Skip to main content
15,890,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how do i get the exe reference (dll) files using vb.net Pin
Dave Kreskowiak10-Feb-09 3:39
mveDave Kreskowiak10-Feb-09 3:39 
Questionread keyboard wedge scanner in vb.net Pin
Member 37427839-Feb-09 8:05
Member 37427839-Feb-09 8:05 
AnswerRe: read keyboard wedge scanner in vb.net Pin
Dave Kreskowiak9-Feb-09 12:06
mveDave Kreskowiak9-Feb-09 12:06 
AnswerRe: read keyboard wedge scanner in vb.net Pin
Maxwell Barrett10-Feb-09 4:22
Maxwell Barrett10-Feb-09 4:22 
GeneralRe: read keyboard wedge scanner in vb.net Pin
Member 374278310-Feb-09 4:38
Member 374278310-Feb-09 4:38 
GeneralRe: read keyboard wedge scanner in vb.net Pin
Maxwell Barrett10-Feb-09 5:40
Maxwell Barrett10-Feb-09 5:40 
QuestionCross thread operation not valid: Pin
Muhammad Fahim Baloch9-Feb-09 5:26
Muhammad Fahim Baloch9-Feb-09 5:26 
QuestionReferencing question Pin
kanchoette9-Feb-09 3:41
kanchoette9-Feb-09 3:41 
I have a helper class to strongly type data:

Public Class SupplierTrans
    Private _date As Date
    Private _period As Integer
    Private _year As Integer
    Private _type As String
    Private _reference As String
    Private _portfolio As String
    Private _netamount As Decimal
    Private _taxAmount As Decimal
    Private _paidAmount As Decimal

    Public Sub New(ByVal transdate As Date, ByVal period As Integer, ByVal year As Integer, ByVal type As String, ByVal reference As String, ByVal portfolio As String, ByVal netamount As Decimal, ByVal taxamount As Decimal, ByVal paidamount As Decimal)
        _date = transdate
        _period = period
        _year = year
        _type = type
        _reference = reference
        _portfolio = portfolio
        _netamount = netamount
        _taxAmount = taxamount
        _paidAmount = paidamount
    End Sub

    Public ReadOnly Property TransDate() As Date
        Get
            Return _date
        End Get
    End Property

    Public ReadOnly Property Period() As Integer
        Get
            Return _period
        End Get
    End Property

    Public ReadOnly Property Year() As Integer
        Get
            Return _year
        End Get
    End Property

    Public ReadOnly Property Type() As String
        Get
            Return _type
        End Get
    End Property

    Public ReadOnly Property Reference() As String
        Get
            Return _reference
        End Get
    End Property

    Public ReadOnly Property Portfolio() As String
        Get
            Return _portfolio
        End Get
    End Property

    Public ReadOnly Property NetAmount() As Decimal
        Get
            Return _netamount
        End Get
    End Property

    Public ReadOnly Property TaxAmount() As Decimal
        Get
            Return _taxAmount
        End Get
    End Property

    Public ReadOnly Property PaidAmount() As Decimal
        Get
            Return _paidAmount
        End Get
    End Property
End Class


I am using LINQ to query a generic list (transactions):

Dim tranItems = (From trans In transactions Order By trans.TranDate Group trans By trans.SourceID Into grouping = Group Select New SupplierTrans()).ToList()

but am having touble in referencing the transactions columns within the
'Select New SupplierTrans()' section.
I have tried

Select New SupplierTrans(TranDate ...) without success. The columns (TranDate etc) as now shown in the context hinting. How can I correctly reference these items please?
AnswerRe: Referencing question Pin
EliottA9-Feb-09 5:48
EliottA9-Feb-09 5:48 
AnswerRe: Referencing question Pin
Gideon Engelberth9-Feb-09 16:30
Gideon Engelberth9-Feb-09 16:30 
QuestionErr:"The semaphore timeout period has expired"-Using Port Pin
scothyhut9-Feb-09 1:01
scothyhut9-Feb-09 1:01 
AnswerRe: Err:"The semaphore timeout period has expired"-Using Port Pin
Dave Kreskowiak9-Feb-09 7:55
mveDave Kreskowiak9-Feb-09 7:55 
QuestionHow to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d8-Feb-09 19:16
kvelu.d8-Feb-09 19:16 
AnswerRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
MohammadAmiry8-Feb-09 19:19
MohammadAmiry8-Feb-09 19:19 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d9-Feb-09 0:31
kvelu.d9-Feb-09 0:31 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
kvelu.d9-Feb-09 0:35
kvelu.d9-Feb-09 0:35 
GeneralRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
MohammadAmiry9-Feb-09 1:11
MohammadAmiry9-Feb-09 1:11 
AnswerRe: How to use third party dll at runtime with help of (dll) file path and procedure name Pin
Steven J Jowett8-Feb-09 22:29
Steven J Jowett8-Feb-09 22:29 
QuestionWhat could cause not to show some international characters in the listview if it was showing before? Pin
JUNEYT8-Feb-09 8:53
JUNEYT8-Feb-09 8:53 
AnswerRe: What could cause not to show some international characters in the listview if it was showing before? Pin
Steven J Jowett8-Feb-09 22:35
Steven J Jowett8-Feb-09 22:35 
GeneralRe: What could cause not to show some international characters in the listview if it was showing before? Pin
JUNEYT8-Feb-09 23:34
JUNEYT8-Feb-09 23:34 
QuestionHow to determine if it is a file or directory for an item under a folder? [modified] Pin
JUNEYT8-Feb-09 7:22
JUNEYT8-Feb-09 7:22 
GeneralRe: How to determine if it is a file or directory for an item under a folder? Pin
Luc Pattyn8-Feb-09 8:01
sitebuilderLuc Pattyn8-Feb-09 8:01 
GeneralRe: How to determine if it is a file or directory for an item under a folder? Pin
MohammadAmiry8-Feb-09 19:26
MohammadAmiry8-Feb-09 19:26 
AnswerRe: How to determine if it is a file or directory for an item under a folder? Pin
MohammadAmiry8-Feb-09 19:24
MohammadAmiry8-Feb-09 19:24 

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.