Good evening,
I'm having a issue when opening up another form when clicking the button. Basically the form I'm trying to open when you click the button is not in the same folder of the main Form. When I go to either build or debug the app, I get the following message
1>C:\Programming\Folder\Exam\Exam\MainDev.vb(1192,9): error BC30451: 'ExamSets' is not declared. It may be inaccessible due to its protection level. ========== Build: 0 succeeded, 1 failed, 25 up-to-date, 0 skipped ==========
I've tried multiple times, looked on the site, and even removed declaring the variable frmESNew and typing ExamSets.frmExamSetsCreateTestingX.show()
Thank you,
Gerard
Private Sub ButScreenTestCreate_ItemClick(sender As Object, e As ItemClickEventArgs) _
Handles butScreenTestCreate.ItemClick
If ExamSetCreating = True Then
Exit Sub
End If
ExamSetCreating = True
Dim frmESNew As New ExamSets.frmExamSetsCreateTestingX
frmESNew.Show()
End Sub
I've tried removing the Dim, and found no luck in that attempt
Project Aa class (Form here) created inProject B, but you've added a Reference toProject AinProject Binstead of the other way around. If that's the case, remove the reference you have added before you create the correct one, otherwise you end up with circular dependencies that blow up the whole thing