my.settings in VB.NET 2003

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top