-
Notifications
You must be signed in to change notification settings - Fork 1
/
licence.frm
130 lines (121 loc) · 4.01 KB
/
licence.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
VERSION 5.00
Begin VB.Form licence
BorderStyle = 3 'Fixed Dialog
Caption = "Licence Agreement Accept or Decline..."
ClientHeight = 4245
ClientLeft = 45
ClientTop = 330
ClientWidth = 5055
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4245
ScaleWidth = 5055
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.PictureBox licencePicture
BackColor = &H00414D38&
Height = 4245
Left = -60
Picture = "licence.frx":0000
ScaleHeight = 4185
ScaleWidth = 5055
TabIndex = 0
Top = -15
Width = 5115
Begin VB.TextBox txtLicenceTextBox
BackColor = &H00414D38&
ForeColor = &H00FFFFFF&
Height = 2685
Left = 315
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 5
Top = 405
Width = 4455
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Accept"
ForeColor = &H8000000E&
Height = 210
Left = 4200
TabIndex = 4
ToolTipText = "If you accept the program will run"
Top = 3795
Width = 600
End
Begin VB.Label declineLabel
BackStyle = 0 'Transparent
Caption = "Decline"
ForeColor = &H8000000E&
Height = 210
Left = 3375
TabIndex = 3
ToolTipText = "If you decline the program will close"
Top = 3795
Width = 600
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = $"licence.frx":2246
BeginProperty Font
Name = "Arial"
Size = 6.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 570
Left = 360
TabIndex = 2
Top = 3180
Width = 4380
End
Begin VB.Label licenceAgreement
BackStyle = 0 'Transparent
Caption = "Licence Agreement"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 315
TabIndex = 1
Top = 120
Width = 1530
End
End
End
Attribute VB_Name = "licence"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub declineLabel_Click()
Dim ofrm As Form
Dim slicence As String
msgBoxA "Please uninstall and remove the Rocketdock Enhanced" & vbCr & "settings tool from your computer.", vbExclamation + vbYesNo
For Each ofrm In Forms
Unload ofrm
Next
slicence = "0"
PutINISetting "Software\IconSettings", "Licence", slicence, toolSettingsFile
End
End Sub
Private Sub Label2_Click()
Dim slicence As String
licence.Hide
slicence = "1"
PutINISetting "Software\IconSettings", "Licence", slicence, toolSettingsFile
End Sub