I have an asp project that works fine with CodeFile, but when I change it to CodeBehind, the vb functions are not recognized in the aspx file, giving a "Name ... is not declared" error in the aspx file.In order to use CodeBehind, is there something else that should be done besides changing \[code\]codefile\[/code\] to \[code\]codebehind\[/code\] in the top line?The following code gets the error "Name 'connex' is not declared," in the aspx file.\[code\]<%@ Page Language="vb" AutoEventWireup="false" Codebehind="browse.aspx.vb" Inherits="_browse" %> <!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head runat="server"> <title>Test</title> </head> <body> <form id="form1" runat="server"><div><% Dim s As String = connex() Response.Write(s)%></div></form></body></html>\[/code\]==================\[code\]Imports SystemImports System.WebPartial Public Class _browseInherits System.Web.UI.PageFunction connex() As String Return "OK"End FunctionEnd Class\[/code\]