VB 6.0 - Save form modifications in code

Posted on 2000-03-13
Medium Priority
Last Modified: 2013-12-25
I have created code that makes a modification to Data Controls on a form.  It udpates the connect string.  How can I save the form modifications?
Question by:cpatte1
LVL 71

Accepted Solution

Éric Moreau earned 150 total points
ID: 2613163
The easiest way is to open the .frm file as a text file and write to it.

Expert Comment

ID: 2613333
Check out the savesetting and getsetting statements. They are used to save application settings in the registry. It works very nicely and the help text explains how to use it.

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question