ASP.NET using My.Settings

  • Thread starter Thread starter JamminJimE
  • Start date Start date
J

JamminJimE

I dunno if it's too late at night to be coding without the caffeine,
but I am sure trying.

I have a web app that I am working on and am trying to set some of the
custom My.Settings values. Each of my settings that I created show up
fine in intellisense, but when I execute the app, I get...

******************************
Compilation Error

Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'Settings' is not a member of 'My'.

Source Error:



Line 568: Dim dbItem As DataRow = moDataset.Tables(0).Rows(0)
Line 569:
Line 570: My.Settings.Theme = dbItem.Item("Theme").ToString
Line 571: My.Settings.CustomerID =
CInt(dbItem.Item("CustomerID"))
Line 572: My.Settings.AccountingAccess
******************************

I am sure that I am forgetting something somewhere, but I just don't
have a clue where I missed it.

Any ideas?

JamminJimE
 
Back
Top