How do I disable the WorkSet Alert dialogs?

When I use the mdlWorkDgn_openFile() function and the file is not part of the current WorkSet I get an Alert box that pops up. How do I disable this Alert box?

There is another Alert box wihen the file I try to open a file is part of another WorkSet, this one is called Mismatch Alert. I need to have this one disabled too.

The user is able to run my MDL application across a large set of files and he wants to be able to run it over night, so we cannot have the processing in·terrupted with these Alerrt boxes. How do I get around them?

When I ran MicroStation's Batch Process application across a number of files in different WorkSets and files not in a WorkSet I did not get these Alert dialogs. I ran Compress on all the files. So there must be a way around my problem.

This was run in MicroStation Connect 10.0.0.25.

Thanks,
Al