Is there a way of telling when SolidWorks is finished loading in code?

I'm curious if there is a way of telling when SolidWorks is finished loading using vb.net?

SolidworksApi macros