Also, one of the missing references that deal with date/time (as well as mid, left, and right functions) won't necessarily show up as MISSING in the references. It has to do with MSCOMCTL32.ocx. What I will usually do, if I have that problem, is just go browse to that file from the references, as if I was adding a new one (there's a browse button) and go to C:\Windows\System32 and find it and then click ok. That will usually fix the problem (doesn't always, but most of the time it does).