Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~23.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for djjeavons

This code snippet demonstrates how to use ADO.NET to read the contents of a Microsoft Excel Worksheet. This snippet also demonstrates the use of the [GetSchema](https://msdn.microsoft.com/en-us/library/ms135981%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396) method to determine what worksheets are available within an Excel workbook allowing the end user the ability to select a specific worksheet in order …

Member Avatar for vivek_sharma
2
2K
Member Avatar for naz1234

is there possible to simplify this statement ? There are same if I using the case statement and while loop. void decode (unsigned char* msg) { if (strstr (msg, "DO=0x00") != NULL) // 0 { //00000 LATGbits.LATG1 = 0 ; //DO1 OFF LATGbits.LATG0 = 1 ; //DO2 OFF LATGbits.LATG13 = …

Member Avatar for 0x69
0
216
Member Avatar for naz1234

Hi, I got some data from this table. Can it be use using (for loop) ? http://i.imgur.com/lq7WtWA.png Recently, I used (if else) function, but it seem too longer. I am new to C progrmming. Here the code (if else) funtion that I done: if (0 < result < 409 ) …

Member Avatar for jnneson
0
261
Member Avatar for naz1234

How to count number in C language ? For example , I have have input 5 until 7 then it will print 3 or input 2 until 4 then it will print 3 here my code: #include <stdio.h> int main() { int n,count=0; printf("Enter an integer: "); scanf("%d", &n); while(n!=0) …

Member Avatar for nullptr
0
205
Member Avatar for naz1234

Hi, how to make counting numbers ? For example, I send command to HyperTerminal, then it will reply (print) counted values. Here the first example, send command: UI1-UI10 reply command: UI1-UI10_in_Hexadecimal:0x3FF The above example, Ui1 until Ui10, it count, one until ten. Then, the binary will have IIIIIIIIII (10bit), but …

Member Avatar for chriswelborn
0
233
Member Avatar for naz1234

Hi, from the result in my "for" loop, have stored four value. How to extract that value to show the value(sprintf) ? Kindly refer to the attached the image file. Thanks Regrads, nazif

Member Avatar for naz1234
0
226
Member Avatar for naz1234

Hi, I got error in send_string(lala): how to fix it ? thnaks ... #include <p24Hxxxx.h> #include <libpic30.h> #include <stdio.h> int FBS __attribute__((space(prog), address(0xF80000))) = 0xCF ; //_FBS( // BWRP_WRPROTECT_OFF & // Boot Segment Write Protect (Boot Segment may be written) // BSS_NO_FLASH & // Boot Segment Program Flash Code Protection …

Member Avatar for rubberman
0
191
Member Avatar for naz1234

hi, I am new to C programming. I want to program a running LED on my PIC24 (PIC24HJ256GP206) I have 5 LED on my PORT G and have input PORTB (RB0) My program should, if RB0 is grounded (I put jumper on my circuit) the LED will be running faster, …

0
183
Member Avatar for naz1234

Hi, I have some value at column named "data". I need to scan the value at that column, if more than "2", then column named "1" will be "1 = data -2" Then at next row and still in current column named "data" , if more than "2", then column …

Member Avatar for Mr.M
0
941
Member Avatar for naz1234

Hi, I have some number 1 to 5. How to find top 3 number in that range ? For example, in the range of 1 to 5 , I want to show only 1 to 3 in the the text box.

Member Avatar for Reverend Jim
0
155
Member Avatar for naz1234

I have Button A and Button B. How to make Button A, same with action like Button B ? For example , if I click Button A , it will do calculation x = 1 + 1 . Button B also will do that if I click at somewhere else. …

Member Avatar for Reverend Jim
0
216
Member Avatar for naz1234

Hello there,i have given the task to make the atm machine using the c program.. my question is, why i got some error..I cant recognize such of that error... [CODE]/*intro*/ #include<stdio.h> #include<conio.h> #include<time.h> int main() { printf("\n --UNIVERSITI TEKNOLOGI MALAYSIA--\n"); printf("\n FACULTY OF ELECTRICAL ENGINEERING\n"); printf("\n 1 SKEL 9\n"); printf("********************************************************************************"); …

Member Avatar for jeevz
1
5K
Member Avatar for naz1234

Hi, how to dock this label to bottom ? ![Chart.PNG](/attachments/large/3/ca00538d0c8223d401e1e81bfdf00d7d.PNG "align-center") and how to remove all this line in chart ? ![21.PNG](/attachments/large/3/64a2fe2fca2f21051e29c0f69d4889da.PNG "align-center") Code : Chart1.ChartAreas(0).AxisX.Interval = 1 Chart1.ChartAreas(0).AxisX.IntervalOffset = 1

0
89
Member Avatar for naz1234

Hi How to plot chart from data in the middle of Datagridview ? I tried this code below , [from this table](http://i.imgur.com/1GzQITe.png) , it plot [nicely like this](http://i.imgur.com/NH2aTio.png) , but but when [this data increase](http://i.imgur.com/CSMfEGJ.png) , I [do not want this kind of chart](http://i.imgur.com/wUx89fP.png) ..... Chart1.Series(0).Points.Clear() Chart1.Series(0).BorderWidth = 5 Chart1.Series(0).Points.AddXY(DataGridView1.Rows(0).Cells(1).Value, …

0
135
Member Avatar for naz1234

Hi , how to add numbers in specific count of rows in Datagridview like in this[Click Here](http://i.imgur.com/IZJ39Wq.png) picture. I already run this code to sum all collumn in my Datagridview. But I need to sum the 1+2+4 in collumn TEST1 without erasing the other data. Private Sub Button1_Click(sender As Object, …

Member Avatar for DaveAmour
0
2K
Member Avatar for rola theo

Good day guys I need help for adding 2 column in datagridview my project is : the import and the varibles are : Imports Excel = Microsoft.Office.Interop.Excel Imports Microsoft.Office.Interop.Excel Imports Microsoft.Office.Interop Imports System.Runtime.InteropServices Public Class Form2 Friend xlApp As New Excel.Application Friend xlWorkBook As Excel.Workbook Friend xlWorkSheet As Excel.Worksheet Friend …

Member Avatar for rola theo
0
5K
Member Avatar for naz1234

Hi, how to plot a chart from imported excel in Datagridview? I tried the tutorial from [HERE](https://www.daniweb.com/software-development/csharp/code/492766/display-excel-data-in-a-datagridview), but I do not know how to plot the chart. Previously, I used MS.Access for my Datagridview, then I manage to choose the Datasource. But, for this case, I imported an excel and …

Member Avatar for naz1234
0
201
Member Avatar for naz1234

Hi, how to avoid the WebBrowser in Vb.net to go at specific website, then return to specific link Here the code I try, but got an error,expression does not produce value Here the code Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If WebBrowser1.Navigate("http://www.youtube.com") Then WebBrowser1.Navigate("http://www.google.com") …

Member Avatar for Mr.M
0
208
Member Avatar for naz1234

Hi guys, I want to change the width of a line chart When I run with this code: Private Sub Chart1_Click(sender As Object, e As EventArgs) Handles Chart1.Click chart1.Series["Series1"].BorderWidth = 3; Chart1.DataBind() Chart1.Update() End Sub I got this [error](http://i.imgur.com/bGix59l.png). : Property access must assign to the property or use its …

Member Avatar for cgeier
0
347
Member Avatar for naz1234

Hi guys, I want to create a window application from VB, so that a user can enter the **OLD Power** value in table. Then **line chart** will be created in that windows application. My **Old Power** data already obtained and recorded in Excel. So, in that window application, 1) The …

Member Avatar for naz1234
0
5K
Member Avatar for naz1234

Hi, do you know why my output does not working properly.. Actually my output should looping,but it straightly ending the program.. [CODE]#include<conio.h> #include<stdio.h> int main () { int choice = 0 ; while ((choice>=1)&&(choice<=5)) { printf ("\nPlease Choose No 1 , 2 , 3 , 4 , 5\n"); printf ("Enter …

Member Avatar for naz1234
0
150
Member Avatar for naz1234

Hello do you know why my output not looping ? Even I already use "do" to make this code for looping.. [CODE]#include <stdio.h> #include <conio.h> int main () { int hari; double duit; do { printf ("Mari rent kerete..."); printf ("\nkalau 1 hari = 100"); printf ("\nkalau 2-4 hari = …

Member Avatar for DJSAN10
0
132
Member Avatar for naz1234

Hello there,ihave given the assigment to make the c program to print the asterisks to represent the grades.. My question is , why the asteriks does not appear ? I think i got problem at the looping for asterisk.. actually my output should be like this : the graph such …

Member Avatar for naz1234
0
169