Thanks, got this all sorted thanks to the pointers. Here's what I
did...
1. Developed the code in in App_code in visual web developer 2005
express
2. compiled to dll by copying code to vb 2005 express.
3. stick the final dll in the web bin directory
4. just add an imports dllname.namespacename to the web code.