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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get the number of free bytes on a disk?

1412


What is "NULL"?

1245


It possible to call OLEDB's Features directly in VB without using any control?

1724


Types of Resultsets.

1733


Explain about conditional operators?

770


How do I play MID, WAV or other multimedia files?

1249


Write the Steps in Creating an ActiveX Control?

1701


How would you create Visual basic Document file?

2104


What is the use of progress Bar Control?

1705


Does VB support pointers to functions?

1372


How would you access objects created in ActiveX Exe and ActiveX D1T ?

1784


Difference between ActiveX Control and Standard Control.

2373


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

1939


Explain about control properties?

827


When/Why should I use Option Explicit?

1227