-
You save the path in an XML and read it out the next time you start it.
-
string path =
Exist. "path"ascending, path);
Laughing. Read.
string s = "path") as string;
-
Put the path in a file or registry.
-
Put your last opened address in the entire configuration file, check whether the configuration file exists, read the address if it exists, and default address if it doesn't exist.
-
Didn't understand what you were trying to achieve.
-
c Procedure? Don't bother, and don't save it in ini format. You can add a configuration file to your project. Then one will appear.
Here's the one I've used.
The method of reading the configuration file is also very simple:
string connstr = "sqlstring"];
-
Now it is popular to save it in XML format.
-
What kind of development do you do?
If it's web development, like whatever, like upstairs, if it's desktop development, like some header files or something, it can also be said;
For example, if you introduce some packages and you don't write something in the configuration file, the compiler won't know what that came from.
-
The method is as follows, and the specific ** is:
openfiledialog openfiledialog1 = new openfiledialog();
Documentation (*.)doc;*.docx)|*doc;*.docx";
if ( ==}
-
string^ filepath = this->myopenfiledialog->filename
this->myopenfiledialog is a C component, which can be directly dragged in and used.
-
Read the file:
The path you choose for the file is:
-
If you want to look into it, look up the folderbrowserdialog class.
If you want to take it directly.
folderbrowserdialog browdialog = new folderbrowserdialog();
true;Please select a location to save the page";
-
environment
This is the class that reads the information of the system, and a lot of information can be extracted from here.
In fact, you don't need to make optical discs, now the hard disk is very large, you can directly use one-click recovery software to back up the C disk to your hard disk, which is faster than the optical disc, and you are not afraid of problems like disc wear and tear (you can't read it, of course you can't use it)! >>>More
int a =;
int b =; >>>More
You can pass the main window as a parameter to a child window. >>>More
textreader reader;
int linecount = 0; >>>More
There are three ways to reinstall the system: reinstalling the system, it will only change the system in the C disk of the computer, such as the files and things in the D and E and F disks of the computer. >>>More