What are these "Default.mvba" files?"Microstation keeps on creating a "Default.mvba" file within differentproject folders on our server.
Does anyone know what causes this file creation And what can I do, soMicrostation doesn't generate this unwanted file automatically?"
Default MicroStation VBA projects.The *.mvba extension is for MicroStation VBA projects.
These files are created in folder defined in MS_VBANEWPROJECTDIRECTORY, whenever the VBAProject Manager or Visual Basic Editor is opened without another VBA project loaded.Variables MS_VBAAUTOLOADPROJECTS and MS_VBASEARCHDIRECTORIES controlwhich projects are loaded. These can be set up to always load onespecific "dummy" project to avoid the creation of new Default.mvbafiles, e.g.:MS_VBAAUTOLOADPROJECTS = D:/Some Path/Some Folder/Dummy.mvbaOrMS_VBAAUTOLOADPROJECTS = DummyMS_VBASEARCHDIRECTORIES > D:/Some Path/Some Folder/In both cases, Dummy.mvba must exist. An alternative forMS_VBAAUTOLOADPROJECTS is to use MS_VBAREQUIREDPROJECTS. Projects listedin that variable can not be removed from the list in the VBA ProjectManager.Another solution is to define MS_VBANEWPROJECTDIRECTORY to always pointto the same location. That way only one Default.mvba will be created.Note that if MS_VBANEWPROJECTDIRECTORY is not defined the Default.mvbawill be created in the Workspace\system\vba folder! And if the folderthat MS_VBANEWPROJECTDIRECTORY points to does not exist, it will becreated.