I want to move subroutines I use in many pages into one class page and then &#039;call&#039; them from other aspx.vb pages. Please advise on the following. How and am I going about it correctly.<BR><BR>I dont want to copy and paste a subroutine from one aspx.vb file to another. Instead, I&#039;ved added a class file to the project. I copied the subroutine into the class, then in the aspx.vb file I want to call it in I&#039;ve added, imports myproject.checklogin <BR><BR>Where I call checklogin in my code, i get &#039;CheckLogin is a type and cannot be used as an expression&#039;. How do I call this correctly?<BR>Any resources and advice would be great!<BR><BR>