-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmAcercade.frm
268 lines (255 loc) · 8.5 KB
/
frmAcercade.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
VERSION 5.00
Begin VB.Form frmAcercade
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 4 'Fixed ToolWindow
ClientHeight = 3825
ClientLeft = 6975
ClientTop = 3435
ClientWidth = 9555
ClipControls = 0 'False
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3825
ScaleWidth = 9555
ShowInTaskbar = 0 'False
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Versón DEMO"
ForeColor = &H000000FF&
Height = 195
Left = 4350
TabIndex = 8
Top = 90
Width = 1020
End
Begin VB.Label lblVersion
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Versión"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 285
Left = 6150
TabIndex = 5
Top = 900
Width = 885
End
Begin VB.Label lblCopyright
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "(C) 2012 por Hugo Fabián Alaníz"
BeginProperty Font
Name = "Arial"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 255
Left = 2130
TabIndex = 7
Top = 2250
Width = 3180
End
Begin VB.Label lblCompany
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "PLC.Net - hfaalaniz@hotmail.com"
BeginProperty Font
Name = "Arial"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 255
Left = 2190
TabIndex = 6
Top = 2520
Width = 3315
End
Begin VB.Label lblPlatform
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Plataforma"
BeginProperty Font
Name = "Arial"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 360
Left = 210
TabIndex = 4
Top = 0
Width = 1275
End
Begin VB.Label lblLicenseTo
Alignment = 1 'Right Justify
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Autorizado a: "
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 210
Left = 8370
TabIndex = 3
Top = 30
Width = 1020
End
Begin VB.Label lblCompanyProduct
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "Sistema para Análisis y Balanceo Dinámico de Rotores Rígidos y Flexibles."
BeginProperty Font
Name = "Arial"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFC0C0&
Height = 915
Left = 1980
TabIndex = 1
Top = 1290
Width = 7290
End
Begin VB.Label lblWarning
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = $"frmAcercade.frx":0000
BeginProperty Font
Name = "Arial"
Size = 6.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 885
Left = 90
TabIndex = 0
Top = 2850
Width = 9405
End
Begin VB.Label lblProductName
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "VibraMec"
BeginProperty Font
Name = "Arial"
Size = 32.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 765
Left = 3180
TabIndex = 2
Top = 540
Width = 2895
End
Begin VB.Image Image1
Height = 1710
Left = 210
Picture = "frmAcercade.frx":02E7
Top = 780
Width = 1815
End
End
Attribute VB_Name = "frmAcercade"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'Variable tipo Flag que indica cuando se cumplíó el tiempo para descargar la pantalla de presentación
Public Listo As Boolean
'****************************************************
' Valor en segundos para la duración del Splash
'****************************************************
Private Const DURACION As Long = 3
Private Sub Form_Load()
Dim El_Tiempo As Long
' Muestra la ventana y le establece la animación
'On Error GoTo Err_Proc
Call Animar(Me, 500, AW_CENTER Or AW_ACTIVATE)
lblVersion.Caption = "Versión " & App.Major & "." & App.Minor & "." & App.Revision
'lblProductName.Caption = App.Title
'lblCompanyProduct.Caption = 'App.Comments 'App.CompanyName
'lblCopyright.Caption = App.LegalCopyright
'lblCompany.Caption = App.LegalTrademarks
lblPlatform.Caption = "Plataforma Windows (R)"
'Almacena el punto de partida para hacer el retardo en segundos
El_Tiempo = Timer + DURACION
' ... Espera
Do While Timer < El_Tiempo
DoEvents
Loop
' Se cierra desde SubMain
Listo = True
Exit_Proc:
Exit Sub
Err_Proc:
Err_Handler True, Err.Number, Err.Description, "frmAcercade", "Form_Load"
Err.Clear
Resume Exit_Proc
End Sub
'Private Sub Form_KeyPress(KeyAscii As Integer)
' Unload Me
'End Sub