Copyright © 2006-2018 MultiMedia Soft

StartFromEditingSession method

Previous pageReturn to chapter overviewNext page



Starts a new recording session getting sound data form the given instance of Audio Sound Editor for .NET.


A successful call to this method will fire the RecordingStarted event followed by a number of RecordingPerc events and finally by the RecordingStopped event.





[Visual Basic]

Public Function StartFromEditingSession (

hWndEditorCtrl as IntPtr,

strOutputPath as string

) as enumErrorCodes



public enumErrorCodes StartFromEditingSession (

IntPtr hWndEditorCtrl,

string strOutputPath




public: enumErrorCodes StartFromEditingSession (

IntPtr hWndEditorCtrl,

string strOutputPath










Window handle to the instance of a Audio Sound Editor for .NET control


String representing the absolute pathname of the output file that will contain the recorded data. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character..

If the string is left empty, the recording session will be performed in memory.




Return value






enumErrorCodes.ERR_NOERROR (0)

The song file has been loaded successfully.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.