VB memory problem! How VB remembers the contents of the text box can be automatically displayed the

Updated on technology 2024-04-21
14 answers
  1. Anonymous users2024-02-08

    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.

  2. Anonymous users2024-02-07

    Save data to the registry or file.

  3. Anonymous users2024-02-06

    Added in the form load event.

    .That's it.

  4. Anonymous users2024-02-05

    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.

  5. Anonymous users2024-02-04

    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.

  6. Anonymous users2024-02-03

    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.

  7. Anonymous users2024-02-02

    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.

  8. Anonymous users2024-02-01

    Save to a configuration file or something, and then read it at startup, or the registry, to see what you're familiar with.

  9. Anonymous users2024-01-31

    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.

  10. Anonymous users2024-01-30

    I don't have time to wait for a few days to send it to you.

  11. Anonymous users2024-01-29

    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.

  12. Anonymous users2024-01-28

    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"

  13. Anonymous users2024-01-27

    If VB thinks it's rare.,Then go and see C.,You don't collapse directly.。。 It's not memorized, it's understood.

  14. Anonymous users2024-01-26

    It's not difficult, if you're vb6, open the compiler and press f2 to see the method.

Related questions
11 answers2024-04-21

= 0= len(richtextbox2)

sendkeys "^c", true '***= len(richtextbox1) >>>More

4 answers2024-04-21

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

9 answers2024-04-21

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

9 answers2024-04-21

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

7 answers2024-04-21

s = "I want it.

The same goes for solar days. >>>More