Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jollypathak
  • Order by date
  1. jollypathak

    Search a listbox using a text box

    'Replace the AutoSelectItem in the .bas file and Text1_Change() with the following. 'Add a public sub to the same Module file (.bas file). Public Sub AutoSelectItem(lstAny As ListBox, txtAny As TextBox) Dim intStart As Integer Dim strTemp As String Static intLeftOff As Integer...
  2. jollypathak

    Unload all forms upon closing MDI form

    'Add following code to the MDIForm_Unload event 'This code unloads all forms in "Forms" collection of VB. Private Sub MDIForm_Unload(Cancel As Integer) Dim frm As Form For Each frm In Forms 'Unload each form but not the MDI until 'all others are unloaded...
  3. jollypathak

    Search a listbox using a text box

    'Add followings to a Module file (.bas) 'You can use the same code for combo box also. 'Just have to use different constant and change the 'type in the AutoSelectItem argument from ListBox to ComboBox 'this constant is used by list box Public Const LB_FINDSTRING = &H18F 'this constant is...

Part and Inventory Search

Back
Top