-
Notifications
You must be signed in to change notification settings - Fork 0
/
UAC.frm
87 lines (86 loc) · 2.42 KB
/
UAC.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
VERSION 5.00
Begin VB.Form UAC
Caption = "UAC"
ClientHeight = 1890
ClientLeft = 60
ClientTop = 405
ClientWidth = 1935
Icon = "UAC.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1890
ScaleWidth = 1935
StartUpPosition = 3 '´°¿Úȱʡ
Begin VB.Label Label3
Caption = "ADMIN MODE"
Height = 255
Left = 480
TabIndex = 2
Top = 1440
Width = 1095
End
Begin VB.Shape Shape1
BorderColor = &H0000FF00&
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 135
Left = 240
Shape = 3 'Circle
Top = 1450
Width = 135
End
Begin VB.Label Label2
Caption = "UAC [file]"
BeginProperty Font
Name = "ËÎÌå"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 1
Top = 840
Width = 1695
End
Begin VB.Label Label1
Caption = "Command:"
BeginProperty Font
Name = "ËÎÌå"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 0
Top = 360
Width = 1215
End
End
Attribute VB_Name = "UAC"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Dim strcmd As String
strcmd = Command()
If strcmd <> "" Then
If strcmd = "firstrun" Then
RUN.Show
Unload Me
Else
CreateObject("Shell.application").shellexecute "cmd.exe", " /c " + strcmd, "", "runas", 1
End
End If
End If
End Sub