Your SlideShare is downloading. ×
  • Like
Avance actividad
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply
Published

Avances de programa

Avances de programa

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
149
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Guadalupe Lima Pérez Informática 606 Elaboración y Mantenimiento De Sistemas De Información
  • 2. Guadalupe Lima Pérez Informática 606 Elaboración y Mantenimiento De Sistemas De Información Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click REM consultas Dim i As Integer Dim n As Integer n = ALTASBindingSource.Count() Dim bandera As Boolean bandera = True Dim tamaño As Integer tamaño = ALTASBindingSource.Count() i = 1 If (tamaño = 0) Then MsgBox("tabla vacia") Else Do If (Trim(MATRICULATextBox.Text) = Trim(TextBox1.Text)) Then bandera = False Else ALTASBindingSource.MoveNext()
  • 3. Guadalupe Lima Pérez Informática 606 Elaboración y Mantenimiento De Sistemas De Información i = i + 1 End If Loop While (bandera = True And i <= tamaño) End If If (bandera = True) Then ID_ALTATextBox.Visible = False ID_ALTATextBox.Enabled = False MATRICULATextBox.Visible = False MATRICULATextBox.Enabled = False NOMBRETextBox.Visible = False NOMBRETextBox.Enabled = False APELLIDOTextBox.Visible = False APELLIDOTextBox.Enabled = False ESPECIALIDADTextBox.Visible = False ESPECIALIDADTextBox.Enabled = False GRUPOTextBox.Visible = False GRUPOTextBox.Enabled = False TURNOTextBox.Visible = False TURNOTextBox.Enabled = False MsgBox("no existen datos") Else ID_ALTATextBox.Enabled = False ID_ALTATextBox.Visible = True MATRICULATextBox.Enabled = False MATRICULATextBox.Visible = True NOMBRETextBox.Enabled = False NOMBRETextBox.Visible = True APELLIDOTextBox.Enabled = False APELLIDOTextBox.Visible = True ESPECIALIDADTextBox.Enabled = False ESPECIALIDADTextBox.Visible = True GRUPOTextBox.Enabled = False GRUPOTextBox.Visible = True TURNOTextBox.Enabled = False TURNOTextBox.Visible = True End If
  • 4. Guadalupe Lima Pérez Informática 606 Elaboración y Mantenimiento De Sistemas De Información End Sub Private Sub ALTASBindingNavigator_RefreshItems(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click End Sub Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub PrintForm() Throw New NotImplementedException End Sub Private Sub MATRICULATextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MATRICULATextBox.TextChanged End Sub Private Sub APELLIDOLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click OpenAccess "archivo.txt" for output as #1 grabar = "altas" print #1,grabar grabar = "altas" print #1,grabar close #1 End Sub
  • 5. Guadalupe Lima Pérez Informática 606 Elaboración y Mantenimiento De Sistemas De Información Private Sub OpenAccess(ByVal p1 As String) Throw New NotImplementedException End Sub End Class