AfterOpenProject事件就是从config.txt提取注册码,然后比较注册码是否正确
Dim s As String = FileSys.ReadAllText(ProjectPath & "config.txt")
If s = EncryptText(ComputerId, "abc", "abc") Then
msgbox("True")'进入系统
Else
msgbox("False")'获取配置判断日期
End If
试用按钮可以在配置或者注册表记录一下日期
http://www.foxtable.com/help/topics/1544.htm
http://www.foxtable.com/help/topics/2051.htm