Visual Basic - autocompletar una cadena

Life is soft - evento anual de software empresarial
 
Vista:

autocompletar una cadena

Publicado por Miguel Angel Guzmán (5 intervenciones) el 27/05/2001 05:26:13
Sere breve:
Como logro autocompletar un texto que ya habia escrito anteriormente en una caja de texto, similar a lo que hace el explorer con las cuando escribes por segunda ocacion una pagina.

Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:autocompletar una cadena

Publicado por BENJO (167 intervenciones) el 28/05/2001 17:47:48
El siguiente codigo lo saqué de VBCode, pero nunca lo probé, así que adelante, dame las novedades. Gracias.

BENJO

'Add a label (Label1), and text box (Text1) and a command button (Command1) to
'a form, and add the following:

Option Explicit

'Flags to control the operation of SHAutoComplete.
'The first four are used to override the Internet
'Explorer registry settings. The user can change
'these settings manually by launching the Internet
'Options property sheet from the Tools menu and
'clicking the Advanced tab.The last five can be
'used to specify which files or URLs will be
'available for autoappend or autosuggest operations.

'Ignore registry default and force feature on
Private Const SHACF_AUTOSUGGEST_FORCE_ON As Long = &H10000000

'Ignore registry default and force feature off.
Private Const SHACF_AUTOSUGGEST_FORCE_OFF As Long = &H20000000

'Ignore registry default and force feature on. (Also know as AutoComplete)
Private Const SHACF_AUTOAPPEND_FORCE_ON As Long = &H40000000

'Ignore registry default and force feature off. (Also know as AutoComplete)
Private Const SHACF_AUTOAPPEND_FORCE_OFF As Long = &H80000000

'Currently (SHACF_FILESYSTEM | SHACF_URLALL)
Private Const SHACF_DEFAULT As Long = &H0

'Includes the File System as well as the rest
'of the shell (Desktop\My Computer\Control Panel\)
Private Const SHACF_FILESYSTEM As Long = &H1

'URLs in the User's History
Private Const SHACF_URLHISTORY As Long = &H2

'URLs in the User's Recently Used list%
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar