October 25th, 2013, 03:55 PM
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:
And the list box is named numbersListBox.
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
Private Sub displayButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles displayButton.Click
Private Sub updateButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles updateButton.Click
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.