Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileLoad method

Previous pageReturn to chapter overviewNext page



Loads a profile, written for a specific model of DJ Console, from a XML file stored on disk into the instance of the component. A XML file can be written manually through a normal text editor or saved through a call to MidiDjConsole.ProfileSave or MidiDjConsole.ProfileSaveWithoutDevice methods.


For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.





[Visual Basic]

MidiDevices.MidiDjConsole.ProfileLoad (

strPathname as String

) as enumDjcErrorCodes



public enumDjcErrorCodes MidiDjConsole.ProfileLoad (

string strPathname




public: enumDjcErrorCodes MidiDjConsole.ProfileLoad (

string strPathname








String representing the absolute pathname of the XML file containing the DJ Console profile to load.



Return value






Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.