15,912,756 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by S.Soundar (Top 23 by date)
S.Soundar
21-Sep-16 23:58pm
View
Sir I have tried ur fiddle but in that also date is updating only in the first rows textbox. I changed $(document) into $('body').It still not working for the second, third... text boxes sir. @David_Wimbley.
S.Soundar
26-Jul-16 5:12am
View
Yes bling.
S.Soundar
21-Jul-16 1:45am
View
I checked that sir. But interrupt is working fine. If I take out the Delay_ms(100) function its working fine. But if I am using delay program hangs on printf().
Here is my delay function code:
void Delay_us(unsigned int us_count)
{
while(us_count!=0)
{
us_count--;
}
}
void Delay_ms(unsigned int ms_count)
{
while(ms_count!=0)
{
Delay_us(550); //delay_us is called to generate 1ms delay
ms_count--;
Count=ms_count;
}
}
S.Soundar
11-May-16 5:00am
View
For label22 i am getting value from another form and going to store into the database Richard.
For that Int.parse and float.parse I am going to receive data from the external device through serial port and displaying it to the textbox or in the label. I am going to filter the necessary data by using and start and end character. So i think the datatype will be string and need to change it to int and float format, so that i can generate charts easily i think. If there is any other better way to do this please guide me Sir.
S.Soundar
10-May-16 6:42am
View
If it is wrong help me correct it, don't comment like this. I am not an expert like you.
S.Soundar
10-May-16 6:42am
View
Thank you Tom. I solved it.
S.Soundar
10-May-16 6:41am
View
Thank you Nagarjuna
S.Soundar
10-May-16 6:41am
View
Thanks Karthik.
S.Soundar
29-Apr-16 2:18am
View
Thank you Karthik Sir.
S.Soundar
29-Apr-16 1:30am
View
I have to filter the string starts with ** and ends with $ and need to split by _ and show each data into gridview for debugging purpose with column heading sir.
I tried richTextBox2.Text += s.ToString(); still i am facing the same problem sir.
S.Soundar
29-Apr-16 1:21am
View
Its working. Thank you karthik sir. But have another problem.
var text = string.Empty;
foreach (String s in result)
{
richTextBox2.Text = s.ToString();
}
string fn = richTextBox2.Text;
string[] d = fn.Split('-');
dataGridView1.Rows.Add(d);
while i display this in datagrid by using this code it is displaying some duplicate datas and some incomplete data. Kindly help me sir.
S.Soundar
22-Apr-16 8:08am
View
Mono is only for cross platform applications right? please suggest me a better way to host sir. And also suggest me which site is better to host.
S.Soundar
22-Apr-16 5:22am
View
Windows hosting Thiyagu sir.
S.Soundar
22-Apr-16 5:22am
View
is there anyother way to run this in the same server?
S.Soundar
20-Apr-16 5:12am
View
Okay Garth. Thank you. I will try that and come back if i have any doubts.
S.Soundar
20-Apr-16 2:23am
View
I have no idea about receiving data from the GPRS device. I don't have any server. I've directly tried TCP Client coding to receive the data but no use.
clientSocket.Connect("59.92.111.69", 8080);
this is how i connected to that ip.
NetworkStream serverStream = clientSocket.GetStream();
TextBox1.Text = TextBox1.Text + "from the receive function";
byte[] inStream = new byte[90025];
int bytesread = serverStream.Read(inStream, 0, (int)clientSocket.ReceiveBufferSize);
string returndata = System.Text.Encoding.ASCII.GetString(inStream, 0, bytesread);
msg(returndata);
serverStream.Flush();
This is what i used to receive data.
I don't know whether this technique is apt to receive data or not. If anyone knows a better way for this please suggest me. Thank you.
S.Soundar
20-Apr-16 0:06am
View
I have no idea about receiving data from the GPRS device. I don't have any server. I've directly tried TCP Client coding to receive the data but no use.
clientSocket.Connect("59.92.111.69", 8080);
this is how i connected to that ip.
NetworkStream serverStream = clientSocket.GetStream();
TextBox1.Text = TextBox1.Text + "from the receive function";
byte[] inStream = new byte[90025];
int bytesread = serverStream.Read(inStream, 0, (int)clientSocket.ReceiveBufferSize);
string returndata = System.Text.Encoding.ASCII.GetString(inStream, 0, bytesread);
msg(returndata);
serverStream.Flush();
This is what i used to receive data.
I don't know whether this technique is apt to receive data or not. If anyone knows a better way for this please suggest me. Thank you.
S.Soundar
19-Apr-16 9:02am
View
It worked. Thank you:-)
S.Soundar
19-Apr-16 7:49am
View
If i didn't call the TcpListener.stop method it is showing this error message.
"Only one usage of each socket address (protocol/network address/port) is normally permitted"
S.Soundar
19-Apr-16 6:35am
View
Thank you sir.
S.Soundar
19-Apr-16 2:48am
View
Deleted
I have another problem. If i try to give input manually from the server side i am getting error like "Only one usage of each socket address (protocol/network address/port) is normally permitted". I tried the registry settings which i found from the internet and if i close the socket and open it again it shows the error like "unable to contact the object". Please help to overcome this problem. It will be a huge help for me. Thank you in advance.
S.Soundar
19-Apr-16 0:10am
View
Thank u so much OriginalGriff and Richard. Now i realize the problem:-).
S.Soundar
18-Apr-16 9:23am
View
I think its encoding problem.
Today i tried this by giving input manually in asp.net.
Please find the codes below. it still contains the question mark in the result.
Client side coding:
NetworkStream serverStream = clientSocket.GetStream();
TextBox1.Text = "Client Socket Program - Server Connected ...";
byte[] inStream = new byte[90025];
serverStream.Read(inStream, 0, (int)clientSocket.ReceiveBufferSize);
//TextBox2.Text = inStream.ToString();
string returndata = System.Text.ASCIIEncoding.ASCII.GetString(inStream);
msg(returndata);
serverStream.Flush();
Server side coding:
TextBox1.Text="Server Started";
clientsocket = serversocket.AcceptTcpClient();
TextBox1.Text = TextBox1.Text + " \n Accept Connection from Client";
//Console.WriteLine("Accept connection from client");
reqcount = 0;
//sample
reqcount = reqcount + 1;
NetworkStream netstream = clientsocket.GetStream();
TextBox2.Text = "Hi! this is from the server.";
string serverresponse = TextBox2.Text;
Byte[] sendbytes = System.Text.Encoding.ASCII.GetBytes(serverresponse);
netstream.Write(sendbytes, 0, sendbytes.Length);
netstream.Flush();
And i am getting output as
"Server:Hi! this is from the server.�����������������������������������������������������������������������������������������"
this question mark is still appearing in the result. please help me i don't know what is wrong. help me to correct this. Thank you.
Show More