I can not figure out why I can not access this public function. I made sure that the class is public. I do not know why I am getting this error either. It is not an Array, it is a custom class.
Here is the error:
C:\Reports\Jeff\VB\study\StudyX.NET\frmYourGamesDialog.vb(176): 'findNextQuestionToStudy' is not a member of 'System.Array'.
Code:
A few more INCOMPLETE snippets to let you know how I am declaring stuff:Code:Private Sub frmYourGamesDialog_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load frmYourGamesHolder.pauseStudying() Module1.questionList.findNextQuestionToStudy() End Sub
Module Module1
Public questionList(MAxQUESTIONS) As question
Public Class question
Public Function findNextQuestionToStudy() As Short




Reply With Quote