i am making a web browser , i have all the web browser controls sorted out , i wont to add a textbox or notepad at the bottom of the page , it only needs to be about 2-3 lines , where i can sort some text , that will still be there when i next open the browser.i wont this area to be editable so i can change it and add new things.
how can i do this?
thanks rob...
3 861
i am making a web browser , i have all the web browser controls sorted out , i wont to add a textbox or notepad at the bottom of the page , it only needs to be about 2-3 lines , where i can sort some text , that will still be there when i next open the browser.i wont this area to be editable so i can change it and add new things.
how can i do this?
thanks rob...
You can save your list to the registry with SaveSetting
Then, when you app loads do a GetSetting to get the set of values for your textboxes.
ty i understand , but can some1 give me an example of the code. i am still new to vb :P
thanks
ty i understand , but can some1 give me an example of the code. i am still new to vb :P
thanks
For saving, you could do something like this: -
Dim AppName As String
-
Dim AppSection As String
-
Dim SectionKey As String
-
Dim KeyValue As String
-
-
AppName = "MyBrowserApp" 'your apps name
-
AppSection = "Settings" 'the section where you want to store data
-
SectionKey = "BrowserNotes" 'the data name
-
KeyValue= "This is what I need to save on my notepad" 'the data value
-
-
SaveSetting AppName, AppSection, SectionKey, KeyValue
-
For getting, you can do something like this: -
Dim AppName As String
-
Dim AppSection As String
-
Dim SectionKey As String
-
Dim KeyValue As String
-
-
AppName = "MyBrowserApp" 'your apps name
-
AppSection = "Settings" 'the section where you want to store data
-
SectionKey = "BrowserNotes" 'the data name
-
-
KeyValue = GetSetting (AppName, AppSection, SectionKey, KeyValue, "")
-
Important to note that AppName, AppSection and SectionKey must all agree between GetSetting and SaveSetting.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: KellyH |
last post by:
Hi, I hope someone can point me in the right direction.
I'll get it out of the way: Yes, I am a college student. No, I am not
looking for anyone to do my homework, just looking for help. I have...
|
by: Derek |
last post by:
Hi,
I've built a rather large CGI that dumps a lot of data and a fairly
complex javascript app out to the client's browser. Granted this may
be poor style according to someone web design...
|
by: Steven D'Aprano |
last post by:
Suppose I create a class with some methods:
py> class C:
.... def spam(self, x):
.... print "spam " * x
.... def ham(self, x):
.... print "ham * %s" % x
.......
|
by: Chad Z. Hower aka Kudzu |
last post by:
A few of you may recognize me from the recent posts I have made about Indy
<http://www.indyproject.org/indy.html>
Those of you coming to .net from the Delphi world know truly how unique and...
|
by: MIGUEL |
last post by:
Hi all,
I'm quite lost with how adding web references to a project creates proxy
classes.
I've developed a web service with two classes inside and that contains three
references to three...
|
by: Rolf Welskes |
last post by:
Hello,
if I have for example:
<table style="width: 100%; height: 100%;" border="1">
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
|
by: preethamkumark |
last post by:
- The program first creates a shared memory buffer containing an array
of 20 integers.
- Each slot of the buffer can have either 0 or 1, where 0 represents an
empty slot, and 1
represents an...
|
by: =?Utf-8?B?UHVjY2E=?= |
last post by:
Hi, I'm using vs2005, .net 2, C# for Windows application. I use DllImport so
I can call up a function written in C++ as unmanaged code and compiled as a
dll us vs2005. My application is able to...
|
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= |
last post by:
I get the above error in some of the ASP.NET web applications on a
server, and I need some help figuring out how to deal with it.
This is a rather long post, and I hope I have enough details that...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
|
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...
|
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,...
| |