-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm1.frm
314 lines (301 loc) · 8.9 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
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
VERSION 5.00
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form Main
BackColor = &H00FFFFFF&
Caption = "Allium"
ClientHeight = 8160
ClientLeft = 120
ClientTop = 450
ClientWidth = 11205
LinkTopic = "Form1"
ScaleHeight = 8160
ScaleWidth = 11205
StartUpPosition = 3 'Windows Default
Begin VB.PictureBox cmdNota
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 480
Left = 6600
Picture = "Form1.frx":0000
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 14
Top = 0
Width = 480
End
Begin VB.PictureBox cmdCalendario
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 6000
Picture = "Form1.frx":029B
ScaleHeight = 480
ScaleMode = 0 'User
ScaleWidth = 480
TabIndex = 13
Top = 0
Width = 480
End
Begin VB.PictureBox cmdCalculadora
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 5400
Picture = "Form1.frx":0F13
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 12
Top = 0
Width = 480
End
Begin VB.PictureBox cmdExport
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 4800
Picture = "Form1.frx":1A95
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 11
Top = 0
Width = 480
End
Begin VB.PictureBox cmdConfig
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 4200
Picture = "Form1.frx":2488
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 10
Top = 0
Width = 480
End
Begin VB.PictureBox cmdActualizar
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 3600
Picture = "Form1.frx":30B1
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 9
Top = 0
Width = 480
End
Begin VB.PictureBox cmdLogin
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 3000
Picture = "Form1.frx":3B4F
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 8
Top = 0
Width = 480
End
Begin VB.PictureBox cmdBuscar
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 2400
Picture = "Form1.frx":446E
ScaleHeight = 551.724
ScaleMode = 0 'User
ScaleWidth = 480
TabIndex = 7
Top = 0
Width = 480
End
Begin VB.PictureBox cmdUsuarios
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 1800
Picture = "Form1.frx":4D7A
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 6
Top = 0
Width = 480
End
Begin VB.PictureBox cmdSaldo
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 1200
Picture = "Form1.frx":5854
ScaleHeight = 551.724
ScaleMode = 0 'User
ScaleWidth = 551.725
TabIndex = 5
Top = 0
Width = 480
End
Begin VB.PictureBox cmdBoletas
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 600
Picture = "Form1.frx":639D
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 4
Top = 0
Width = 480
End
Begin VB.PictureBox cmdEmpresas
AutoSize = -1 'True
BorderStyle = 0 'None
FillStyle = 0 'Solid
Height = 480
Left = 0
Picture = "Form1.frx":6DD2
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 3
Top = 0
Width = 480
End
Begin VB.FileListBox File1
Height = 480
Left = 5760
TabIndex = 2
Top = 1200
Width = 5055
End
Begin MSDataGridLib.DataGrid DataGrid1
Height = 4695
Left = 2280
TabIndex = 1
Top = 2880
Width = 8895
_ExtentX = 15690
_ExtentY = 8281
_Version = 393216
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 3082
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 3082
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
Begin VB.ListBox List1
DataField = "Nombre"
DataSource = "Adodc1"
Height = 4545
Left = 0
TabIndex = 0
Top = 2880
Width = 2295
End
Begin VB.Line Line2
X1 = -360
X2 = 11160
Y1 = 600
Y2 = 600
End
Begin VB.Line Line1
DrawMode = 7 'Invert
X1 = 0
X2 = 11160
Y1 = 3360
Y2 = 3360
End
End
Attribute VB_Name = "Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdBoletas_Click()
frmBoletas.Show
End Sub
Private Sub cmdCalculadora_Click()
frmCalc.Show
End Sub
Private Sub cmdCalendario_Click()
frmCalendario.Show
End Sub
Private Sub Form_Load()
direccion = "C:\Users\Lucas\Desktop\Proyecto\2ºEntrega\proyecto.mdb"
conectar
Dim rs As New ADODB.Recordset
rs.ActiveConnection = DBconnect
rs.Source = "SELECT * FROM Proveedores"
rs.Open
'Esta parte recorre la tabla proveedores, mostrando todos sus elementos
If Not (rs.BOF And rs.EOF) Then
rs.MoveFirst
While rs.EOF = False
List1.AddItem rs!Nombre
rs.MoveNext
Wend
End If
rs.Close
DBconnect.Close
End Sub
Private Sub Image1_Click()
End Sub
Private Sub Picture4_Click()
End Sub