Search:

Type: Posts; User: saikgr

Search: Search took 0.01 seconds.

  1. Re: Change The Backcolor To A Specific Cell in A DataGridView

    Yes, .paul. You are right. So, declaring
    Min_Value 'As Decimal = CDec(Val(If(Not e.Value Is Nothing, e.Value.ToString, “0”)))'
    i can use the character 'oC' in every cell and change the cell...
  2. Re: Change The Backcolor To A Specific Cell in A DataGridView

    Using the CellFormatting sub, i managed to change the cell backcolor correctly. Here the code:

    Private Sub DataGridView1_CellFormatting(sender As Object, e As...
  3. Re: Change The Backcolor To A Specific Cell in A DataGridView

    Yes, you are right. I actually do not know what ise the current cell. I only want to affect for cells of the column 2 of the datagridview1 (Minimum Temperature).
    But i try to find a method for this...
  4. Re: Change The Backcolor To A Specific Cell in A DataGridView

    I tried to use the following code for current cell:

    If isNumber = 4 Then

    DataGridView1.Rows.Add(DataArray(3), ID_Area, (DataArray(0) / 10).ToString & Chr(176) & "C",...
  5. Change The Backcolor To A Specific Cell in A DataGridView

    Hello,

    I have a Datagridview in which i receive data from a serial port and show them to the datagridview. You can see the code below.
    Private Delegate Sub DisplayData(ByVal Buffer As String)
    ...
  6. Re: Receive Data from Serial Port and show them in Datagridview

    The issue solved.
    I finally used 'ReadLine' and 'Delegate' method and the problem solved.
    Here with is the code i finally use to receive strings with three values with format xxx:xxx:xxx, split...
  7. Re: Receive Data from Serial Port and show them in Datagridview

    I still try to find solution with no result.
    So, i made another project receiving a string line "xxx:xxx:xxx" from MCU using Readline method and show it to a textbox in order to find out where is...
  8. Re: Receive Data from Serial Port and show them in Datagridview

    In 'Run' and 'Run_1' picture you can see an orange textbox. I have it in order i show the received string from MCU. It always received ok.
    Another issue i have is that when i push "Receive data"...
  9. Re: Receive Data from Serial Port and show them in Datagridview

    Following suggestions Mc_VB suggestions i managed to receive and devide my data correctly having at many times the result of the following picture Run.180258
    However, after the first receive...
  10. Re: Receive Data from Serial Port and show them in Datagridview

    To Mc_VB.
    My microcontroller code really sends data like this. Specifically you can see the following code in C

    printf("%d:%d:%d",TEMP_MIN,CURRENT_TEMP,TEMP_MAX);
    However, i will try your...
  11. Re: Receive Data from Serial Port and show them in Datagridview

    I tried to use type conversion cdbl function as you wrote me but the result is the same.
    Although, when i try to show my data to a textbox

    Private Sub ReceivedText(ByVal [text] As String)
    ...
  12. Receive Data from Serial Port and show them in Datagridview

    Hello to forum.
    I'm new to Visual Basic but in programming generally. I usually write code in C language for microcontrollers.
    I'm trying to write code in order to receive data from a serial port....
Results 1 to 12 of 12



Click Here to Expand Forum to Full Width