Skip to main content

Posts

Become Android developer in easy steps

In modern days, technology took an important place in eve-ryone’s life and phones are become an essential part of our daily routine. You can find several apps available which sat-isfy your daily needs and enables you to keep engages so-cially as well. So, app development as profession is on boom. In this article we are going to talk about how can one start, how to build Android apps. how to develop android application is a tough task, but it can open up a world of possibilities. There are possibilities that you develop the next big hit app.
Recent posts

Multi field search SQL query

One can search multiple field with this query in VB rs.Open "select empr_name, datevalue, job_desc, shifts from schedule where emp_id = " + Text2.Text + "", con, adOpenKeyset, adLockOptimistic please comment if this post helps you!

Search in Datagrid in vb6.0

You can search item through this code on keypress in datagrid, Like if you press 1 in textbox then all record starts from 1***** will be displayed, without hitting any other button. Private Sub text_change() With recordset If .State adStateClosed Then .Close End If .Open "select * from table where empid like'" & Text1.Text & "%'", con, adOpenDynamic, adLockOptimistic Set DataGrid1.DataSource = recordset End With End Sub comment if this code helps u

Textbox input control in vb6.0

This code will help one to control the input at runtime in vb. All the cases mentioned in this code are the ascii values...... For more customization you can use Private Sub text1_KeyPress(KeyAscii As Integer) If Text2.MaxLength = True Then MsgBox "Can't exceed more than 30 characters" End If Select Case KeyAscii Case Asc(" ") Case 65 To 90 Case 97 To 122 Case 48 To 57 Case 32 Case 13 Case 8 Case 127 Case Else MsgBox "Invalid Input", vbOKOnly + vbExclamation KeyAscii = 0 End Select End Sub

move items from 1 list to other

This code is to move items from 1 list to another list in vb6. In this post list1 has diffrent datatable and list2 has diffrent datatable so the item moved from list1 will take whole record to other table. Private Sub Command1_Click() On Error GoTo errorhandler Dim a As String a = List1.Text List1.RemoveItem (List1.ListIndex) rs.Open "insert into tablename select * from tablename where emprname='" + a + "'", con, adOpenDynamic, adLockOptimistic rs.Open "delete from tablename where emprname='" + a + "'", con, adOpenDynamic, adLockOptimistic List2.AddItem (a) Exit Sub errorhandler: MsgBox "Please Select an Item!" End Sub please comment if this post helps you...