which has a Shopping Cart
A User Form and a Login Form.
when the User Signs in, and clicks on Items that they want in to the List box
how do i save the Users Details along side the Name of Items inside the list box
So far i have
The User Account File is in the Bin Folder of the Program, and the Save.txt is inside the Same Folder
- Code: Select all
Dim w As IO.StreamWriter
Dim i As Integer
w = New IO.StreamWriter("Save.txt")
For i = 0 To listTitle.Items.Count - 1
w.WriteLine(listTitle.Items.Item(i) & " " & " " & ListPrice.Items(i) & " " & " " & ListQty.Items(i))
Next
w.Close()
This Code does not Work no more with 2008 Visual Basic.
- Code: Select all
Get <filenumber>,<address>,<variable>
Put <filenumber>,<address>,<expression>


