Closes a BrainVoyager project file.
objDocument.Close()
Closing a project file also deletes the associated objDocument. You can no longer invoke methods using the respective document variable.
' VBScript
Set BrainVoyager = CreateObject("BrainVoyager.1")
Set doc = BrainVoyager.OpenDocument("subject.vmr")
doc.Close
// JScript
BrainVoyager = new ActiveXObject("BrainVoyager.1");
doc = BrainVoyager.OpenDocument("subject.vmr");
doc.Close();
#
PerlScript
$BrainVoyager = Win32::OLE->new("BrainVoyager.1");
$doc = $BrainVoyager->OpenDocument("subject.vmr");
$doc->Close();