Visual Basic Concepts

Form File Loading Errors

When Visual Basic loads a form into memory, it first converts the form to binary format. When you make changes to the form and save the changes, Visual Basic rewrites the file in ASCII format.

When Visual Basic encounters an error while loading a form, it creates a log file and reports that error in the log file. Visual Basic adds error messages to the log file each time it encounters an error in the form. When the form load is finished, Visual Basic displays a message that tells you an error log file was created.

The log file has the same filename as the form file but with a .log filename extension. For example, if errors occurred when loading Myform.frm, Visual Basic would create a log file named Myform.log. If you reload Myform.frm later and errors continue to occur when loading the form, Visual Basic replaces the previous Myform.log file.