VB TIP: Using Auto Complete

One of the latest user interface fads is AutoComplete, a feature Microsoft introduced with Internet Explorer 5.

Since it's birth, numerous Visual Basic sites have attempted to duplicate such functionality by using special combo box algorithms, API search procedures and such like. This code snippet doesn't. Instead, it uses the exact same API call as the software giant.

That means you can simplify the typing of Web addresses, automatically complete file and folder names, plus display command lines tapped direct into the Run menu — all with the use of this special function.

To use this code snippet, simply add a Text Box to your Form, then call the MakeAutoComplete method, passing your Text Box as an argument.

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.

Thanks for your registration, follow us on our social networks to keep up-to-date