Thread: Using modules
View Single Post
  #1 (permalink)  
Old September 21st, 2007, 10:39 AM
drmacy drmacy is offline
Registered User
Join Date: Sep 2007
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using modules

I have several VB modules that are collections of subroutines and functions that I want to be able to call or reference by code behind my Web pages. For now, I'm using VWD 2005 Express Edition, although I also have VS 2005 available.

Where in the Solution Explorer for my site do I put the module file?

If my module is called MyModule and in it there is a function called MyFunction, how do I reference MyFunction in the button click event (for example) for a button on one of my pages?