-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathFrmEntryBaru.frm
208 lines (198 loc) · 6.42 KB
/
FrmEntryBaru.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
VERSION 5.00
Begin VB.Form FrmEntryBaru
BackColor = &H0000FF00&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 3255
ClientLeft = 0
ClientTop = 0
ClientWidth = 4665
ClipControls = 0 'False
ControlBox = 0 'False
LinkTopic = "Form1"
Picture = "FrmEntryBaru.frx":0000
ScaleHeight = 3255
ScaleWidth = 4665
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 375
Left = 100
Picture = "FrmEntryBaru.frx":0C2F
ScaleHeight = 375
ScaleWidth = 1935
TabIndex = 8
Top = 0
Width = 1935
End
Begin VB.TextBox TxtUninstallString
Appearance = 0 'Flat
BackColor = &H00FFFFFF&
Height = 315
Left = 240
TabIndex = 2
Text = "Command Uninstall"
Top = 2040
Width = 4215
End
Begin VB.TextBox TxtDiplayName
Appearance = 0 'Flat
BackColor = &H00FFFFFF&
Height = 315
Left = 240
TabIndex = 1
Text = "Program Name"
Top = 1440
Width = 4215
End
Begin VB.TextBox TxtRegName
Appearance = 0 'Flat
BackColor = &H00FFFFFF&
Height = 315
Left = 240
TabIndex = 0
Text = "Key Registry Name"
Top = 840
Width = 4215
End
Begin VB.Line Line1
X1 = 240
X2 = 4440
Y1 = 2520
Y2 = 2520
End
Begin VB.Label LblOK
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "OK"
ForeColor = &H00000000&
Height = 315
Left = 2160
MouseIcon = "FrmEntryBaru.frx":1380
MousePointer = 99 'Custom
TabIndex = 7
Top = 2720
Width = 1095
End
Begin VB.Label LblBatal
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Cancel"
ForeColor = &H00000000&
Height = 315
Left = 3360
MouseIcon = "FrmEntryBaru.frx":168A
MousePointer = 99 'Custom
TabIndex = 6
Top = 2720
Width = 1095
End
Begin VB.Shape ShapeOK
BackColor = &H000080FF&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 375
Left = 2160
Shape = 4 'Rounded Rectangle
Top = 2640
Width = 1095
End
Begin VB.Shape ShapeBatal
BackColor = &H000080FF&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 375
Left = 3360
Shape = 4 'Rounded Rectangle
Top = 2640
Width = 1095
End
Begin VB.Label LblRegName
BackStyle = 0 'Transparent
Caption = "Registry Name (key) :"
ForeColor = &H00000000&
Height = 255
Left = 240
TabIndex = 5
Top = 600
Width = 3015
End
Begin VB.Label LblUninstallString
BackStyle = 0 'Transparent
Caption = "Uninstall String :"
ForeColor = &H00000000&
Height = 255
Left = 240
TabIndex = 4
Top = 1800
Width = 1815
End
Begin VB.Label LblDiplayName
BackStyle = 0 'Transparent
Caption = "Display Name :"
ForeColor = &H00000000&
Height = 255
Left = 240
TabIndex = 3
Top = 1200
Width = 1335
End
End
Attribute VB_Name = "FrmEntryBaru"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'--> avaco Uninstaller 2002
'--> version 1.00
'--> Version Language : English
'--> By Agus Ramadhani
'--> avaco software
'--> http://avaco-software.tripod.com
'--> avaco@9cy.Com
'--> 2002-2003
'--> Don't forget to Vote :)
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.LblOK.FontBold = False
Me.LblBatal.FontBold = False
End Sub
Private Sub LblBatal_Click()
Unload Me
End Sub
Private Sub LblBatal_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.LblOK.FontBold = False
Me.LblBatal.FontBold = True
End Sub
Private Sub LblOK_Click()
If TxtRegname.Text = "" Then
MsgBox "Please Don't blank to Key registry Name !", vbCritical, "Error !!"
Exit Sub
End If
If TxtDiplayName.Text = "" Then
MsgBox "Please Don't blank to Program Name !", vbCritical, "Error !!"
Exit Sub
End If
If TxtUninstallString.Text = "" Then
MsgBox "Please Don't blank to Uninstall Command ", vbCritical, "Error !!"
Exit Sub
End If
Call SaveString(HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Uninstall\" + TxtRegname.Text, "DisplayName", TxtDiplayName.Text)
Call SaveString(HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Uninstall\" + TxtRegname.Text, "UninstallString", TxtUninstallString.Text)
FrmMain.New_Refresh
Unload Me
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
FormDrag Me
End Sub
Private Sub LblOK_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.LblOK.FontBold = True
Me.LblBatal.FontBold = False
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
FormDrag Me
End Sub