-
Notifications
You must be signed in to change notification settings - Fork 3
/
DIU.frm
472 lines (462 loc) · 15.6 KB
/
DIU.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
VERSION 5.00
Begin VB.Form DIU
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "Des-Indexador Universal"
ClientHeight = 4245
ClientLeft = 45
ClientTop = 345
ClientWidth = 7200
Icon = "DIU.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
OLEDropMode = 1 'Manual
ScaleHeight = 4245
ScaleWidth = 7200
StartUpPosition = 2 'CenterScreen
Begin VB.CheckBox NoCabeceras
BackColor = &H00000000&
Caption = "No utilizar Cabeceras (Modo IAO Clon, etc)"
BeginProperty Font
Name = "Verdana"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 720
TabIndex = 11
Top = 2520
Width = 4815
End
Begin VB.ListBox lFormato
Appearance = 0 'Flat
BackColor = &H00404040&
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 510
ItemData = "DIU.frx":030A
Left = 720
List = "DIU.frx":0314
OLEDragMode = 1 'Automatic
OLEDropMode = 1 'Manual
TabIndex = 9
Top = 480
Width = 4815
End
Begin VB.PictureBox Picture2
Align = 2 'Align Bottom
Appearance = 0 'Flat
BackColor = &H00000000&
ForeColor = &H80000008&
Height = 495
Left = 0
ScaleHeight = 465
ScaleWidth = 7170
TabIndex = 5
Top = 3750
Width = 7200
Begin VB.Label Label2
Alignment = 2 'Center
AutoSize = -1 'True
BackColor = &H00004000&
BackStyle = 0 'Transparent
Caption = "Programado por ^[GS]^ - Website: http://www.gs-zone.org"
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000E000&
Height = 240
Left = 120
MousePointer = 14 'Arrow and Question
TabIndex = 8
Top = 100
Width = 6570
End
Begin VB.Image imgCreditos
Height = 495
Left = 0
Picture = "DIU.frx":036A
Stretch = -1 'True
Top = 0
Width = 9375
End
Begin VB.Label lblCreditos
Alignment = 2 'Center
AutoSize = -1 'True
BackColor = &H00004000&
BackStyle = 0 'Transparent
Caption = "Programado por ^[GS]^ - Website: http://www.gs-zone.org"
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000E000&
Height = 240
Left = 120
MousePointer = 14 'Arrow and Question
TabIndex = 7
Top = 120
Width = 6570
End
Begin VB.Label lblEstado
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "Verdana"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 345
Left = 7320
TabIndex = 6
Top = 60
Width = 105
End
End
Begin DesIndexadorUniversal.lvButtons_H cmdSalir
Height = 1935
Left = 5640
TabIndex = 2
Top = 480
Width = 1455
_ExtentX = 2566
_ExtentY = 3413
Caption = "&Salir"
CapAlign = 2
BackStyle = 2
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
cFore = 16777215
cFHover = 16777215
cBhover = 4210752
LockHover = 3
cGradient = 0
Gradient = 3
Mode = 0
Value = 0 'False
cBack = 128
End
Begin VB.ListBox lModo
Appearance = 0 'Flat
BackColor = &H00404040&
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 990
ItemData = "DIU.frx":03C2
Left = 720
List = "DIU.frx":03D2
OLEDragMode = 1 'Automatic
OLEDropMode = 1 'Manual
TabIndex = 0
Top = 1440
Width = 4815
End
Begin DesIndexadorUniversal.lvButtons_H cmdDesindexar
Height = 735
Left = 720
TabIndex = 3
Top = 2880
Width = 1695
_ExtentX = 2990
_ExtentY = 1296
Caption = "&Desindexar"
CapAlign = 2
BackStyle = 2
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
cFore = 16777215
cFHover = 16777215
cBhover = 4210752
LockHover = 3
cGradient = 0
Gradient = 3
Mode = 0
Value = 0 'False
cBack = 32768
End
Begin DesIndexadorUniversal.lvButtons_H cmdIndexar
Height = 735
Left = 2400
TabIndex = 4
Top = 2880
Width = 1695
_ExtentX = 2990
_ExtentY = 1296
Caption = "&Indexar"
CapAlign = 2
BackStyle = 2
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
cFore = 16777215
cFHover = 16777215
cBhover = 4210752
LockHover = 3
cGradient = 0
Gradient = 3
Mode = 0
Value = 0 'False
cBack = 32896
End
Begin DesIndexadorUniversal.lvButtons_H cmdVer
Height = 735
Left = 4080
TabIndex = 12
Top = 2880
Width = 1455
_ExtentX = 2566
_ExtentY = 1296
Caption = "&Explorar"
CapAlign = 2
BackStyle = 2
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
cFore = 16777215
cFHover = 16777215
cBhover = 4210752
LockHover = 3
cGradient = 16744576
Gradient = 3
Mode = 0
Value = 0 'False
cBack = 8388608
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Modo:"
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 240
Left = 120
TabIndex = 10
Top = 1080
Width = 615
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Formato:"
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 240
Left = 120
TabIndex = 1
Top = 120
Width = 900
End
End
Attribute VB_Name = "DIU"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdDesindexar_Click()
If ExplorarDesindex Then
If GuardarDesindex Then
DoEvents
If lFormato.ListIndex = 0 Then ' original
Select Case lModo.ListIndex
Case 0
If Desindexar0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 1
If DesindexarCabezas0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 2
If DesindexarCuerpos0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 3
If DesindexarFX0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
End Select
Else ' 0.13
Select Case lModo.ListIndex
Case 0
If Desindexar0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 1
If DesindexarCabezas0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 2
If DesindexarCuerpos0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
Case 3
If DesindexarFX0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido desindexado con exito!", vbInformation
End If
End Select
End If
End If
End If
End Sub
Private Sub cmdIndexar_Click()
If ExplorarIndex Then
If GuardarIndex Then
DoEvents
If lFormato.ListIndex = 0 Then ' original
Select Case lModo.ListIndex
Case 0
If Indexar0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 1
If IndexarCabezas0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 2
If IndexarCuerpos0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 3
If IndexarFX0120 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
End Select
Else ' 0.13
Select Case lModo.ListIndex
Case 0
If Indexar0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 1
If IndexarCabezas0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 2
If IndexarCuerpos0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
Case 3
If IndexarFX0130 Then
MsgBox IniPathD & GraphicsFileD & " ha sido indexado con exito!", vbInformation
End If
End Select
End If
End If
End If
End Sub
Private Sub cmdSalir_Click()
Unload Me
End Sub
Private Sub cmdVer_Click()
If lModo.ListIndex = 0 Then
If ExplorarIndex Then
If SelDirGraficos Then
Me.WindowState = 1
DoEvents
If ExplorerGrh Then
Call frmExplorerGrh.Show
frmExplorerGrh.Caption = GraphicsFile & " [Explorador]"
End If
End If
End If
Else
MsgBox "Opción solo disponible para el Indice de Graficos!", vbInformation
End If
End Sub
Private Sub Form_Load()
Me.Caption = "Des-Indexador Universal v" & App.Major & "." & App.Minor & "." & App.Revision
lFormato.ListIndex = 0
lModo.ListIndex = 0
End Sub
Private Sub Form_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single)
MsgBox Data.Files(Data.Files.Count)
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
End
End Sub
Private Sub Label2_Click()
Call ShellExecute(Me.hWnd, "Open", "http://www.gs-zone.org", &O0, &O0, SW_NORMAL)
End Sub
Private Sub NoCabeceras_Click()
NoUsarCabecera = (NoCabeceras.value = 1)
End Sub