-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm1.frm
195 lines (191 loc) · 5.5 KB
/
Form1.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
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "Setup.Lst修改器"
ClientHeight = 4740
ClientLeft = 165
ClientTop = 735
ClientWidth = 5460
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 4740
ScaleWidth = 5460
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text5
Height = 405
Left = 2040
TabIndex = 12
Top = 3600
Width = 1815
End
Begin VB.TextBox Text4
Height = 405
Left = 2040
TabIndex = 10
Top = 2880
Width = 1815
End
Begin VB.TextBox Text3
Height = 405
Left = 2040
TabIndex = 8
Top = 2160
Width = 1815
End
Begin VB.TextBox Text2
Height = 405
Left = 2040
TabIndex = 6
Top = 1440
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "..."
Height = 360
Left = 4680
TabIndex = 5
Top = 120
Width = 375
End
Begin VB.ComboBox Combo1
Height = 315
Left = 2040
TabIndex = 3
Text = "Combo1"
Top = 120
Width = 2535
End
Begin VB.TextBox Text1
Height = 405
Left = 2040
TabIndex = 1
Top = 720
Width = 1815
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4200
Top = 1680
_ExtentX = 847
_ExtentY = 847
_Version = 393216
FileName = "setup.lst"
Filter = ".lst、"
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "主程序名称"
Height = 195
Left = 720
TabIndex = 11
Top = 3720
Width = 1080
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "开始菜单默认程序组名"
Height = 195
Left = 120
TabIndex = 9
Top = 3000
Width = 1800
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "默认安装目录"
Height = 195
Left = 720
TabIndex = 7
Top = 2280
Width = 1080
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "LST文件目录"
Height = 195
Left = 720
TabIndex = 4
Top = 240
Width = 1080
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "安装程序标题"
Height = 195
Left = 720
TabIndex = 2
Top = 1560
Width = 1080
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "CAB文件名"
Height = 195
Left = 720
TabIndex = 0
Top = 840
Width = 840
End
Begin VB.Menu File
Caption = "文件"
Begin VB.Menu Open
Caption = "打开"
End
Begin VB.Menu Save
Caption = "保存"
End
Begin VB.Menu Saveas
Caption = "另存为"
End
Begin VB.Menu New
Caption = "新建"
End
Begin VB.Menu Del
Caption = "移除"
End
End
Begin VB.Menu OP
Caption = "选项"
Begin VB.Menu Set
Caption = "设置"
End
Begin VB.Menu About
Caption = "关于"
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub About_Click()
frmAbout.Show
End Sub
Private Sub Command1_Click()
CommonDialog1.ShowOpen
lstname = CommonDialog1.FileName
Combo1.Text = lstname
Combo1.AddItem lstname
Text1.Text = GetINI("Bootstrap", "CabFile", lstname)
Text2.Text = GetINI("Setup", "Title", lstname)
Text3.Text = GetINI("Setup", "DefaultDir", lstname)
Text4.Text = GetINI("icongroups", "group0", lstname)
appname = Text4.Text
End Sub
Private Sub Form_Load()
End Sub