Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.net Application Error Message (Has to do with audio)

Status
Not open for further replies.

drkarr

IS-IT--Management
Aug 10, 2005
24
US
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

 
Additional info on this issue. Following is the dialogue returned when the break occurs. I need to know what this means and how I can fix it.

[See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Cannot invoke property set of 'URL' at this time.


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.6018
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
ABLA
Assembly Version: 1.0.2717.31905
Win32 Version: 1.0.2717.31905
CodeBase: file:///C:/Programming/ABLA/bin/ABLA.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.6018
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.6018
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.6018
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.6018
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
AxInterop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Programming/ABLA/bin/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Programming/ABLA/bin/Interop.WMPLib.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9955
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.3300.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top