Hey Everyone
I have a program that is designed to allow users to buy and sell models (as a small computing project). The user has to register an account which is stored in a database separately. They must Login to be able to edit their account information. I have a form called UserSettings. This contains the text boxes and drop down boxes with profile information (e.g. name, email, first and last name, etc). However at the bottom of this form I have two text boxes, one which is called "Default Model Download Location" and the other is called "Default model upload Location". In my application I have a routine that creates a file (called "mus", it stands for modeller user settings). Certain user settings are stored in here (like a ini file).
Example structure of a *.mus file:
I want to be able to create a routine that goes like this:
I was thinking this could be possible if done with regex, but I've spend all day trying to figure it out and getting no where.
Thank you for reading and I would appreciate any help!
I have a program that is designed to allow users to buy and sell models (as a small computing project). The user has to register an account which is stored in a database separately. They must Login to be able to edit their account information. I have a form called UserSettings. This contains the text boxes and drop down boxes with profile information (e.g. name, email, first and last name, etc). However at the bottom of this form I have two text boxes, one which is called "Default Model Download Location" and the other is called "Default model upload Location". In my application I have a routine that creates a file (called "mus", it stands for modeller user settings). Certain user settings are stored in here (like a ini file).
Example structure of a *.mus file:
Code:
ModelDownload_Directory=[C:\Modeller\Models\Download]
ModelUpload_Directory=[C:\Modeller\Models\Upload]
Code:
txtModelDownloadLocation.text = value WHERE ModelDownload_Directory=
txtModelUpload_Directory.text = value WHERE ModelUpload_Directory=
Thank you for reading and I would appreciate any help!