| | |
How can I create an explicit instance of a class?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2006
Posts: 2
Reputation:
Solved Threads: 0
Hi my program won’t let me create a session, application, or cache variable. It also won’t allow me to do this:
Response.Redirect("default.aspx?question=1")
Dim num As String = Request.QueryString("question")
In all cases, I get the message: You cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.
My question is how can I create an explicit instance of one of these classes?
Thanks for any help.
Response.Redirect("default.aspx?question=1")
Dim num As String = Request.QueryString("question")
In all cases, I get the message: You cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.
My question is how can I create an explicit instance of one of these classes?
Thanks for any help.
![]() |
Similar Threads
- Tutorial: Understanding ASP classes (ASP)
- Need to implemnt the RTF print in application (VB.NET)
- problems accessing class instances (Java)
- Accessing a variable of another class (Java)
- writing a class without the class declaration? (C++)
- "String class" (Java)
- Bank account class (C++)
- Tips on windows programming (C++)
Other Threads in the VB.NET Forum
- Previous Thread: how to protect volume
- Next Thread: Point within a polygon HELP!
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account arithmetic array basic beginner bing browser button buttons center check code crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel fade file-dialog filter forms ftp generatetags google hardcopy html images input insert intel internet mobile monitor net networking objects open output panel passingparameters pdf picturebox port position print printing problem project save searchbox searchvb.net select serial settings shutdown soap sqlserver survey table tcp temperature text textbox timer timespan toolbox transparency trim update user vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode year





