-
I have created a control that represents a controller on a conveyor belt. The program I am writing must allow the user to place the control(s) (controller) onto a picture that they have loaded and then setup parameters for each control (controller) - Imagine a lite SCADA system. The question I have is how can I programmatically save the form with the position, size etc of each control on the form? Do i need to use an ini file or database to save the properties?
Thanks in advance - I hope this makes sense!
-
INI File or Binary
You could use an INI File, but I'd only do that in C++ cause of the easy access to API funtions. In VB I'd just save it as Binary, and After each control type just put /ControlTypeName. But these aren't the only options. I'd stear clear from databases. Databases are very large in size, unless you are string large amounts of data.