The only inheritance I put in my VB class is:
Inherits System.web.UI.page
Actual code:
Public Class LogInCtl
Inherits System.Web.UI.Page
Public Sub LogIn()
However, the Profile is defined in the web.config file. I do not know a how to reference(inherit) the web.config file in the VB class.
When coding in the code behind file(Default.aspx.vb) and not the seperate VB class(LogIn.vb), the properties of the Profile defined in the web.config file automatically appear.
Thanks for your continued support as it appears no one else has the answer.
As a test I created a new web app. Added the profile code to the web.config. Tested that the Profile intellisense worked in the Default.aspx.vb. I then added a VB class, Class1.vb. I created a public sub procedure. I tried to use Profile but its properties as defined in the web.config file were not present.
pat