how do I clear the current settings so the connection manager appears?
Option 1
All of the connection settings are stored in an external encrypted file which you can just delete and when you re-run your application the wizard will automatially appear. These files are located in the following location:
C:\Documents and Settings\All Users\Application Data\MicroFour\ConnectionData
There are two files, the AppKeys.dat and the Connections.dat. If you delete these any StrataFrame application that uses the Connection String Wizard will automatically show the wizard the next time the app is run...just FYI this includes StrataFrame itself on your development machine since StrataFrame uses itself
Option 2
Change your application key within the AppMain.vb or program.cs file depending upon your language. You will find this in the SetDataSources() method. Since all automated connection strings are stored using this application key as the unique identifier, changing this will force the wizard to re-appear since it will not be able to locate an active connection string for this key.
ConnectionManager.ApplicationKey = "ChangeThisValue"
Option 3
Probably your best bet on most occasions is to just edit the connection through the wizard. This same editor allows you to have more than one set of connection strings per application. For example, you can bounce between your development server, testing server, and production server without ever getting out of the application itself. To show this window and add a new connection or edit an existing one, call the following method:
ConnectionManager.ShowAvailableConnectionStrings()
You can find more details on this in the docs, but this should get you going.
Also, is any of this related to the New Profile/Open Profile items on the File menu of the standard StrataFrame application (MDI)?
Yes, if you created a StrataFrame Main Form, this template already has the Database Connection menu item that basically performs the Option 3 specified above.
Thanks for your continued help! You folks have been great!
Thanks! We're glad to help.