Click here to Skip to main content
15,885,309 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Where can I find the source code of.. Pin
Adam R Harris21-Jul-09 19:02
Adam R Harris21-Jul-09 19:02 
AnswerRe: Where can I find the source code of.. Pin
Christian Graus21-Jul-09 19:44
protectorChristian Graus21-Jul-09 19:44 
AnswerRe: Where can I find the source code of.. Pin
Nagy Vilmos21-Jul-09 23:55
professionalNagy Vilmos21-Jul-09 23:55 
AnswerRe: Where can I find the source code of.. Pin
0x3c022-Jul-09 1:40
0x3c022-Jul-09 1:40 
AnswerRe: Where can I find the source code of.. Pin
Steven J Jowett22-Jul-09 1:56
Steven J Jowett22-Jul-09 1:56 
AnswerRe: Where can I find the source code of.. Pin
Dave Kreskowiak22-Jul-09 4:20
mveDave Kreskowiak22-Jul-09 4:20 
AnswerRe: Where can I find the source code of.. Pin
Paul Conrad25-Jul-09 19:25
professionalPaul Conrad25-Jul-09 19:25 
QuestionUse of Listview Pin
nazimghori21-Jul-09 18:50
nazimghori21-Jul-09 18:50 
Hello Every one,

I am want addition of listview text and display it in label

For eg:

There is one listview and there are 3 records in it (100,200,300)respectively.
now what i want is total of all these records and display it in lable1.text

total =100+200+300(This numeric values comes from database)
label1.text=total

and this should happen each time at listview mouse double click event

I stated below code in listview mouse double click event
Dim Tot As Integer = 0

        For i As Integer = 0 To Me.lstview2.Items.Count - 1
            Tot += CInt(Me.lstview2.SelectedItems(i).SubItems(i).Text)
            Tot += CInt(Me.lstview2.SelectedItems(i).SubItems(i).Text)
        Next

        Me.Label1.Text = Tot

but this only gives me position of the selected text
So how shall i approach please suggest...

Thank You Smile | :) Smile | :) Smile | :)
AnswerRe: Use of Listview Pin
tosch21-Jul-09 23:04
tosch21-Jul-09 23:04 
QuestionC# and vb.net in same .dll? Pin
cstrader23221-Jul-09 15:02
cstrader23221-Jul-09 15:02 
AnswerRe: C# and vb.net in same .dll? Pin
Christian Graus21-Jul-09 15:48
protectorChristian Graus21-Jul-09 15:48 
GeneralRe: C# and vb.net in same .dll? Pin
Adam R Harris21-Jul-09 19:03
Adam R Harris21-Jul-09 19:03 
GeneralRe: C# and vb.net in same .dll? Pin
cstrader23222-Jul-09 1:01
cstrader23222-Jul-09 1:01 
QuestionCustom Actions VS2005 Windows Installer Pin
Cory Kimble21-Jul-09 9:35
Cory Kimble21-Jul-09 9:35 
AnswerRe: Custom Actions VS2005 Windows Installer Pin
Jack Vanderhorst27-Jul-09 15:08
Jack Vanderhorst27-Jul-09 15:08 
QuestionVBA Function Calls Pin
Gordon2721-Jul-09 8:00
Gordon2721-Jul-09 8:00 
AnswerRe: VBA Function Calls Pin
David Mujica21-Jul-09 8:16
David Mujica21-Jul-09 8:16 
QuestionFK constraint error when filling parent adaptor with parameterized stored procedure Pin
tcd6721-Jul-09 6:47
tcd6721-Jul-09 6:47 
AnswerRe: FK constraint error when filling parent adaptor with parameterized stored procedure Pin
Mycroft Holmes21-Jul-09 17:02
professionalMycroft Holmes21-Jul-09 17:02 
AnswerRe: FK constraint error when filling parent adaptor with parameterized stored procedure Pin
tcd6722-Jul-09 9:53
tcd6722-Jul-09 9:53 
QuestionSubroutine Pin
abcurl21-Jul-09 6:23
abcurl21-Jul-09 6:23 
AnswerRe: Subroutine Pin
Dave Kreskowiak21-Jul-09 8:27
mveDave Kreskowiak21-Jul-09 8:27 
AnswerRe: Subroutine Pin
Christian Graus21-Jul-09 10:22
protectorChristian Graus21-Jul-09 10:22 
AnswerRe: Subroutine Pin
EliottA22-Jul-09 6:07
EliottA22-Jul-09 6:07 
GeneralRe: Subroutine Pin
DoctorMick22-Jul-09 6:22
DoctorMick22-Jul-09 6:22 

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.