Public Class frmHomework5
Dim CboInvItems(5) As String
Dim decPrice(5) As Decimal
Dim intQty(5) As Integer
Dim pointer() As Integer
Private Sub frmHomework5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim strFileName As String
CboInvItems.SelectedItem("Choose one of the following:")
strFileName = CurDir() & "\City.txt"
FileOpen(1, strFileName, OpenMode.Input)
Do Until EOF(1)
Input(1, strFileName)
CboInvItems.Items.Add(strFileName)
Loop
FileClose()
End Sub
I was wondering if thats any where near right

New Topic/Question
Reply




MultiQuote




|