Hi Terry,
That information is stored in the Connections.dat and AppKeys.dat which are stored in the "%ProgramData%\MicroFour\ConnectionData folder of your computer.
You have several options here:
- Delete those files and then your application will show up the Connection Manager to allow you to enter another connection.
- Create a utility program that will allow you to access the Connection Manager in which you can edit your connection and select the current one you want to use.
If yo go with 2nd option, here is a method I use to change and set any connection as the default one for my applications:
''' <summary>
''' Sets the database connection
''' </summary>
''' <remarks></remarks>
Private Sub SetDatabaseConnection()
'-- Check security for this module
If Not Progytech.Helpers.HasPermission("Database Connection") Then
Exit Sub
End If
'-- Show the connection dialog and allow a connection to be selected
If MicroFour.StrataFrame.Data.ConnectionManager.ShowAvailableConnectionStrings() Then
'-- Since a connection was selected, then all of the existing dialogs need to be closed
' since their connection is established to the original source.
For Each loForm As Form In Me.MdiChildren
loForm.Close()
loForm.Dispose()
Next
'-- Force the connections to be reset
MicroFour.StrataFrame.Data.ConnectionManager.SetConnections()
End If
End Sub