30.04.2013 Views

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A continuación se presentará una ventana similar a la<br />

siguiente figura:<br />

Por último, veremos como utilizar nuestros archivos de<br />

ayuda desde una aplicación <strong>Visual</strong> <strong>Basic</strong>. Para tal fin abra un<br />

nuevo proyecto y añada un botón de comandos al formulario.<br />

Cambie el nombre del botón por CmdAyuda y proceda a ingresar el<br />

siguiente código:<br />

Private Sub CmdAyuda_Click()<br />

Dim Ayuda<br />

Ayuda = Shell(“C:\Windows\WinHelp.exe ” & _<br />

“C:\FundVB\Lab12\MiAyuda.HLP”, 1)<br />

End Sub<br />

Aplicación Nº 4<br />

Pág. 419

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!