15,918,808 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 GagKumar (Top 12 by date)
GagKumar
14-Aug-15 11:42am
View
small change i made Regex.Split(data, 0x0A").Select(w=>Encoding.Default.GetBytes(w)) , here i gave space (" 0X0A"), now its working, thanks
GagKumar
11-Aug-15 7:42am
View
hello, thanks for answer, almost near but this position Regex.Split(data, "0x0A").Select(w=>Encoding.Default.GetBytes(w));
'w' is taking whole string not splitting. 0X0A giving 48 88 48 65
GagKumar
11-Aug-15 4:15am
View
yes, i want this as it is because of some compile reasons, is it possible like this?
GagKumar
11-Aug-15 4:00am
View
yes ,its a Hex value which makes line feed, i want this byte array to be compiled in PLC and displays strings with line feed in the Visualization.
GagKumar
11-Aug-15 4:00am
View
Hi DamithSL,thanks for reply, am expected 0x0A as it is in between byte array,
below is what am expecting
72 101 108 108 111 32 0 X 0 A 32 87 111 114 108 100 44 32 72 111 119 32 0X0A 32 97 114 101 32 121 111 117 63
GagKumar
5-Dec-14 9:35am
View
go it ,thanks
public static byte[] ReverseBytes(byte[] outArray)
{
byte temp;
int hitr = outArray.Length - 1;
for (int ctr = 0; ctr < outArray.Length / 2; ctr++)
{
temp = outArray[ctr];
outArray[ctr] = inArray[hitr];
outArray[hitr] = temp;
hitr -= 1;
}
return outArray;
}
GagKumar
5-Dec-14 9:31am
View
sorry to ask you again Fredrik,
am getting point of you.
GagKumar
5-Dec-14 9:09am
View
Hi thanks for response, i am looking output as 00 37 00 00, its good job
GagKumar
24-Apr-14 7:32am
View
Hello , i have code used in Extensions.GetLanguageResource("1","Text", "Text"); using VS2010 C#
want to save this text as File.txt in PC, and also show in Console output. am getting output without any Bold. i tried using Regex , normal HTML
....finally String.format. any help please
GagKumar
27-Mar-14 5:46am
View
Thank you very much for your answer
GagKumar
26-Feb-14 3:06am
View
Thanks Johannenstler, got it, i accept your answer....
GagKumar
25-Feb-14 10:17am
View
Hi, thanks for Answer ,its about to reach ,but some clarification. i want to call MouseLeftButtonUp event in Button_Click eventhandler in another class, which you gave answer i tried ,but getting error "The event 'System.Windows.UIElement.MouseLeftButtonUp' can only appear on the left hand side of += or -=" ,
Can you give some idea please,
Show More