PRACTICA1
ClientTop = 435
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3105
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
PRACTICA2
ype=Exe
Form=Form2.frm
Reference=*G{00020430-0000-0000-C000-000000000046}#2.0#0#C:WINDOWSsystem32stdole2.tlb#OLE Automation
Startup="Form1"
Command32=""
Name="Proyecto1"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="SiCo"
CompilationType=-1
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
[MS Transaction Server]
AutoRefresh=1
PRACTICA3
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4815
ClientLeft = 60
ClientTop = 450
ClientWidth = 6900
LinkTopic = "Form1"
ScaleHeight = 4815
ScaleWidth = 6900
StartUpPosition = 3 'Windows Default
Begin VB.ListBox List1
Height = 1035
Left = 720
TabIndex = 2
Top = 2280
Width = 4455
End
Begin VB.CommandButton cmdfaq
Caption = "Factorial"
Height = 855
Left = 3480
TabIndex = 1
Top = 240
Width = 1335
End
Begin VB.TextBox Txt1
Height = 855
Left = 240
TabIndex = 0
Top = 240
Width = 1575
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
PRACTICA4
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5190
ClientLeft = 60
ClientTop = 450
ClientWidth = 7140
LinkTopic = "Form1"
ScaleHeight = 5190
ScaleWidth = 7140
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdulam
Caption = "ulam"
Height = 735
Left = 3840
TabIndex = 2
Top = 1800
Width = 2295
End
Begin VB.ListBox List1
Height = 2985
Left = 600
TabIndex = 1
Top = 1920
Width = 2415
End
Begin VB.TextBox Txtnum
Height = 1095
Left = 720
TabIndex = 0
Top = 240
Width = 4215
End
End
PRACTICA5
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4380
ClientLeft = 120
ClientTop = 420
ClientWidth = 6705
LinkTopic = "Form1"
ScaleHeight = 4380
ScaleWidth = 6705
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "Mes"
Height = 855
Left = 1920
TabIndex = 0
Top = 600
Width = 2295
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim boton As Integer
Private Sub Command1_Click()
Dim mes As Integer
mes = InputBox("capture el mes", "mes", 0)
Select Case mes
Case 1, 10, 12: MsgBox "tiene 31 dias"
Case 2: MsgBox "tiene 28 dias"
Case 3, 4, 5, 6, 7, 8, 9, 11: MsgBox "tiene 30 dias"
Case Else
MsgBox "valor inexistente", vbCritical
End Select
End Sub