Maybe you are missing Microsoft Forms object library reference. See here: http://support.microsoft.com/kb/212730