From the file menu, select Save As and then in the Save As dialog, you can select the form compatibility. You can also change this under the Form Options > Compatibility.
You can save the form as source files from the Publish menu and check the source files for any script or compiled DLL files to determine if a form has code.