-
October 25th, 2013, 02:55 PM
#1
Visual Basic Coding Help: I have no idea what to do
I'm suffering from a case of, for lack of a better term, coder's block right. I need to work on this project but I have no idea how to start coding it, other than the immediate obvious.
The Display button's Click event procedure should read the five numbers stored in the numbers.txt file and display the numbers (one through five) in the list box, and the Update button's Click event procedure should read the same five numbers and store them in an array. It then should increase the numbers in the array by 1 and write the array contents to an empty numbers.txt file.
Here's what I've got right now:
Code:
Option Explicit On
Option Strict On
Option Infer Off
Public Class MainForm
Private Sub exitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles exitButton.Click
Me.Close()
End Sub
Private Sub displayButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles displayButton.Click
End Sub
Private Sub updateButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles updateButton.Click
End Sub
End Class
And the list box is named numbersListBox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|