Is the start tab a document?
No, it is not a document. It is DocumentWindow, which has a property "Document", which is an "object", which can only be Autodesk.AutoCAD.ApplicationServices.Document when the DocumentWindow is drawing window. When it is "Start", or custom window (yes, you can create one of your own), then the "Document" property is anything else, but an Autodesk.AutoCAD.Application.Document.
Is there a way to identify that the user has clicked on the start tab?
Yes, you can identify if the active DocumentWindow is a drawing window or "Start"/custom window. Something like:
if (Application.DocumentWindowCollection.Count>0)
{
var doc = Application.DocumentWindowCollection.ActiveDocumentWindow.Document;
if (!(doc is Autodesk.AutoCAD.ApplicationServices.Document)
{
var msg=string.Format("This is non-drawing window: \"{0}\"", Application.DocumentWindowCollection,ActiveDocumentWindow.Title);
CadApp.ShowAlert(msg);
}
}
else
{
//There isn't any DocumentWindow open!
}
However, it is likely that in your DocumentCollection.DocumentBecameCurrent event handler, you do not need to identify whether user clicked "Start" tab or not (you could, if you choose to do so, of course), and simply let the code, as Activist_Investor pointed out, test if the MdiActiveDocument is null or not, before using it. You may want to show your code to indicate where the crash occurs.