15,908,254 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 EADever (Top 44 by date)
EADever
20-Jul-17 8:47am
View
public static void main(String[] args) throws IOException {
FileInputStream fis = new FileInputStream(new File("c:\\arena_l_lobby_land_map.h32"));
int iByteCount = fis.read();
if (iByteCount == -1)
System.out.println("stream not empty");
else
System.out.println("stream is empty");
}
this is correct?
EADever
20-Jul-17 8:42am
View
Can you give a sample code to read contents and look to non-zero bytes?
EADever
21-Dec-16 5:53am
View
can you give me an example?
EADever
16-Dec-16 20:50pm
View
Can you give me an example?
EADever
14-Dec-16 23:28pm
View
Wow... this is fully guide, and this is what im looking for. Thanks you for your sugguestion
EADever
14-Dec-16 23:26pm
View
Coz there are many class class these abstract class member override
EADever
13-Dec-16 11:16am
View
Thanks bro, this is what im looking for.
EADever
13-Dec-16 7:29am
View
`properties.GetTargetStatus();` get List<string> value from [XmlAttribute("")]
EADever
12-Dec-16 4:21am
View
I just need to put elements into 1 element and they are in 1 List collection
EADever
8-Dec-16 10:58am
View
can you give more details?
EADever
8-Dec-16 10:38am
View
Yes, only one attribute per class.
EADever
1-Dec-16 4:31am
View
Thanks sir. But I don't have correct answer yet :(
EADever
1-Dec-16 4:24am
View
So in c# can't do like Java? :(
Coz I need that variable inside a normal class without extends T
EADever
30-Nov-16 9:53am
View
This is what I expect... Thanks for your help
EADever
29-Nov-16 23:25pm
View
Your suggestion don't have override function call on base class?
EADever
26-Nov-16 11:18am
View
But problem is im get only equipment data of npc_id that i give at the question. its must return not null, but after i check by code if (items2 != null) {} else {items2 return null}
EADever
26-Nov-16 4:31am
View
i mean these function call and variable using from another class, not in VisibleObjectController.
eg. need to use in public abstract class VisibleObject.
EADever
26-Nov-16 0:53am
View
I want to use these function call and variable inside VisibleObject class it self.
EADever
25-Nov-16 11:45am
View
`private VisibleObjectController<t> controller;` have error: t doesn't exist and function getController<t>() can't return to controller
EADever
16-Nov-16 10:36am
View
Thanks, im updated my question xD
EADever
14-Nov-16 3:58am
View
Thanks for your help again... its work like a charm! this is a new thing i need to learn ;)
EADever
14-Nov-16 3:46am
View
Thanks for your answer but two bytes header are dynamic, its not static
so i did this:
byte a = (byte)stream.ReadByte();
byte b = (byte)stream.ReadByte();
ushort opcode = (ushort)((int)a | (b << 8));
is it correct?
EADever
29-Jul-16 12:23pm
View
Yeah i've tried run with .batch file and its working well
EADever
29-Jul-16 7:57am
View
this is what i tried but after click on button just a black console appear and dissapear immediately
private void button_Click(object sender, RoutedEventArgs e)
{
Process process = new Process();
process.EnableRaisingEvents = false;
process.StartInfo.FileName = "java.exe";
process.StartInfo.Arguments = "java -jar -Xms2072m -Xmx3096m -server -ea -javaagent:.//gameserver//libs//ea-commons-1.8.jar -cp .//gameserver//libs//*;.//gameserver//libs//AL-Game_clean.jar com.aionemu.gameserver.GameServer";
process.Start();
}
EADever
7-Aug-15 23:26pm
View
im forget this: output value must be integer in list (eg. [123, 456])
EADever
7-Aug-15 2:25am
View
i got it... but main problem is here: The method AddRange(String[]) is undefined for the type List<string>
EADever
7-Aug-15 2:13am
View
i got this when apply your code: Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
EADever
27-Jul-15 3:21am
View
thanks for your help!
im success with this code:
List<integer> i = new ArrayList<integer>();
i.add(140001119);
i.add(140001106);
i.add(140001108);
boolean a ;
boolean b;
boolean c;
a = i.contains(140001119);
b = i.contains(140001106);
c = i.contains(140001108);
if (a && b && c)
System.out.println("match");
result = match :) thanks brother
EADever
27-Jul-15 3:19am
View
thanks for your solution! but i still need use if for check condition! :(
EADever
27-Jul-15 3:09am
View
Can you give a simple code?
EADever
15-Jul-15 7:41am
View
Oh i just dont know about it! Thanks for the informations :)
I have a question about sql query: How to get query result id if parent_id count < 2? (result will give id value)
EADever
14-Jul-15 22:06pm
View
do you have skype? i need your help if you have free time!
EADever
14-Jul-15 11:48am
View
first of all thanks for your help!
The 2nd query that i needed, i just wonder how i can make it work in c# code :(
EADever
13-Jul-15 11:08am
View
Please somebody help me :(
EADever
13-Jul-15 0:06am
View
Oh its c# winform.
EADever
4-Dec-14 11:33am
View
thanks for your code, but the parser have more results, its not only this... i just post one of them for example.
EADever
30-Aug-14 12:55pm
View
Hi adn thanks for your help!
your solution is work for me, but it just work if string data need to get is CERAMIUM.
If i have string data input like this: STR_LOCAL_ABS_CERAMIUM_NUM_A21
and i want get output = CERAMIUM_NUM.
this question for both string input data: STR_LOCAL_ABS_CERAMIUM_A21, and STR_LOCAL_ABS_CERAMIUM_NUM_A21.
i want to get CERAMIUM and CERAMIUM_NUM
EADever
30-Aug-14 12:52pm
View
Hi adn thanks for your help!
your solution is work for me, but it just work if string data need to get is CERAMIUM.
If i have string data input like this: STR_LOCAL_ABS_CERAMIUM_NUM_A21
and i want get output = CERAMIUM_NUM.
this question for both string input data: STR_LOCAL_ABS_CERAMIUM_A21, and STR_LOCAL_ABS_CERAMIUM_NUM_A21.
i want to get CERAMIUM and CERAMIUM_NUM
EADever
3-Jul-14 5:46am
View
here's my last question!
how to replace text inside name="":
<attr1>PvPAttackRatio_Physical_O 2
<attr2>damage_physical 10
<attr3>hit_accuracy 5
<attr4>block 10
by
PVP_ATTACK_RATIO_PHYSICAL
PHYSICAL_DAMAGE
MAGICAL_ACCURACY
BLOCK
EADever
3-Jul-14 5:29am
View
WOW!!! thanks brother!!! your soluution is working... thanks :))
EADever
2-Jul-14 4:00am
View
ok im created a xslt file same directory with Program.cs and paste your xslt data to my test.xslt file. Then im change MyNameSpace.MyTransformFile.xslt to Test.test.xslt.
Test is my namespace.
debugger still stopped at:
StreamReader srXslt = new StreamReader(myAss.GetManifestResourceStream("Test.test.xslt"));
with message: Value can not be null
EADever
2-Jul-14 3:49am
View
i have a trouble with:
StreamReader srXslt = new StreamReader(myAss.GetManifestResourceStream("MyNameSpace.MyTransformFile.xslt"));
"MyNameSpace.MyTransformFile.xslt" what does this mean?
and xsl:stylesheet data you was wrote for?
because im run build with debug and its stopped at that line
EADever
2-Jul-14 3:11am
View
oh that was bad!!! i just wanna you take a look my code and maybe you can help :P
EADever
2-Jul-14 1:40am
View
first of all thanks for your answer! do you have skype or other instant messenger?
Show More