How do I implement an incremental search in list/dir/combo/file boxes?



How do I implement an incremental search in list/dir/combo/file boxes?..

Answer / Rajat Kush

Incremental search can be implemented using the AutoComplete feature in Visual Basic. You'll need to create a ListBox or ComboBox, set its DropDownStyle property to 'DropDownList', and implement an event like TextChange that triggers the search based on user input. For file-related boxes, you can use the Directory.GetFiles() method along with AutoComplete.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What is the error message that you would get if you try to assign "Null" to an integer variable?

4 Answers   Symphony, Yahoo,


What is disconnected recordset?

2 Answers  


What is the difference between a Property Let and Property Set procedure?

1 Answers  


Types of LockEdits in RDO.

1 Answers  


How can I create a VBX?

1 Answers  


What is RdExecDirect?

1 Answers  


How many types of Instantiations are there and what are they?

1 Answers  


How can we call Stored procedure of Back End in RDO and ADO ?

1 Answers  


Whether HTML supports multimedia: and document links?

1 Answers  


What is Centralization Error Handling?

1 Answers  


What is dao in vba?

1 Answers  


Name and define the logical tiers in a traditional 3-tiered architecture?

1 Answers  


Categories