Forum: VB.NET Dec 1st, 2008 |
| Replies: 2 Views: 316 You want to make both texts one string and write that to the file.
swrStreamWriter.WriteLine(Me.textStudent.Text + " " + Me.textGrade.Text)
Also research the VB.Net String Functions for further... |
Forum: Computer Science Dec 1st, 2008 |
| Replies: 9 Views: 883 Let me quickly give a little background:
The app is an inventory program. They can preenter some info such as - I receive 700lbs. When they start removing inventory they enter in MetricTons. If the... |
Forum: VB.NET Dec 1st, 2008 |
| Replies: 9 Views: 3,004 If you are going to use the datasource approach, you'll have to modify the datasource variable and reset the datasource of the list.
Private path As String = "c:\"
Dim... |
Forum: VB.NET Nov 30th, 2008 |
| Replies: 9 Views: 3,004 The reason the code doesn't work is because adding an item to a listbox using the .items.add is different than setting the datasource. They don't work together.
If you want to continue to use the... |
Forum: Computer Science Nov 30th, 2008 |
| Replies: 9 Views: 883 The rounding has to be exact. I need the app to know if the user entered .317 that what the really mean is 700lbs. I don't think I can solve this problem with a rounding technique. It'll have to be... |
Forum: Computer Science Nov 25th, 2008 |
| Replies: 9 Views: 883 My user base are not the sharpest tools in the shed - so I need to do as much logic as I can in the business rules.
Thanks |
Forum: Computer Science Nov 25th, 2008 |
| Replies: 9 Views: 883 I've tried the simple power of 10 tricks and that still didn't help me solve the underlying problem.
In the db, I store everything in lbs. So the MT conversion from .317 that the user entered... |
Forum: VB.NET Nov 25th, 2008 |
| Replies: 9 Views: 3,004 Not really sure what you're trying to do, but to add a string from the textbox to the list it's as simple as:
lstdisplay.Items.Add(txtinput.Text)
Are you trying to add the contents of the... |
Forum: VB.NET Nov 25th, 2008 |
| Replies: 6 Views: 1,492 while dr.Read()
idcombo.Items.Add(dr(0))
end while |
Forum: Computer Science Nov 25th, 2008 |
| Replies: 9 Views: 883 I have a problem and need some ideas. I have an app that lets the user enter in weights in different units and I need a way to store the data so the total weight gets taken in the end (or at least... |