Ok, I want to start this first..

Where should I put this code? In form 1 or in form 2?

Private Sub Form_Load()
Dim strRun As String
Me.Visible = False
strRun = GetSetting(App.EXEName, "RunStatus", "HasRun", "False")
If strRun = "False" Then
SaveSetting App.EXEName, "RunStatus", "HasRun", "True"
Me.Visible = True
Else
Form2.Show
Unload Me
End If
End Sub


When first run, Form1 will be displayed and insert a new Key and value, (HasRun and "True") in the Registry, under
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\<name of your application>\RunStatus
Can I use default location? I don't know where the key value was inserted?