Hello,
I am creating a program which has a lot of data in it and I am trying to figure out what would be the best way for me to save/load this data once the program closes/opens. Let me first describe the program, It has a list box on the left and a rich text area on the right. Depending on the selection in list box, the rich text area will be populated with text of different font, size, etc...
So since I need to load correct text every time a selection in list box is changed, what would be my best approach towards this. Rich text is going to have a lot of text in there, lets say about 500-1000 chars in length. I was hoping to use access database, but this is not a must, only a thought. I could really use some suggestions for this.
Please feel free to ask me any questions if I wasn't detailed enough.
Regards,
Bagzli
Loading
VulpesPosted Oct 28, 2012, 12:36 PM
bagzliPosted Oct 27, 2012, 6:45 PM
VulpesPosted Oct 21, 2012, 9:56 AM
If you create a sub-directory off your main application's directory, you can store all the files (one file for each ListBox selection) in there to keep them all together and easy to manage.
If you intend to install the application on machines other than the development machine, then you can find the path to the current executable (and hence to the .rtf files) with Application.StartupPath.
bagzliPosted Oct 20, 2012, 4:26 PM