T
Thorgal
Dear,
I'm trying to save some settings in my.settings in VB.NET 2003, in 2005
this is no problem and I do it on the following way:
Public Shared Property KleurKoud() As Color
Get
Return My.Settings.KleurKoud()
End Get
Set(ByVal value As Color)
My.Settings.KleurKoud = value
My.Settings.Save()
RaiseEvent KleurVeranderen()
End Set
End Property
but when I try this in 2003 I get the following error:
Name My is not declared
Is this because I'm now working in 2003 and how can i reselove this
problem?
Thanks in advance
I'm trying to save some settings in my.settings in VB.NET 2003, in 2005
this is no problem and I do it on the following way:
Public Shared Property KleurKoud() As Color
Get
Return My.Settings.KleurKoud()
End Get
Set(ByVal value As Color)
My.Settings.KleurKoud = value
My.Settings.Save()
RaiseEvent KleurVeranderen()
End Set
End Property
but when I try this in 2003 I get the following error:
Name My is not declared
Is this because I'm now working in 2003 and how can i reselove this
problem?
Thanks in advance