'load scenes from file
Dim fileDialog As New OpenFileDialog()
If fileDialog.ShowDialog(Me) = DialogResult.OK Then
DirectCast(m_pScenes, IMPersist).PersistLoad("", fileDialog.FileName, "")
FillScenes()
End If
//load scenes from file
OpenFileDialog fileDialog = new OpenFileDialog();
if (fileDialog.ShowDialog(this) == DialogResult.OK)
{
((IMPersist)m_pScenes).PersistLoad("", fileDialog.FileName, "");
FillScenes();
}
myMixer:= CreateComObject(CLASS_MMixer) as MMixer;
myPersist:= myMixer as IMPersist;
myPersist.PersistLoad('', 'c:\myConfig.xml', '');