Hey, "That Rick Guy" or one of you other VB.net experts":
A VB.net application has been running all right for a year or so. I recently changed an audio .wav file to a different .au file; I'm not sure if this was the cause of the error, but it is the only thing I have monkeyed with. Even after changing back to the .wav files, the error persists.
I have two screenshots showing the actual program code where the error occurs and the disassembly breakdown. I would like to share them with you but I don't see how to attach it to this post. Anyway, the description of the error at the breakpoint in the source code is "This code has called into another function. When that function has finished, this is the next statement that will be executed."
The actual source code surrounding the break looks like this:
Public Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Timer5.Enabled = False
Timer6.Enabled = False
PictureBox2.Visible = True
PictureBox1.Visible = True
If txtLeftRightPicBox.Text = 1 Then
Player.URL = vAudStim2
Else
Player.URL = vAudStim1
End If
Player.controls.play()
Timer5.Enabled = True
Timer1.Enabled = False
Timer3.Enabled = True
Timer2.Enabled = False
The break occurs at the "Player.URL" lines.
I have no idea about the "...called into another function..." and need some of your expert geekology.
Thanks much,
Don
A VB.net application has been running all right for a year or so. I recently changed an audio .wav file to a different .au file; I'm not sure if this was the cause of the error, but it is the only thing I have monkeyed with. Even after changing back to the .wav files, the error persists.
I have two screenshots showing the actual program code where the error occurs and the disassembly breakdown. I would like to share them with you but I don't see how to attach it to this post. Anyway, the description of the error at the breakpoint in the source code is "This code has called into another function. When that function has finished, this is the next statement that will be executed."
The actual source code surrounding the break looks like this:
Public Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Timer5.Enabled = False
Timer6.Enabled = False
PictureBox2.Visible = True
PictureBox1.Visible = True
If txtLeftRightPicBox.Text = 1 Then
Player.URL = vAudStim2
Else
Player.URL = vAudStim1
End If
Player.controls.play()
Timer5.Enabled = True
Timer1.Enabled = False
Timer3.Enabled = True
Timer2.Enabled = False
The break occurs at the "Player.URL" lines.
I have no idea about the "...called into another function..." and need some of your expert geekology.
Thanks much,
Don