Visual Basic 6.0

Description

Visual Basic (VB) is the third-generation event-driven programming language and associated development environment (IDE) from Microsoft for its COM programming model.

Listview Problem

Submitted by vahiduddin on
Hi All, I am trying to develop a project in which i need to add imaged to list view control list if my sub item have 10 records it shoud show me 10 images beside that sub item if i can relate it then it would be some thingk like nsdcombo if any one can help me plz i would be very happy to hear from some one thanks

Problem in MSGBOX

Submitted by ksrinu2007 on
If .Checked Then iChecked = 0 iChecked = iChecked + 1 iCount = iChecked msgbox ("No. of Records Selected are: "&iCount,vbOKOnly) I coded the above code, but it is showing compile error "Expected: =", actually i want to display the icount value in msgbox....so please get me a solution

to admin

Submitted by jaycruz on
Private Function Total() As Double Dim tot As Double = 0 Dim i As Integer = 0 For i = 0 To PaymentsDataGridView.Rows.Count - 1 tot = tot + Convert.ToDouble(PaymentsDataGridView.Rows(i).Cells("Amount").Value) Next i Return tot End Function

how to sum a particular column in a datagrid

Submitted by jaycruz on
can someone pls help me.. i want to know how to sum a particular column in a datagrid let say for example i have a datagrid that contains all the column "ID","Food","Amount" how can i sum the "Amount" column by clicking a combox that i also use for search of a particular food.. ie. ID FOOD AMOUNT 1 aa 50.00 2 bb 55.00 3 bb 55.00

Data Report problem!!!!

Submitted by ricson on
Sir i have a problem a to get the sum of the two data in report footer section 5 sir it's possible to get the sum of data even if they store also in report footer!i dont know the codes for that!!! I have the total Of material Cost and Total of Labor Cost in report footer section five!but the problem is I want to get Total Cost = total material cost + total labor cost!o dont know