Está en la página 1de 19

PORRAFOLIO DE PROGRAMACION DE SOFTWARE

JUAN SEBASTIAN BERNAL HERRERA LIC: JORGE OBANDO GRADO: 10-2

COLEGIO JOS ANTONIO GALAN FECHA: 19/06/2013 CUAMRAL-META

PROYECTO DE PROGRAMAVION DE SOFTWARE MASTER

1. Para realizar este proyecto primero que todo se tenia que saber si el pc tenia visual BASIC despus de eso se abre y empezamos a desarrollar nuestro proyecto Para empezar realizamos un men compuestos por: commandbutton, textbox, label e imgenes

2. Los commandbutton los programamos para llevarnos a nuestras formas

ejemplo:

3. Despus de eso presionamos button y vamos a diputados

4. Despus de hacer la operacin presionamos el button con forma de house

5. Ahora si la explicacin de cmo se hizo: 1. Tomamos una forma y pegamos unos button

2. Luego la organizas como quieres que quede

3. Al colocar los button se colocan los que muestran el resultado

4. Despus se da doble click en un button y se escribe la programacin en el button aceptar

5. Y ya al final se decora como mas te gusta y para volver o pasar al siguiente form dars el siguiente cdigo: Private Sub Image6_Click() Menu.Show Unload Me y volvers al men

LOS CODIGOS DE CADA AUNO DE MIS FORMAS Ecuacin de primer grado

Cdigo Private Sub Image1_Click() Menu.Show Unload Me End Sub

Private Sub Image3_Click()

End Sub

Private Sub Image5_Click() X.Caption = -Val(B.Text) / Val(A.Text) End Sub

Ecuacin de segundo grado

Cdigo

Private Sub Form_Load() Me.Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2 End Sub

Private Sub Image1_Click() Menu.Show Unload Me

End Sub

Private Sub Image2_Click() d = (Val(txta.Text) * Val(txte.Text) - Val(txtb.Text) * Val(txtd.Text)) Dim q As Double lblresultx.Caption = (Val(txtc.Text) * Val(txte.Text) - Val(txtb.Text) * Val(txtf.Text)) / d lblresulty.Caption = (Val(txta.Text) * Val(txtf.Text) - Val(txtc.Text) * Val(txtd.Text)) / d If Val(lblresultx.Caption) And Val(lblresulty.Caption) = 0 Then lblresultx.Caption = "Esta ecuacion no tiene solucion" lblresulty.Caption = "Esta ecuacion no tiene solucion" Else End If End Sub Masa del aire en un neumtico

Cdigo

Private Sub Image2_Click() Menu.Show Unload Me

End Sub

Private Sub Image3_Click() pma.Caption = Val(nv.Text) * (Val(pr.Text) * Val(v.Text) / 0.37 * Val(t.Text)) + 460 End Sub

IVA de los productos

Cdigo

Private Sub Image2_Click() Menu.Show Unload Me

End Sub

Private Sub Image3_Click() lbliva.Caption = (Val(txta1.Text) + Val(txta2.Text) + Val(txta3.Text) + Val(txta4.Text)) * 0.16 lblresult.Caption = (Val(txta1.Text) + Val(txta2.Text) + Val(txta3.Text) + Val(txta4.Text)) * 0.16 + Val(txta1.Text) + Val(txta2.Text) + Val(txta3.Text) + Val(txta4.Text) End Sub Diputados

Cdigo Private Sub Image2_Click() Menu.Show Unload Me

End Sub

Private Sub Image3_Click() favor.Caption = (Val(txt2.Text) * 100 / Val(txt1.Text)) contra.Caption = (Val(txt3.Text) * 100 / Val(txt1.Text)) neutro.Caption = (Val(txt4.Text) * 100 / Val(txt1.Text)) End Sub Areas

Cdigo

Private Sub Command1_Click()

End Sub

Private Sub Command2_Click() frmdiputados.Show Unload Me

End Sub

Private Sub Image6_Click() Menu.Show Unload Me

End Sub

Private Sub Image7_Click() t.Caption = Val(B.Text) * Val(H.Text) / 2 AC.Caption = Val(L.Text) * Val(L.Text) ACIR.Caption = Val(R.Text) * Val(R.Text) * 3.1416 AR.Caption = Val(BR.Text) * Val(HR.Text) End Sub Promedio de notas

Cdigo

Private Sub Image3_Click() Menu.Show Unload Me

End Sub

Private Sub Image4_Click() PROMEDIO.Caption = Val(NUNO.Text) + Val(NDOS.Text) + Val(NTRES.Text) / 3 End Sub Edad de personas

Cdigo Private Sub Image3_Click() Menu.Show Unload Me

End Sub

Private Sub Image5_Click() edad.Caption = Val(aa.Text) - Val(an.Text) End Sub Salario de un obrero

Cdigo

Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)

End Sub

Private Sub Image2_Click() Menu.Show Unload Me

End Sub

Private Sub Image3_Click() s.Caption = Val(vh.Text) * Val(ch.Text) If Val(ch.Text) > 40 Then

s.Caption = s.Caption * Val(o.Text) * 2 Else Val (ch.Text) < 40 s.Caption = s.Caption * Val(o.Text) End If

End Sub Velocidad de un mvil

Cdigo Private Sub Image2_Click() Menu.Show Unload Me

End Sub

Private Sub Image3_Click() v.Caption = (Val(d.Text) / Val(ti.Text)) If Val(v.Caption) > 80 Then v.Caption = v.Caption & "km/h Ha exedido el limite de velocidad, cometio una infraccion " Else v.Caption = v.Caption & "km/h No ha exedido el limite de velocidad, sigue asi " End If

End Sub

Censo nacional

Cdigo

Private Sub Image3_Click()

Menu.Show Unload Me

End Sub

Private Sub Image4_Click() lblprimaria.Caption = (Val(primaria.Text) * 100 / Val(encuestados.Text)) & "% estudiaron primaria" lblsecundaria.Caption = (Val(secundaria.Text) * 100 / Val(encuestados.Text)) & "% estudiaron secundaria" lbltecnica.Caption = (Val(tecnica.Text) * 100 / Val(encuestados.Text)) & "% estudiaron una carrera tecnica" lblprofesionales.Caption = (Val(profesionales.Text) * 100 / Val(encuestados.Text)) & "% hicieron estudios profesionales" lblposgrado.Caption = (Val(posgrado.Text) * 100 / Val(encuestados.Text)) & "% hicieron posgrado" End Sub

Private Sub Label13_Click()

End Sub

The end
HECHO POR: JUAN SEBASTIAN BERNAL HERRERA GRADO: 10-2

También podría gustarte