Click here to Skip to main content
15,867,330 members
Everything / CodeProject

CodeProject

CodeProject

Great Reads

by Sean Ewington
An overview of plagiarism that provides examples of what to do and what not to do when it comes to referencing content that is not originally yours.
by Sergey Alexandrovich Kryukov
How to abate the CodeProject spam crisis.
by Marc Clifton, Florian Rappl, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Marc Clifton and Florian Rappl reflect back on their time as part of the developer community.
by Pete O'Hanlon, Ranjan.D, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Pete O'Hanlon and Ranjan.D reflect back on their time as part of the developer community..

Latest Articles

by Sean Ewington
This is our main hub for our FAQ entries. Everything from how to post articles, how to use our article editor, to membership and reputation.
by Sean Ewington
This is the third article in our Article FAQ series. In this entry we do a deep dive in how to use the CodeProject article editor.
by Sean Ewington
This is the first article in our Article FAQ series. In this entry we focus on the requirements and guidelines that will help you write a good article for CodeProject.
by Sean Ewington
This is the fourth article in our Article FAQ series. In this entry we focus more on the frequently asked questions during the process of posting an article.

All Articles

Sort by Score

CodeProject 

30 Jul 2015 by Sean Ewington
An overview of plagiarism that provides examples of what to do and what not to do when it comes to referencing content that is not originally yours.
2 Jan 2013 by Sergey Alexandrovich Kryukov
How to abate the CodeProject spam crisis.
15 Aug 2013 by Marc Clifton, Florian Rappl, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Marc Clifton and Florian Rappl reflect back on their time as part of the developer community.
15 Aug 2013 by Pete O'Hanlon, Ranjan.D, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Pete O'Hanlon and Ranjan.D reflect back on their time as part of the developer community..
15 Aug 2013 by .dan.g., Brij, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members dan.g. and Brij reflect back on their time as part of the developer community.
23 Aug 2013 by Daniel Vaughan, Sacha Barber, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Sacha Barber and Daniel Vaughan reflect back on their time as part of the developer community.
22 Dec 2010 by Hiren solanki
Request To Chris HERE[^], He will do the necessary. :)
11 Aug 2011 by #realJSOP
It could be your annoying over-use of question marks...............................................................
12 Aug 2011 by thatraja
Checked your answers.Can you please lift your :java: cup from your keyboard's when you finish the line?Because I found below things in your answershiiiiiiiiiwhy my answer downvoted????????????????????????????????????????????????????????? always keep in mind...
11 Aug 2011 by OriginalGriff
It's not obvious from looking at it, but it is possible that someone thought that "1" was good and "5" was bad - I have had people mark my solution as solved, thank me profusely and vote me a one before! :laugh:Check your reputation detail by clicking on the current reputation number beside...
11 Aug 2011 by LittleYellowBird
Hi, I can't tell you why you exactly why your answers have been was downvoted but may I suggest the following that you try to make your answers more usefull and better presented in the future. Here are some ideas:1. Many people do not have English as their first language so we all avoid...
4 Apr 2013 by OriginalGriff
Not the way it works here. You try to do it, you get stuck, you ask for help.We try our very hardest to assist you.But ... we do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that...
15 Aug 2013 by Ravi Bhavnani, DaveAuld, Kevin Priddle
In honour of the 10 million member milestone, CodeProject members Ravi Bhavnani and DaveAuld reflect back on their time as part of the developer community.
24 Sep 2016 by Nelek
Although the text editor from the site is very powerful, sometimes... well if you use it, you know what I mean ;)
8 Apr 2021 by Sean Ewington
This is an FAQ for the Technical Blogs. It can be modified by any Silver member.
1 Mar 2011 by Klae
Is there, or can there be an RSS feed duplicate of your Daily Insider email? I love your daily email its great, sometimes at work I'm dealing with so much expletives that I don't get time to read it. Love to read it on my phone or something on the way home!
9 May 2011 by Sandeep Mewara
Here: The Code Project Member Types[^]Those who have spent their time answering questions in the forums and writing great articles. MVP status is awarded annually based on ones contributions, and the feedback of the other members. Members of this group get an MVP icon mvp next to their names...
23 Oct 2013 by thatraja
Go to Settings page[^], Select the Forums tab, Find the Message Signature Field, update that. That's it.And I suggest you to read this section Frequently Asked Questions for CodeProject.com[^], still If you have any doubts like this post your questions in Site Bugs / Suggestions[^] forum...
9 Mar 2014 by Sergey Alexandrovich Kryukov
The discussion in comment was distracting from your question. You could call some vote "down-vote" if it adds a negative value to reputation score, and "up-vote" if this is positive. The votes of 3 are pretty rare (most vote either 1 or 5 :-)). But, as far as I remember, 1-3 are down-votes, in...
8 Apr 2021 by Sean Ewington
This is the first article in our Article FAQ series. In this entry we focus on the requirements and guidelines that will help you write a good article for CodeProject.
30 Jan 2011 by Sergey Alexandrovich Kryukov
I was recently able to do this. When article is marked as unedited, there is an edit icon on the article's right which allowed to revisit same source edit control.In case it does not work at the moment, please go to CodeProject main menu, and use "Help! -> "Post a Question" or "Help" ->...
22 Apr 2011 by Seth Morris
When I'm viewing articles on CodeProject (in IE9), blocks render with every line left-justified. If I copy and paste the code, it seems to have the spaces, though.EDITORS: IF YOU MAKE THESE SNIPPETS "PRETTY", THE QUESTION MAKES NO SENSE. PLEASE *READ* BEFORE CHANGING FORMATTING. THANK...
12 Aug 2011 by Philippe Mori
As mentionned by others, you should write in a more professionnal style. This site is not a social network like facebook. Thus questions and answers should be written in a more technical way.Also your answer need to be precise and useful.Finally, text that is badly written often look...
21 Dec 2011 by Wendelius
This article is still pending and waiting for approvals.
21 Dec 2011 by thatraja
Your article is in moderation queue, so please wait for sometime. It needs 5 approvals from other members. Currently I'm just reading your article.FYI Code Project Article FAQ[^]
23 Mar 2012 by OriginalGriff
:laugh:Which one?If it's one of yours, there is a red "X" at the bottom right of the post. That will delete it.If it isn't, tell me which one it is, and I *might* delete it for you. No guarantees - it depends on what it is, who's it is, and so forth.Do note though that it can be seen...
21 Sep 2012 by chx101B
What's his name and how did the founders end up with this weird (all respect due) alien-looking like creature?Just wondering
28 Nov 2012 by Sergey Alexandrovich Kryukov
This is so good that a Web application does not have power to do anything like that to the arbitrary browser and to the client's system in general!It's more than enough that a Web application can create a new ("pop-up") window, it's more than enough that such windows can come without the...
28 Nov 2012 by Espen Harlinn
There is a lot of stuff you can do with the web browser - have a look at:The most complete C# Webbrowser wrapper control[^]Best regardsEspen Harlinn
9 Mar 2014 by thatraja
Chris Maunder wrote:[^]A vote of 3 is specifically meant to be neutral, a non-event.
5 Feb 2015 by John Bhatt
Hi, Today, I am sharing a useful tip about CodeProject. This article is helpful if you are blogger and use CodeProject and want to use CodeProject feed submission. This feature is known as Technical Blog Articles which can be found at left of your profile page just below Blog Feed link.
29 Oct 2015 by Richard MacCutchan
Go to your settings page: https://www.codeproject.com/script/Membership/Modify.aspx[^].
29 Oct 2015 by Thomas Daniels
Go to the "My Settings" page: https://www.codeproject.com/script/Membership/Modify.aspx[^] (use this link or hover on your name in the top-right corner, and select "My Settings"), then you'll see a "Password" label and a "Change..." link next to that, and when hovering over that link you have...
29 Oct 2015 by Krunal Rohit
Go here: https://www.codeproject.com/script/Membership/Modify.aspx[^]Go to My Settings and hover on the change link besides by Password.You'll see a popup and voila ;)-KR
10 May 2018 by OriginalGriff
Probably you can't "decode" it: it look like either a hash value or a licence code. Certainly, you would have to know - or tell us - a lot more information about it and what you think it might "contain". As it is, we can't help you at all!
21 Apr 2020 by Maciej Los
Why to force doors wide open? Take a look here: Substring in Java - javatpoint[^] public class TestSubstring{ public static void main(String args[]){ String s="SachinTendulkar"; ...
8 Apr 2021 by Sean Ewington
This is the fourth article in our Article FAQ series. In this entry we focus more on the frequently asked questions during the process of posting an article.
22 Apr 2022 by Sean Ewington
This is the third article in our Article FAQ series. In this entry we do a deep dive in how to use the CodeProject article editor.
29 Jan 2024 by OriginalGriff
Yes, this happened after a couple of recent heavy DDOS attacks on the site lead to some "aggressive" IP blacklisting. You can contact the staff here: Bugs and Suggestions[^] and they will release your IP from it's confines!
26 Mar 2010 by OriginalGriff
At the top of each page, next to your name is the button "Settings".Click on it, and enter your new password in the "Password" and "Password confirm" boxes.Press the "Save my Settings" button at the bottom of the form.
24 Jun 2010 by DaveAuld
I think you mean 'Write an Article'See the article submission guides in the FAQs sections;See here[^]
30 Jun 2010 by Sandeep Mewara
This would be wrong or lets say not an appropriate forum for such question or discussion. As a feedback it can be posted here: Code Projects - Sites Bugs and suggestions[^]As a discussion you can try out here: Lounge Discussions[^]
4 Nov 2010 by Nish Nishant
I'd suggest that you update the article and include a revision history. That's always been the standard practice here.
7 Nov 2010 by Rajesh Anuhya
Hi.., For every Article,Tip/Trick you posted is reviewed by CP Mentors.., wait for some time to change your state from Pending.., And also Mentors will guid to Update/changes your article..,
21 Nov 2010 by JF2015
see here:https://www.codeproject.com/script/Membership/Modify.aspx[^]
23 Nov 2010 by Sunasara Imdadhusen
Hi,I have some doubt regarding Code Project functionality.However, I could not post to Suggestions or Site Bugs on Code Project.When I tried to post, there was no option available.Questions & Answers >> Site Bugs/Suggestionsand there is no option for "New Message" in entire page,...
6 Jan 2011 by #realJSOP
I believe the source to the web site is available, but I'm not sure where. If you click around on the site, you should be able to find it.
7 Jan 2011 by Sandeep Mewara
I see that it is still in 'Composing' state. There would be a checkbox that would say 'Work in Progress' when you edit it. It must be checked right now. Uncheck it and then it should be ready to be submitted for approval for publication. Check and see.Add on:Marking it complete...
24 Feb 2011 by Nish Nishant
Such discussions should really be in this forum:http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx[^]I reckon the idea is that comments should not be used for big code snippets. But sometimes there's no other way. The comment system in the QA forum is a very poor forum...
1 Mar 2011 by Richard MacCutchan
You should post this question to the Site Bugs/Suggestions[^] forum.
1 Apr 2011 by వేంకటనారాయణ(venkatmakam)
I think you want to know about multithread programming, Then i suggest you start from this,http://www.tenouk.com/ModuleR.html[^].This is where first i started and i am more comfortable with this.
8 Apr 2011 by thatraja
For Article Submit a new Article[^]For Tip/Trick Post a Tip/Trick[^]For Blog Add Your Technical Blog[^]BTW visit Frequently Asked Questions for CodeProject.com[^]
29 Apr 2011 by #realJSOP
First, you should use the Site Bugs & Suggestions[^] forum for this kind of question. Second, it's working for me, so it's probably something you're doing. Lastly, if you still feel compelled to post this in the correct forum (cited above), make sure you include the OS and browser (and...
5 Jul 2011 by DaveAuld
Look at the site bugs and suggestions forum, and also the reputation tab on your member profile, there are plenty discussion about the changes and some details about what the changes were.The reputation points system has had an overhaul and recalc and hence the points changed.
5 Jul 2011 by Andrew Rissing
Read the information posted on the reputation tab - see here here[^].
5 Jul 2011 by Dalek Dave
Points make prizes.When you have sufficient points you get to have certain abilities within the site.Also, there is a certain veritas ascribed to your answers.It is a Trust Metric.Higher Points, more trust can be placed upon the answers you recieve.I see you have had some very high...
15 Aug 2011 by Firo Atrum Ventus
Why would you want to delete your account?Just make a request here[^] and they'll sort it out.
20 Aug 2011 by thatraja
Post this question in Site Bugs / Suggestions[^] forum. I have a dirty suggestion, create a new account in CP. Also you can delete your old account by CP admin(Once you created your new account).
10 Sep 2011 by Sergey Alexandrovich Kryukov
Normally, every member receives e-mail notifications related to all posts. Just check up your preferences at https://www.codeproject.com/script/Membership/Modify.aspx[^].—SA
16 Sep 2011 by Simon Bang Terkildsen
NoYou asked no question, just dumped some code which is not easy to read and I highly doubt anyone will take the time to go trhough what you're trying to do and what your problems is as that is what you're supposed to tell us.
7 Nov 2011 by Sergey Alexandrovich Kryukov
This question is too general. The only correct answer would be writing a sample site for you, which is beyond the format of Quick Questions & Answer. Keep searching and trying, there are not top secrets in this kind of development. Google for some other solution.Better yet, try to create a...
12 Dec 2011 by Eduard Lu
Hover your mouse into your name found at the topmost part of this page then click My Settings. After that, go to My Settings and find the tab News Letter. Under that one, you will see News Letter Topics at the bottom of the form. Then you can filter "C#" from there. :)Regards,Eduard
7 Jan 2012 by Sergey Alexandrovich Kryukov
There are few different things to follow. You can mark some post as spam (please see the read flag icon), you can mark a person as a spammer (if you are sure it's spam please always do it, you need to go in person's ID to get to the personal profile page, also look for a red flag) and you can do...
12 Mar 2012 by Nelek
What do you mean?What I understand: You have written an article and when you publish it, then you can not navigate the code you have uploaded?If this is what happens, I would try to ask in the bug/suggestion forum[^]. You will probably get more help there than here. And if it is a bug, then...
25 Mar 2012 by krumia
Quote:I am trying to write a program that will determine what breed of dog is right for a person or family.Now I have some great experience on this field. I recently tried to purchase a puppy and the pet show owner tried to help me to get the right kind of the puppy form me. What he was doing...
18 Apr 2012 by Sergey Alexandrovich Kryukov
Please see the comments to the question. Some problems take place.It would be very helpful if you could describe the issue in detail, with steps to reproduce, and report it here:http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx[^].Thank you,—SA
11 Jun 2012 by Sandeep Mewara
Look here: CP Who's Who[^]
21 Sep 2012 by Sergey Alexandrovich Kryukov
I personally have no idea of the story, but to me, he doesn't look like an alien at all (you write as if you ever saw one, by the way).He looks like the most typical inquirer of this Quick Questions & Answers forum. He is spreading his hands helplessly and telling us: "I've written some code...
21 Sep 2012 by Kenneth Haugland
You mean :bob: or BobI dont know the story behind it though :)You could get him here:http://www.cafepress.ca/codeproject.1302986[^]
22 Sep 2012 by pasztorpisti
I think they just wanted to use a logo that contains the photo of a handsome forum member so they immediately know there is no other choice than using my avatar. Here is the evidence, look at my profile: http://www.codeproject.com/Members/pasztorpisti[^]
23 Nov 2012 by Kashif_Imran
Everyone's points got changed due to some change in CodeProject's internal rating system. I hope it would be comforting for you to know you are not alone and not a victim of some error.
2 Jul 2019 by OriginalGriff
You can't stop google from "seeing" you - it maintains a cache of "old" pages which it can serve on demand (you may have seen some of these in the past when a site is down temporarily) But you can close your account by go to Your Settings[^], click on "Privacy" and select "close my account"....
9 Mar 2014 by Maciej Los
Direct from my observation: depending on member level (gold, silver, etc.)[^] the negative value of 3 stars is: -1 to -16. In this meaning 3 stars is a down-vote.[EDIT]We did the experiment with Sergey and ProgramFox. It's strange, but 3 stars changes nothing. How we tested it, you can...
14 Feb 2015 by Afzaal Ahmad Zeeshan
Although that is possible to write an article without sharing the source code and just explaining the underneath logic of the application, in some-what flow-chart like thing.But it would just simply kill the actual purpose of an article, you're supposed to actually show how to perform some...
14 Feb 2015 by pt1401
I think the best answer I can give is to tell you how I would feel if I came across an article where the author chose not to share the source code of a library, but instead enthused about its capabilities and gave examples of how to call it and how useful it was.I would probably, in this...
15 Feb 2015 by Thomas Daniels
Hover with your mouse on your name on the top of the page, and click "My Settings". Then go to the "Professional Profile" tab and choose your country at the "Your Country" dropdown.(Also, for the future, please post site-related questions in this forum[^], not here :))
30 Jun 2015 by Thomas Daniels
To change your CodeProject password, hover with your mouse over your name in the top-right of the page, select My Settings[^] and there you'll see an option to change your password.Also, next time you have a question about CP, please remember to ask it at the Bugs and Suggestions forum[^],...
7 Feb 2016 by Richard MacCutchan
See Clojure[^].
21 Mar 2016 by Jochen Arndt
There is no instance of the base class. There is only an instance of the derived class. Because the member variables of the base class are part of the derived class (located in memory before the additional members of the derived class) they can be accessed by functions of the base class....
2 Apr 2016 by Kornfeld Eliyahu Peter
It was the Workspaces project - closed about a year ago...
25 May 2016 by Richard MacCutchan
Hover your mouse over your name at the top right of the page and you will see the "My articles" link. There is also a link titled "Articles", which is on your homepage.
4 Jun 2016 by OriginalGriff
Um...that's some odd code you have there!Start with your first method:int my_array(int _array[],int size ) { for(int i=0;i { return _array[i]; } }It always returns the first element in the array, unless the size is negative, in which case...
8 Jul 2016 by Clifford Nelson
Have attempted several days to upload my picture for my profile, and every time get the "There Seems to be a Problem" (https://www.codeproject.com/script/Membership/Modify.aspx[^]What I have tried:Tried both jpg and png. Last JPG was only 13.1 and 150 x 147 pixels
26 Dec 2016 by CPallini
Let's perform the operation on the first input code:371449635398431every other digit (starting from second-to-last)3 8 3 3 9 4 7doubled and summed up6 + 16 + 6 + 6 + 18 + 8 + 14 = 74remaining digits (starting from the left), summed up3 + 1 + 4 + 6 + 5 + 9 + 4 + 1 =...
7 Nov 2017 by Karthik_Mahalingam
post here Bugs and Suggestions[^]
17 Mar 2019 by CPallini
Do yopu really need to use arrays (and new)? Try #include #include using namespace std; struct Temperature { Temperature(int day, double celsius):day(day),celsius(celsius){} int day; double celsius; }; double farenh(double celsius){return celsius*9/5+32;} ostream &...
10 Oct 2020 by OriginalGriff
Look at your code: Console.WriteLine("Please enter weight in kilograms:"); x = Console.ReadLine(); ... Console.WriteLine("x"); Console.WriteLine("Please enter height in meters:"); y =...
28 Dec 2020 by Shao Voon Wong
You must link with the math library. gcc test.c -lm
8 Mar 2021 by Dave Kreskowiak
We can't tell you. You have supplied no code to look at, nor even what it's written in. What the error suggests is that you're trying to use a dataset, possibly from a database engine, that is empty and you're assuming that a result was returned...
29 Jun 2021 by OriginalGriff
Because it looked like spam to the automated system, and a trusted moderator agreed with it. He then - correctly - reported the account and the community closed that as well. And frankly, if I'd seen it, I'd have assumed it was spam and done the...
2 Jan 2022 by raddevus
Keep in mind that JSON stands for JavaScript Object Notation. That means that any valid JSON is the stringified (or serialized) version of the JavaScript object. That means we can simply create an in memory object directly from the JSON string...
5 May 2022 by Sean Ewington
This is our main hub for our FAQ entries. Everything from how to post articles, how to use our article editor, to membership and reputation.
8 May 2022 by OriginalGriff
You won't get any rows because that query won't run: you will get an error message from SQL Server that "Column 'e.manager_id' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause." ...
23 Jul 2023 by Graeme_Grant
Hard to tell as you do now show any html. So I'll point you to a tutorial... This video shows you the stick navbar + more: Easily change sticky nav styling on scroll - YouTube[^]. Your answer is in the first 60 seconds: { position: sticky;...
28 Aug 2023 by OriginalGriff
In C# (and most if not all other languages) there is something called an LValue and an RValue: when you do an assignment you always have an LValue on the left of the equals sign and an RValue on the right. The LValue is where the value is to be...
29 Jan 2024 by Richard MacCutchan
There is a specific forum for such problems: Bugs and Suggestions[^].
18 Nov 2009 by Thiru Thirunavukarasu
Looks like that was a bit of an oversight. :) We'll try and get something to account for this. Thanks for mentioning it and the emoticon bug.Yes, we'd prefer you use this forum for questions/concerns about the Quick Answers system.
25 Jan 2010 by AspDotNetDev
Copy-Cat wrote:If anyone could set up a program or an import/export plugin for notepad I would appreciated it.We are not here to do work for you. Although, we can give you an idea of how to accomplish this yourself.Create a C# console application. Get the filenames from the args...
26 Jan 2010 by Nicholas Butler
I don't think you can.It might be worth an email to the editors first though - submit (at) CP.Nick
12 Jun 2010 by DaveyM69
The best place to ask (if you haven't already) is in the article's forum at the bottom.