Click here to Skip to main content
16,015,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralServices Pin
pittuck15-Jun-05 7:29
pittuck15-Jun-05 7:29 
GeneralRe: Services Pin
KaptinKrunch15-Jun-05 19:45
KaptinKrunch15-Jun-05 19:45 
GeneralRe: Services Pin
pittuck15-Jun-05 20:55
pittuck15-Jun-05 20:55 
GeneralRe: Services Pin
KaptinKrunch16-Jun-05 5:12
KaptinKrunch16-Jun-05 5:12 
Generalsql2000 / image / ado Pin
erikkl200015-Jun-05 6:58
erikkl200015-Jun-05 6:58 
GeneralRe: sql2000 / image / ado Pin
Dave Kreskowiak15-Jun-05 7:31
mveDave Kreskowiak15-Jun-05 7:31 
GeneralAuto Complete Combobox problems... Pin
jake07215-Jun-05 5:18
jake07215-Jun-05 5:18 
GeneralRe: Auto Complete Combobox problems... Pin
LordLothar15-Jun-05 6:20
LordLothar15-Jun-05 6:20 
I dont know if u like this, im using "one sub auto complete combobox" and this i took from VB.net articles here:
<br />
Private Sub ComboBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress<br />
<br />
        Me.ComboBox1.DroppedDown = True<br />
<br />
        If Char.IsControl(e.KeyChar) Then Return<br />
<br />
        With Me.ComboBox1<br />
<br />
       Dim ToFind As String = .Text.Substring(0, .SelectionStart) & e.KeyChar<br />
            <br />
         Dim Index As Integer = .FindStringExact(ToFind)<br />
<br />
            If Index = -1 Then Index = .FindString(ToFind)<br />
<br />
            'dont allow typing from non collection combobox list items<br />
            If Index = -1 Then<br />
                e.Handled = True<br />
                Return<br />
            End If<br />
<br />
            .SelectedIndex = Index<br />
            .SelectionStart = ToFind.Length<br />
            .SelectionLength = .Text.Length - .SelectionStart<br />
<br />
            e.Handled = True<br />
<br />
        End With<br />
    End Sub<br />

And i have found a problem when i m using typing instead of selecting an item from the combobox collection. Why this can happen? If i select item from combobox and add row to datatable it has no problem but if i typed half then i press tab button keyboard (then text suppose auto complete) , when i add this to datatable it cause error and the error is came from unreadable combobox. If i seletect instead of typing , this error wont come out.
GeneralSilly Question - Handling a single quote while writing a query in vb.net Pin
prathiba_naresh15-Jun-05 5:00
prathiba_naresh15-Jun-05 5:00 
GeneralRe: Silly Question - Handling a single quote while writing a query in vb.net Pin
Dave Kreskowiak15-Jun-05 7:27
mveDave Kreskowiak15-Jun-05 7:27 
GeneralRe: Silly Question - Handling a single quote while writing a query in vb.net Pin
Mitch F.15-Jun-05 13:59
Mitch F.15-Jun-05 13:59 
GeneralRe: Silly Question - Handling a single quote while writing a query in vb.net Pin
prathiba_naresh22-Jun-05 5:23
prathiba_naresh22-Jun-05 5:23 
GeneralFilelistbox Pin
JimClark6815-Jun-05 4:17
JimClark6815-Jun-05 4:17 
GeneralRe: Filelistbox Pin
Dave Kreskowiak15-Jun-05 4:22
mveDave Kreskowiak15-Jun-05 4:22 
GeneralRe: Filelistbox Pin
JimClark6815-Jun-05 5:29
JimClark6815-Jun-05 5:29 
GeneralRe: Filelistbox Pin
Dave Kreskowiak15-Jun-05 7:18
mveDave Kreskowiak15-Jun-05 7:18 
Generaldatagrid problem Pin
nickc115-Jun-05 2:50
sussnickc115-Jun-05 2:50 
Generalpopulate dropdownlist Pin
Manik Nath14-Jun-05 22:45
Manik Nath14-Jun-05 22:45 
GeneralRe: populate dropdownlist Pin
syed saba14-Jun-05 23:40
syed saba14-Jun-05 23:40 
GeneralRe: populate dropdownlist Pin
CalaLily15-Jun-05 3:47
CalaLily15-Jun-05 3:47 
GeneralRe: populate dropdownlist Pin
15-Jun-05 19:34
suss15-Jun-05 19:34 
GeneralProblem with Dhtmledit control Pin
Anonymous14-Jun-05 21:48
Anonymous14-Jun-05 21:48 
GeneralRe: Problem with Dhtmledit control Pin
Dave Kreskowiak15-Jun-05 3:49
mveDave Kreskowiak15-Jun-05 3:49 
QuestionDhtmledit syntax ? Pin
Anonymous14-Jun-05 21:11
Anonymous14-Jun-05 21:11 
QuestionHow to develop a irc chat in asp.net Pin
veeri14-Jun-05 19:32
veeri14-Jun-05 19:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.