And as a last resource, or if one of these days.... here is the C# alternative
[CommandMethod("GETMFILES")]
public void getmfiles()
{
OpenFileDialog dlg = new OpenFileDialog("Title: Open Drawings", "", "dwg", "Your Dialog Name", OpenFileDialog.OpenFileDialogFlags.AllowMultiple);
if (dlg.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
string[] files = dlg.GetFilenames();
foreach (string f in files)
{
//do your stuff here
}
}