hi, guy
I'm still new to vb
I try to get acess to the mdf file in one paticular file
here what i want to do
if the user select the wrong answer, then It show a messagebox whith the right answer.
Thank youCode:Dim recPtrPos as integer Dim Correct As string = Me.TriviaDataSet.Game1(recPtrPos).CorrectAnswer If userAnswer <> Correct then 'the problem here MessageBox.Show("The correct answer is: " & Correct, "Correct Answer", _ MessageBoxButtons.OK, MessageBoxIcon.Information)




Reply With Quote