Search results

  1. trialer

    Question How to insert record from gridview to database in background worker w/ progress bar?

    Private Sub BackgroundWorker1_DoWork(sender As System.Object, e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork With DataGridView1 For i As Long = 1 To 100 BackgroundWorker1.ReportProgress(i) For Each row As...
  2. trialer

    Question Need help to set image on datagridview.

    'data of the datagridview dgvSubs.Columns.Clear() dgvSubs.Columns.Add("a", "a") dgvSubs.Columns.Add("b", "b") dgvSubs.Columns.Add("c", "c") Dim row As String() = New String() {"1", "Product 1", "1000"} dgvSubs.Rows.Add(row)...
  3. trialer

    Question Question on F5 to F8 keydown event?

    Select Case e.KeyCode Case Keys.F1, Keys.F2, Keys.F3, Keys.F4, Keys.F5, Keys.F6, Keys.F7, Keys.F8, Keys.F9, Keys.F10, Keys.F11, Keys.F12 MsgBox(e.KeyCode) End Select Whenever i try to do a keydown event in F5 to F8, they have the same keycode. Please...
  4. trialer

    How to insert a RowNumber in a vb report?

    Help on how to insert a RowNumber on a reportviewer.
  5. trialer

    Question how to restore a database ?

    I follow the code here but in restoring a database it doesn't work for me. Backup and Restore SQL Server Databases - Home Thanks in advance.
  6. trialer

    Question child form icon Question?

    How do i hide Child Form Icon in menustrip when its state set to maximized and show child form icon when its state set to normal state? when i set the form property icon to showicon = false defaulticon appears in menustrip?
  7. trialer

    How disallow duplicate items in datagrid view?

    im making of a program that will move items from datagridview1 to datagridview2. if the selected row to be move from datagridview have already in the in the datagridview2 it will do nothing but if it doesn't have in datagridview2 it will add to its items. here's my code but have some errors...
  8. trialer

    How to disable shortcut keys

    in my form, i have toolstrip and some of them have shortcut keys. how do i disable them on load. i cant find the exact code. Private Sub MainMenu_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load login.ShortcutKeys.enabled = false End Sub
  9. trialer

    How connect to database in local system?

    please help me how to write code for connection vb.net to sql server database in standalone system. any steps hot to start this program.. that will connect a publish system to its database..
  10. trialer

    Question help me to code this..

    With lvList .Clear() 'loading data from database .View = View.Details .FullRowSelect = True .GridLines = True .Columns.Add("Customer ID", 50) .Columns.Add("Name", 100) .Columns.Add("Address", 100)...
  11. trialer

    Question help how to charge monthly fee of multiple customer

    how can i add the newbal to datagridview with databound already? Private Sub cal() i1 = PrevBal i2 = MF calc = i1 + i2 NewBal = calc.ToString End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  12. trialer

    Question how to make a server - client billing system?

    anyone can teach me how to make billing system which is server - client. i will put the sql database to one pc then clients - the gui system. i want to run may system from other pc then connect to sql database which in another pc.. thanks!
  13. trialer

    Question code for the "Balance Column"?

    anyone who knows what code for the "Balance Column" thankS.
  14. trialer

    Question Sql command help to improve my code

    Connect() Dim cmd As New SqlCommand("select max(Reg_No) from table_subsprofile", con) Dim n As Integer n = cmd.ExecuteScalar txtReg_No.Text = n + 1 Disconnect() Help me to get through this problem. if there is no value in the sql database table_subsprofile an...
  15. trialer

    Help about accounting systems

    need help on the code of the column balance thanks in advance!
  16. trialer

    Question Report Viewer in VB 2010 Epress Express

    How can i make a report in vb 2010 express edition? there is no reportviewer
  17. trialer

    Question retrieve data from sql database

    How can i retrieve data from sql database and put the values in textboxes?
  18. trialer

    Question selecting customer id from listbox

    Private Sub lvList_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles lvList.DoubleClick 'Select Customer ID from lvList frmEdit.txtCustomerId.text = lvList.Select("Customer ID").value End Sub my code for selecting the customer id from my listbox...
  19. trialer

    Question Retrieve mutliple records that will show in a listbox

    here's my Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click Dim cmd As New SqlCommand Dim da As New SqlDataAdapter Dim dt As New DataTable Dim s As New BindingSource Connect()...
  20. trialer

    Question show username who login

    after logging in i want to see example: Username: [Username] Department: [Department]
Top Bottom