-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRESUMENARCHIVOS.FRM
207 lines (190 loc) · 7.76 KB
/
RESUMENARCHIVOS.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
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form frmResumenArchivos
BorderStyle = 3 'Fixed Dialog
Caption = "Resumen de Archivos del Proyecto"
ClientHeight = 6105
ClientLeft = 1305
ClientTop = 1695
ClientWidth = 9315
Icon = "ResumenArchivos.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6105
ScaleWidth = 9315
ShowInTaskbar = 0 'False
Begin VB.CommandButton cmd
Caption = "&Aceptar"
Height = 375
Left = 4080
TabIndex = 1
Top = 5640
Width = 1215
End
Begin ComctlLib.ListView lview
Height = 5535
Left = 0
TabIndex = 0
Top = 0
Width = 9255
_ExtentX = 16325
_ExtentY = 9763
View = 3
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 327682
Icons = "imgProyecto"
SmallIcons = "imgProyecto"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 3
BeginProperty ColumnHeader(1) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Text = "Path archivo"
Object.Width = 7056
EndProperty
BeginProperty ColumnHeader(2) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Alignment = 1
SubItemIndex = 1
Key = ""
Object.Tag = ""
Text = "Tamaño en Bytes"
Object.Width = 2117
EndProperty
BeginProperty ColumnHeader(3) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Alignment = 2
SubItemIndex = 2
Key = ""
Object.Tag = ""
Text = "Tipo"
Object.Width = 1058
EndProperty
End
Begin ComctlLib.ImageList imgProyecto
Left = 120
Top = 5160
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
UseMaskColor = 0 'False
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 16
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":0E42
Key = ""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":1394
Key = ""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":18E6
Key = ""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":1E38
Key = ""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":238A
Key = ""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":28DC
Key = ""
EndProperty
BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":2E2E
Key = ""
EndProperty
BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":2F28
Key = ""
EndProperty
BeginProperty ListImage9 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":3022
Key = ""
EndProperty
BeginProperty ListImage10 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":3134
Key = ""
EndProperty
BeginProperty ListImage11 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":3246
Key = ""
EndProperty
BeginProperty ListImage12 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":3358
Key = ""
EndProperty
BeginProperty ListImage13 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":346A
Key = ""
EndProperty
BeginProperty ListImage14 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":357C
Key = ""
EndProperty
BeginProperty ListImage15 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":368E
Key = ""
EndProperty
BeginProperty ListImage16 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "ResumenArchivos.frx":37A0
Key = ""
EndProperty
EndProperty
End
End
Attribute VB_Name = "frmResumenArchivos"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmd_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim itmx As ListItem
Dim K As Integer
CenterWindow hWnd
lview.ListItems.Add , , Proyecto.PathFisico, 6, 6
Set itmx = lview.ListItems(1)
itmx.SubItems(1) = CStr(Proyecto.FileSize) & " KB"
itmx.SubItems(2) = "VBP"
For K = 1 To UBound(Proyecto.aArchivos)
If Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_FRM Then
lview.ListItems.Add , , Proyecto.aArchivos(K).PathFisico, 1, 1
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_BAS Then
lview.ListItems.Add , , Proyecto.aArchivos(K).PathFisico, 2, 2
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_CLS Then
lview.ListItems.Add , , Proyecto.aArchivos(K).PathFisico, 3, 3
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_FRM Then
lview.ListItems.Add , , Proyecto.aArchivos(K).PathFisico, 4, 4
End If
Set itmx = lview.ListItems(K + 1)
itmx.SubItems(1) = CStr(Proyecto.aArchivos(K).FileSize) & " KB"
If Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_FRM Then
itmx.SubItems(2) = "FRM"
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_BAS Then
itmx.SubItems(2) = "BAS"
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_CLS Then
itmx.SubItems(2) = "CLS"
ElseIf Proyecto.aArchivos(K).TipoDeArchivo = TIPO_ARCHIVO_FRM Then
itmx.SubItems(2) = "OCX"
End If
Next K
Set itmx = Nothing
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set frmResumenArchivos = Nothing
End Sub