Incidentally, is there a place in the .bas to put code that executes once at run start, but after the form has been loaded (and not associated with any control)? I placed the following in the __UI_OnLoad subroutine and the program sticks at 'Initialising'.