Copyright © 2008-2019 MultiMedia Soft

LoadSoundFromEditingSession method

Previous pageReturn to chapter overviewNext page



Loads a sound stored inside another instance of Active Sound Editor.


A successful call to this method will fire the SoundLoadingStarted event followed by a number of SoundLoadingPerc events and finally by the SoundLoadingDone event.


For further details about the use of more than one instance of Active Sound Editor, check the How to load a sound stored inside another instance of the control section.





[Visual Basic]

control.LoadSoundFromEditingSession (

hWndEditorCtrl as OLE_HANDLE

) as enumErrorCodes



short control.LoadSoundFromEditingSession (

OLE_HANDLE hWndEditorCtrl









Window handle to the other instance of Active Sound Editor. This handle can be accessed through the respective hWnd property.



Return value






Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.