Visual Basic - error de compilacion no se encontro el miembro o metodo de datos

Life is soft - evento anual de software empresarial
   
Vista:

error de compilacion no se encontro el miembro o metodo de datos

Publicado por fernando (1 intervención) el 28/08/2011 06:20:45
me aparece un mensaje que dice
"error de compilacion no se encontro el miembro o metodo de datos"
y me subraya esto:
Private Sub Picture1_KeyDown(KeyCode As Integer, Shift As Integer)

If KeyCode = vbKeyQ Then cmdQ.BackColor = vbGreen
If KeyCode = vbKeyW Then cmdW.BackColor = vbGreen
If KeyCode = vbKeyE Then cmdE.BackColor = vbGreen
If KeyCode = vbKeyR Then cmdR.BackColor = vbGreen
If KeyCode = vbKeyT Then cmdT.BackColor = vbGreen
If KeyCode = vbKeyY Then cmdY.BackColor = vbGreen
If KeyCode = vbKeyU Then cmdU.BackColor = vbGreen
If KeyCode = vbKeyI Then cmdI.BackColor = vbGreen
If KeyCode = vbKeyO Then cmdO.BackColor = vbGreen
If KeyCode = vbKeyP Then cmdP.BackColor = vbGreen
If KeyCode = vbKeyA Then cmdA.BackColor = vbGreen
If KeyCode = vbKeyS Then cmdS.BackColor = vbGreen
If KeyCode = vbKeyD Then cmdD.BackColor = vbGreen
If KeyCode = vbKeyF Then cmdF.BackColor = vbGreen
If KeyCode = vbKeyG Then cmdG.BackColor = vbGreen
If KeyCode = vbKeyH Then cmdH.BackColor = vbGreen
If KeyCode = vbKeyJ Then cmdJ.BackColor = vbGreen
If KeyCode = vbKeyK Then cmdK.BackColor = vbGreen
If KeyCode = vbKeyL Then cmdL.BackColor = vbGreen
If KeyCode = 192 Then cmdPuntoYComa.BackColor = vbGreen
If KeyCode = vbKeyZ Then cmdZ.BackColor = vbGreen
If KeyCode = vbKeyX Then cmdX.BackColor = vbGreen
If KeyCode = vbKeyC Then cmdC.BackColor = vbGreen
If KeyCode = vbKeyV Then cmdV.BackColor = vbGreen
If KeyCode = vbKeyB Then cmdB.BackColor = vbGreen
If KeyCode = vbKeyN Then cmdN.BackColor = vbGreen
If KeyCode = vbKeyM Then cmdM.BackColor = vbGreen
If KeyCode = 188 Then cmdComa.BackColor = vbGreen
If KeyCode = 190 Then cmdPunto.BackColor = vbGreen
If KeyCode = 111 Then cmdSlash.BackColor = vbGreen
If KeyCode = vbKeyControl Then cmdCtrl.BackColor = vbGreen
If KeyCode = vbKeySpace Then cmdBarra.BackColor = vbGreen
If Shift = vbAltMask Then cmdAlt.BackColor = vbGreen
End Sub
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder