I had a previous post about automatic bug reporting using FogBugz 3.0. I recently upgraded to FogBugz 4.0 so I had to go through the process of setting this up again. (You can read the previous post to see why I did it this way.) Everything worked as before except the file list was slightly different. You can find the files you'll need listed in preheader.asp and FogBugzClasses.inc. After copying those everything worked perfectly.