Hi Monty,
Based on my understanding, you probably are using Web Application Project
mode instead of the Web Site mode and created Application Settings in your
project, the Settings Designer will generate a property named Settings in a
module, the Settings property is a singleton that returns a type of
My.MySettings that generated from your settings. For example:
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttrib ute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttri bute(), _
Global.System.Runtime.CompilerServices.CompilerGen eratedAttribute() _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAt tribute("My.Settings") _
Friend ReadOnly Property Settings() As
Global.WebApplication1.My.MySettings
Get
Return Global.WebApplication1.My.MySettings.Default
End Get
End Property
End Module
End Namespace
It's recommended to avoid use Settings as your class name.
References:
#Application Settings in VB.NET 2005
http://visualbasic.about.com/od/usin...settings_4.htm
#Using My.Settings in Visual Basic 2005
http://msdn2.microsoft.com/en-us/lib...11(vs.80).aspx
Hope this helps.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.