473,804 Members | 3,330 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[VB.NET2003] How to declare involatile varianbles

Hello,

This is aboutVB.NET2003 .

I am looking for a way to keep the values of some variables even if
the program restarts or even the system is reboot. I heard that it
might be possible to declare and have such variables at 'project
settings' or 'My.Setting' namespace. But I haven't been able to find
out how.

Please let me know how I can have variables in my program that keeps
its value through program restart and system reboot.

Thanks much in advance!
Feb 11 '08 #1
1 1006
Thomas,'

The most simple one to use for making a small amount of data persistent for
the current user is the registry.
It is easy to handle in VB.Net2003 however there is so much written about
it, that you can simple search for that on Internet.

Cor

Feb 11 '08 #2

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

Similar topics

0
1517
by: Nikko | last post by:
Hi, I have several questions being in that migration process : - is there a way to avoid source editor from changing the way I put braces, or even better, to change default behaviour for that. I want braces like this: int f() { } and not like that
1
2767
by: Simon Peng | last post by:
I install vs.net2003 in my pc which hasn't install it before I can't change install directory, it is only installed in C:\Program Files\Microsoft Visual Studio .NET 2003 But in other pc, this directory can be changed. I am doubt about it who can tell me how to change install directory?
2
1303
by: maddog | last post by:
My works are done in vs.net. I wanna take a look at vs.net2003. any suggestion are welcome. thanks. -- maddog
1
1921
by: Dev | last post by:
Dear Friends, I have created VC++.NET dll by VS.NET2003.Is it possible to use this dll(vs.net2003) into C# version (Vs.net2002)? Is there backward compatibility? If so ..How do to this?..If anyone knows ..please let me know. Thanks, Dev
0
955
by: Bill Sun | last post by:
Hi, When I want to using the ADO examples:ADOXCreateDatabaseX.cpp applied by MSDN 2003 on the VC.net2003. the compile always told me errors, like: c:\project\console\console\console.cpp(22): error C2065: 'HRESULT' : undeclared identifier c:\project\console\console\console.cpp(24): error C2039: 'CoInitialize' : is not a member of 'operator``global namespace'''
0
1270
by: Richard Hatt | last post by:
I have been making modal browser windows in ASP.Net by adding onblur="javascript:self.focus()" to the <Body> tag, as this works across different browsers. However, since upgrading to VS.Net2003, this <Body> attribute stops the focus going to any textbox on the form. You can't click on a textbox and enter any data! If I remove this <Body> attribute, it all works again
0
1062
by: Zal | last post by:
have tried to follow the following instructions but to no success, hope someone can help me I have 2 servers server1 and server2. Server1 is the domain server, running sbs2003, i have gone to admin tools dsn and created a aliascname for a new website called testwebsite on server2 i have IIS6.0 running. server2 is on a trail version of win2003(standard) which i hope to validate after trail ends.
6
2283
by: Rich | last post by:
Hello, I picked up this example on using the Reflection namespace for loading forms/classes on the fly at msdn http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnadvnet/html/vbnet10082002.asp which uses a config file named "yourAppName.exe.config" which is an xml based config file that references dlls in
0
1088
by: Julian | last post by:
I upgraded this program from VC6 to .NET2003 a few months back. I had to change some of the source code, but I was finally able to get it to compile and link properly. I just tried to upgrade the same code from .NET2003 to .NET2005 and again I had to make some code changes (basically had to do with looping scope and defining operator function return types)... so, now I am able to compile all the files, but when it tries to compile, I get...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10571
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.