Re: VB and massives problem
Welcome to the Forums.
Usually we dont give code for homework projects unless the poster shows an effort. So we can help guide you since you already wrote the app.
Only problem is that none of the links work. Try attaching the files to a post for easier and faster access.
3 Attachment(s)
Re: VB and massives problem
damn, that's right my service provider has limited the incoming connections from other countries. Let's try linking these pics/xls file again.
It says that xls is an invalid filetype and so I compressed it in .zip archive.
Oh and believe some hard work has been done with this project. The bad thing is that I have to submit this work by tomorrow noon and I haven't got any idea what I did wrong. I'm sure I'm just missing something important...
Re: VB and massives problem
well i know what the error is from, but i have no idea how to fix it as i don't undersatnd the required result and also don't understand the langauge
VB Code:
Sub M_max_rvn(A(), m, n, max, rn, vn)
Dim i, j
max = A(1, 1) ' this is incorrect as max is always empty
rn = 1
vn = 1
For i = 1 To m ' if m here is swapped fo the n below he code runs, but i have no idea if that is right
For j = 1 To n ' once j goes above 7 it is out of range
If A(i, j) > max Then ' this can't work as max is empty
max = A(i, j)
rn = i
vn = j
End If
Next j
Next i
End Sub
i can't help more than that
pete