User Profile

Collapse

Profile Sidebar

Collapse
Big P
Big P
Last Activity: Mar 25 '11, 05:35 AM
Joined: Jan 24 '11
Location: Dom Rep
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to calculate cell data in DataGridView VB Express?

    Hello,

    I would like to calculate cells in DataGridView ( VB Express)

    My datagridview1 looks something like this.
    --------------------------------------…
    Row# col1 col2 col3 Col 4
    --------------------------------------…
    Row1 25 13 2
    Row2 26 24 4
    Row3 17 13 10
    Row4 etc etc etc
    Row5
    etc
    ...
    See more | Go to post

  • Big P
    started a topic How to filter DataGridView in VB Express?

    How to filter DataGridView in VB Express?

    Hello,

    I would like to filter multiple rows in DataGridView ( VB Express)

    My form has 3 Textboxes, 1 Button and 2 DataGridViews. The datagridview1 has 3 columns of data. My datagridview1 looks something like this.
    --------------------------------------…
    Year - Month - Day
    --------------------------------------…
    2010 - April - Monday
    2009 - May - Tuesday
    2008 - June - Wednesday...
    See more | Go to post

  • Public Class Form1

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
    Me.ComboBox1.Dr opDownStyle = ComboBoxStyle.D ropDownList
    Me.ComboBox1.It ems.Add("Video 1")
    Me.ComboBox1.It ems.Add("Video 2")
    Me.ComboBox1.It ems.Add("Video 3")
    End Sub
    End Class
    See more | Go to post

    Leave a comment:


  • How to make a combobox as dropdownlist that stay white?

    I need to make a combobox as dropdownlist that stays white.
    the combobox becomes gray or silver when i change it as dropdownlist.
    My question is:

    How to keep the combobox as dropdownlist in the same color "WHITE"
    if i have to change the drawmode then please codes to add items then.
    tks for your help.

    My Combobox as dropdownlist should be like this picture:...
    See more | Go to post

  • How to make this "if" statement faster in VB Express?

    I have over 100 labels.
    My Question is:
    how to do the same without writing label1,label2,l abel3,label4 etc. till label 100.
    I need to save memory.
    tks for your help

    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    
    If TextBox1.Text = 1 Then
    Label1.Text = 4
    Label2.Text = 4
    Label3.Text = 4
    Label4.Text = 4
    ...
    See more | Go to post
    Last edited by Niheel; Jan 27 '11, 09:38 PM.

  • Yes I know what you said.
    I just do not want to click a main button with 1000 codes.
    Remember my Datagridview has a lot of rows and colunms and every row must be checked with codes if it`s true or false .
    Is there a way to split or activate the codes into more syntax
    with only having to click once on the main button? otherwise the codes are going to be very large.
    Tks for your help Oralloy
    See more | Go to post

    Leave a comment:


  • How to update a form when a a button is clicked?

    I need to update a form everytime a button is clicked.
    My form has more than 20 buttons.
    So need i to find out what is the best event to do that.

    I am new to VB Express and now i have the time to explore something new.
    Tks for your help.
    See more | Go to post

  • Big P
    started a topic How to clear a Specific Row in DataGridView?

    How to clear a Specific Row in DataGridView?

    DataGridView1.R ows.?
    rowindex.3?
    rowcount3?

    I need to say DataGridView1.R ow number 3 clear or maybe delecte row number 3.
    I AM NOT USING DATA SOURCE.

    Tks a lot!
    See more | Go to post

  • How to move to the next row an so on in DataGridView?

    Dim i As Integer
    Dim s As Integer
    For i = 0 To 16
    s = s + DatagridView2(i , 0).Value

    Next i

    Dim sa As Integer
    For ia = 0 To 16
    sa = sa + DatagridView2(i a, 1).Value
    Next ia


    If s = 11 Then
    DatagridView2(1 7, 0).Value = s
    Else
    ...
    See more | Go to post

  • Thanks a lot, really helped me to have an idea!
    I got it this way now:
    Code:
      Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            
            Me.TextBox1.Text = 1
            Me.TextBox2.Text = 1
        End Sub
    
       
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    ...
    See more | Go to post
    Last edited by Niheel; Jan 25 '11, 02:03 PM. Reason: use code tags and proper spelling + Grammar.

    Leave a comment:


  • How to go from row 1 to 1000 without writing every row or column 1000 times?

    I need a faster way of going from row 1 to 1000 without writing every row or colunm 1000 times.

    Do I need to declare it?
    Dim .... as integer ?
    I need to save memory. Please help

    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            If TextBox1.Text = 5 Then
                '*NOTE:*Cell  Cell 0 + Cell 1 + Cell 2 and so on til  Cell 20
    ...
    See more | Go to post
    Last edited by Niheel; Jan 25 '11, 02:04 PM. Reason: code tags, and always ask question and description first then show code.
No activity results to display
Show More
Working...