BigJohn,
Is the module in the App_Code folder of your web app?
Is there a namespace in the module?
I am able to put the following in App_Code/UtilityModule.v b and it gets used
by my aspx pages.
Option Strict On
Option Explicit On
Public Module UtilityModule
Public Function IIf(Of T)(ByVal expression As Boolean, ByVal
truePart As T, ByVal falsePart As T) As T
If expression Then
Return truePart
Else
Return falsePart
End If
End Function
End Module
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"BigJohn" <bi*****@newsgr oup.nospamwrote in message
news:5B******** *************** ***********@mic rosoft.com...
|I have upgraded my ASP.Net/VB solution from 2003 to 2005. In 2003 I had a
VB
| Module with global functions referenced in virtually all ASP.Net VB
modules.
| After the upgrade to 2005 the ASP.Net VB code no longer recognizes my
global
| VB Module functions.
|
| How do I reference the functions in the module?
|
| I have over 25 ASP.Net forms.
|
| Thank you
|
|