Try "CodeFile", which takes a source file, rather than "CodeBehind", which takes a compiled assembly. See the attributes of the @Page directive for more info.
Yeah, coding VB always makes me feel unclean. C# is surprisingly a decent language. F# looks like a big win for web apps.