Click here to Skip to main content
15,892,517 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
Dave Kreskowiak4-Apr-08 1:43
mveDave Kreskowiak4-Apr-08 1:43 
Questiongiving permissions to user to write/read the files Pin
vijaylumar2-Apr-08 1:02
vijaylumar2-Apr-08 1:02 
GeneralRe: giving permissions to user to write/read the files Pin
Dave Kreskowiak2-Apr-08 3:38
mveDave Kreskowiak2-Apr-08 3:38 
Generalfor CrystalReport Pin
Krazy Programmer2-Apr-08 0:13
Krazy Programmer2-Apr-08 0:13 
GeneralConvert an Image, encoded in hex, back to an image file Pin
ESTAN2-Apr-08 0:12
ESTAN2-Apr-08 0:12 
GeneralRe: Convert an Image, encoded in hex, back to an image file Pin
ESTAN2-Apr-08 0:41
ESTAN2-Apr-08 0:41 
GeneralRe: Convert an Image, encoded in hex, back to an image file Pin
Luc Pattyn2-Apr-08 0:55
sitebuilderLuc Pattyn2-Apr-08 0:55 
GeneralArray to listbox an back to an array Pin
Fatboy581-Apr-08 23:58
Fatboy581-Apr-08 23:58 
Hi,
Just started vb 2005

I need to load items from an 2 dim array in a listbox, then select items in to another listbox , put the selected values in an array and calculate the totals and display it in a txtbox. If I delete an item in de 2° listbox this should also be re calculated.
This is what i have so far .

The result should be something like :

1 pincet 3 $
3 mascara 12 $

youre total amount is 15 $

Public Class Form1
Dim aThings(3, 1) As String


Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles Me.Load
aThings(0, 0) = "Mascara 4$"
aThings(0, 1) = 4
aThings(1, 0) = "Lipstick 5 $"
aThings(1, 1) = 5
aThings(2, 0) = "Nivea 3 $"
aThings(2, 1) = 2
aThings(3, 0) = "Pincet 3 $"
aThings(3, 1) = 3
For i As Integer = 0 To 3
LstThings.Items.Add(aThings(i, 0))
Next




End Sub

Private Sub BtnAdd_Click(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles BtnAdd.Click
LstSelecThings.Items.Add(LstThings.SelectedItem.ToString)

End Sub

Private Sub BtnRemove_Click(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles BtnRemove.Click
LstSelecThings.Items.Remove(LstSelecThings.SelectedItem)

End Sub
End Class
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 0:59
sitebuilderLuc Pattyn2-Apr-08 0:59 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:15
Fatboy582-Apr-08 1:15 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:18
sitebuilderLuc Pattyn2-Apr-08 1:18 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:24
Fatboy582-Apr-08 1:24 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:29
sitebuilderLuc Pattyn2-Apr-08 1:29 
Generaldatabase display in windows application Pin
tanya20011-Apr-08 23:05
tanya20011-Apr-08 23:05 
GeneralRe: database display in windows application Pin
Vimalsoft(Pty) Ltd2-Apr-08 2:38
professionalVimalsoft(Pty) Ltd2-Apr-08 2:38 
GeneralConverting Msflexgrid content to Excel Pin
aaraaayen1-Apr-08 20:30
aaraaayen1-Apr-08 20:30 
GeneralRe: Converting Msflexgrid content to Excel Pin
Dave Kreskowiak2-Apr-08 3:34
mveDave Kreskowiak2-Apr-08 3:34 
Questionweb service access control Pin
Ismaeel1-Apr-08 16:08
Ismaeel1-Apr-08 16:08 
GeneralRe: web service access control Pin
Dave Kreskowiak2-Apr-08 3:32
mveDave Kreskowiak2-Apr-08 3:32 
GeneralFind PivotTable in Excel Pin
Bomb_shell1-Apr-08 9:58
Bomb_shell1-Apr-08 9:58 
GeneralRe: Find PivotTable in Excel Pin
ne0h1-Apr-08 19:56
ne0h1-Apr-08 19:56 
GeneralRe: Find PivotTable in Excel Pin
Mitch F.1-Apr-08 20:15
Mitch F.1-Apr-08 20:15 
GeneralRe: Find PivotTable in Excel Pin
Bomb_shell2-Apr-08 15:14
Bomb_shell2-Apr-08 15:14 
QuestionMustInherit UserControl [modified] Pin
vocaris1-Apr-08 9:39
vocaris1-Apr-08 9:39 
GeneralRe: MustInherit UserControl Pin
Dave Kreskowiak2-Apr-08 3:29
mveDave Kreskowiak2-Apr-08 3:29 

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.