473,320 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

my.settings in VB.NET 2003

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

Jan 2 '07 #1
1 1628
well it seems the dotnet2themax `s excellent class has dissapeared

I have sent an e-mail to the webmaster for a new link , if they do not want
to host it i wil ask permission to publish it on my personal developers
website wich wil go live in a few months from now
http://www.vbdotnetcoder.com

I saw in the google thread that Herfried has a nicely grouped list with
simular codes

http://dotnet.mvps.org/dotnet/faqs/?...rences&lang=en

regards

Michel Posseth
"Thorgal" wrote:
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

Jan 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sergio | last post by:
Hello I try to set my LDAP to accept query comming from a .asp aplication On windows 2000 , all works fine. The user logging in to my asp aplication is aut. by the AD LDAP Trying the same...
0
by: Prasad Patil | last post by:
Hi, I have a asp.net/c# web application when i try to create the following excel object using the following code mentioned below I have Office 2003 installed on my PC, VS.Net 2003. but still it...
1
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to...
3
by: Damian | last post by:
Hi everyone I'm having an issue with one of our applications. I'm getting the following error when attempting to log in to the site: Server Error in 'xxxxxxxxxxxxxxxx' Application....
1
by: amber | last post by:
Hello, I've just upgraded from .NET 2003 to 2005. I was using an app.config file to set my connections. I see that this must have automatically been changed when .NET converted my solution...
2
by: Shane | last post by:
Does anyone know how to add user scoped settings to My.Settings at runtime? I know how to use the 'My Settings' designer to add user settings at design time. I also, know how to create a class...
2
by: Bob | last post by:
The my.settings name space is easy to use to modify User settings from within code, but the application settings can't seem to be modified that easily. I want the user to be able to modify some of...
5
by: Andy | last post by:
I need to write a VB.NET WinForms app. For this purpose I need to keep some settings of the application, like many other Windows applications do. The most obvious solution is to store settings in...
0
by: Maxx57 | last post by:
C# VS.Net 1.1 (2003) - trouble with using IE proxy server settings I've got a program that detects if it can connect to a webservice. It sends a System.Net.WebRequest and then checks the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.