Click here to Skip to main content
16,016,678 members

Comments by vbn.saravanakumar (Top 4 by date)

vbn.saravanakumar 31-Jul-14 12:48pm View    
Thank you Mehdi Gholam. I understood..

Current situation is, we are having a server with 4 core and 32 GB RAM..But still our app (with System.Threading.Tasks) but is using only one core. Sometime the server hangs up though the other cores are still free.
We are trying to optimize and use all the cores..
vbn.saravanakumar 15-May-14 8:09am View    
Hi Zachary.shupp,

I have no exact solution. But possible other options are:

- If you are maintaining separate sheet for each day, then please enter current date in a cell. Instead of Today(), we can use that cell.

- We may use a macro to get the date. There we can check whether the cell is already filled with a date. If not filled, we can take that row for processing.
For example:

Dim Counter As Integer
Dim CurrentValue As String

For Counter = 2 To 10
Range("D" & Counter).Select
If ActiveCell.Value = "" Then
CurrentValue = Range("B" & Counter).Value
If CurrentValue = "Mitigated" Or CurrentValue = "Escalated" Or CurrentValue = "Offline" Then
ActiveCell.Value = Now()
End If
End If
Next Counter

But we have to run the macro if any value changed in column B. Otherwise we cannot get correct result.
vbn.saravanakumar 15-May-14 4:31am View    
Hi..<br>
 <br>
Let me know the exact error message you got..<br>
Please make sure that, <br>
- you have enough number of columns in the data grid view (as per your requirement I have added 7 columns in the dgv). <br>
- you have data in the data table. <br>
- the dgv is not a data bound one.
vbn.saravanakumar 14-May-14 10:53am View    
Hi..

Another possible solutions is to read the Excel data into a data table and apply RowFilter to get all the records that meets the required criteria..