-
Asking for the same data every time you run, so what's the point of asking for a text box? Or did you not make it clear? Isn't it just static, isn't it just when the text attribute is set?
Or do you want to auto-save the last one? If you automatically save the last one, sunshinebean's on the line, manipulate the registry.
-
Save data to the registry or file.
-
Added in the form load event.
.That's it.
-
This needs to be used in the registry or file operation, click "Save" and write the status to the registry or data file (ini file or custom format file can be), read the registry or data file in the load event of the form when re-entering, and get the status data to set the text attribute of the file box.
-
1.Save to *There are corresponding API functions in the ini file.
2.Save the text file with open
3.Save to the API function in the registry.
Which APIs, just look them up on the Internet.
-
You can save your input in a disk file. Each time the program runs, it reads information from the disk file as a parameter, and if there is no file, the user is prompted to enter the parameter, and that's it.
-
Can you read and write files? The program writes the data on a file when it runs, and reads this file the next time it starts, which is a common ini file pull, or use load to read the file at startup.
-
Save to a configuration file or something, and then read it at startup, or the registry, to see what you're familiar with.
-
I think the best way to familiarize yourself and memorize it is nothing but to use it more than to use it. You can find some apps yourself and use the program to implement them. In this way, you can increase your interest in learning and learn the language unconsciously.
-
I don't have time to wait for a few days to send it to you.
-
1. Rewrite the registry. Every time you run it, go to the registry and read it.
2. Write a file called. Go there every time you run it.
How to write it and how to read it, just believe it and study it yourself.
-
Keep it simple"It's not hard"
To complicate it"It's really not that hard at all"
If you decide you want to learn, go straight to the horse. It's better to ask specific questions that you don't understand.
The only way to facilitate memory is to knock the ** a few times by changing the tricks by yourself, and read it while knocking"It's fun"
-
If VB thinks it's rare.,Then go and see C.,You don't collapse directly.。。 It's not memorized, it's understood.
-
It's not difficult, if you're vb6, open the compiler and press f2 to see the method.
= 0= len(richtextbox2)
sendkeys "^c", true '***= len(richtextbox1) >>>More
Create a new project with two forms: form1, form2
There are two controls on form1: command button command1 and timer1There are two controls on form2: label label1 and timer1 click the command button when the program is running, the command button disappears, wait for 1 second and then pop up form 2 display: >>>More
The decimal part of the date variable with a value of less than 1 corresponds to the time of day from 0:00:00 to 24:00:00 >>>More
Two methods:1Add an array of controls with the load method, provided you have to add a control to the form at design time and set its index property to 0, then use : >>>More
s = "I want it.
The same goes for solar days. >>>More