in vb6.0 can we use function keys (F1 to F12) in
form_keypress event in a form which contains commandbutton
(s) control? if yes, then explain me how it is possible.
Thanks.

Answers were Sorted based on User's Feedback



in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains comm..

Answer / narayan

In VB6.0, we can use function keys (F1 to F2) in
Form_KeyCode event in a form.
We just need to set KeyPreview property of that form as
True.

Thank you,

Is This Answer Correct ?    22 Yes 4 No

in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains comm..

Answer / hari

F5- key to run the project, F4- key to view the properties window. so f1 to f12 functions key's to describe the project. command button method is doesn't describe.

Is This Answer Correct ?    6 Yes 10 No

Post New Answer

More Visual Basic Interview Questions

How does the following statements work? On Error Goto 0

4 Answers  


DHTML Is used for what?

0 Answers  


VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?

0 Answers  


What are the record set types?

1 Answers  


What are the important components of OLEDB?

0 Answers  






Is the Variant type slower than using other variable types?

0 Answers  


What is the use of Visual Basic Document file?

0 Answers  


Which controls can not be placed in MDI ?

2 Answers  


I belive VB6 is a powerful and matured tool that any other front end tool, why is it outdated? is it because of lack of awareness or because of difficult to use?

5 Answers   HCL,


Difference between ActiveX Control and Standard Control.

0 Answers   HCL, Ocwen,


How would you create properties in ActiveX Control?

0 Answers  


what is the meaning of cts company logo?..

1 Answers   CTS,


Categories