可以保存在文件或注册表中 Private Sub Form_Load()MsgBox GetSetting("简易闹钟", "设置", "定时时间")End SubPrivate Sub Form_Unload(Cancel As Integer)SaveSetting "简易闹钟", "设置", "定时时间", "12:10"End Sub
1.写入注册表2.写入文件,例如ini或者txt