title: calling a function from another module in vb.net
body: <p>I have an 100 aspx files with one module file for code. All these aspx files have the same backend function, so i created on public module for all these files to access. These files are in the same folder. But for some reason the aspx files cannot access the function from that module.</p>
  
  <pre><code>mod1.vb Code (.vb file)
  Public Module Allinone
      Sub Allinone_Load(ByRef Page As Web.UI.Page)
  
      End Sub
  End Module
  </code></pre>
  
  <p>code in aspx file - (a1.aspx - one of 100 aspx files, they all shall have same starting script)</p>
  
  <pre><code>&lt;%@ Page Language="VB" %&gt;
  &lt;script runat="server"&gt;
      Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
          Allinone_Load(Page)
      End Sub
  &lt;/script&gt;
  </code></pre>
  
  <p>I am at a roadblock of why the aspx files wont read this module? Also all these files are in the same directory</p>