Hi Lee Silver ,
Thank you for using Microsoft Newsgroup Service. Based on your description,
youp're converting a set of vb6 dlls to dotnet dlls and use them in ASP.NET
web application. Also, you want to know the Module-level data in VB.NET is
shared as you put many data which will be used by several classes in the
VB.NET module? Please correct me if my understanding is not quite exact.
First, in ASP.NET, every webapplication run within AppDomain which is
smaller than a process. And Each web request from the client will be
processed in seperate thread. And the dlls(.net assembly) the web
application used are all shared in the same webapplications. For more
information on the Asp.net webapplication's runtime, you can view the tech
article throuth the following link:
http://msdn.microsoft.com/library/en...PNETHTTPRuntim
e.asp?frame=true
As for the "Module" in VB.NET, yes, just like what Kevin said, it is the
same as a shared class, you can put some shared functions there. But in
VB.NET or C# there is no global variables, you can use the Class's static
members to provide the same function.
If you have any questions on it, please feel free to let me know.
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)