Results 1 to 2 of 2

Thread: Save controls on a form?

  1. #1
    Guest
    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!

  2. #2
    Hyperactive Member Wak's Avatar
    Join Date
    Nov 2000
    Location
    Brisbane, Queensland
    Posts
    298

    Smile 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.
    Visual Basic 6.0 Enterprise
    Visual C++ 6.0 Professional

    Wak

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width