9,869,444 members (34,331 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
30,785 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 616
Page Size:
10
·
25
·
50
Author filtered by: OriginalGriff
[x]
Not an article
by
OriginalGriff
Forum Message
14 May 2013
Normally, I'd suggest that you repost this as a tip, but in this case the chances of getting it passed even as that are not good. The problem is that there is nothing there - this contains no real i
General Discussions
»
Article "C# Basic Login Project"
Not an article
by
OriginalGriff
Forum Message
14 May 2013
Have you considered posting it as a Blog instead? The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Steps: Check-In/Check-Out Mechanism For Tfs - To Avoid Build Errors And Improve Productivity"
Install Windows on Tablet Samsung
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
In all probability, you don't.AFAIK, the only version of windows that works on an ARM based processor is RT - and there is no guarantee that it will work.Start here:...
General Programming
»
Uncategorised Quick Answers
»
General
tablet
Database access doesn't work
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
The only place you are casting in that code fragment is when you try to get the value from the database:Console.WriteLine(lecteur.GetInt32(0));Which implies that the value in the first column of your table (or the "Sunfuki" table) is not an integer value.Have a look in SSMS at the table...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
SQL2008
Re: It's too friggin' easy...
by
OriginalGriff
Forum Message
14 May 2013
No, but you hum it and I'll try to sing along. Oooo! Bugger! You can't, can you? :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePh
General Discussions
»
The Soapbox
Re: Wisdom Teeth
by
OriginalGriff
Forum Message
14 May 2013
I never got any to remove - does that mean you are going to get stupid now? :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantom
General Discussions
»
The Lounge
Re: How would YOU like your gov't to spend a billion dollars?
by
OriginalGriff
Forum Message
14 May 2013
Dilithium crystals. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Re: How would YOU like your gov't to spend a billion dollars?
by
OriginalGriff
Forum Message
14 May 2013
The UK has a government department devoted to ensuring money flows in one direction only: HMRC[
General Discussions
»
The Lounge
Sending Datagridview to email
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You can't send a DataGridView to an email, any more than you could send a Button, and expect it to signal an event on your system when it was pressed. Suppose you could, and the remote system did not have .NET installed? What would happen then?Instead, set the mail body to HTML (use...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: It's too friggin' easy...
by
OriginalGriff
Forum Message
14 May 2013
<BangHeadOnDesk>Because it's lovely when you stop</BangHeadOnDesk> Amusing though. The universe is composed of electrons, neutrons, protons and......morons
General Discussions
»
The Soapbox
Re: 38 Years
by
OriginalGriff
Forum Message
14 May 2013
That is just so stupid! I mean: what ward do they vote in? The ward where the prison is? The ward where the court they were sentenced in is? Or the ward they were living in when they committed the cri
General Discussions
»
The Lounge
Re: It's too friggin' easy...
by
OriginalGriff
Forum Message
14 May 2013
I think you have invented a new coding language: TXTCDZbangbangbang :laugh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Soapbox
Re: How would YOU like your gov't to spend a billion dollars?
by
OriginalGriff
Forum Message
14 May 2013
:thumbsup: For the idea. :thumbsdown: Because it will never happen... :sigh: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvot
General Discussions
»
The Lounge
Re: Not a good idea, perhaps
by
OriginalGriff
Forum Message
14 May 2013
No, I don't think this is suitable as a tip. Sorry, but it isn't anything that useful - you didn't need even need it, you could have asked the person who gave you the file, and made a decision fro
General Discussions
»
Tip/Trick "Tip On How To Open A File With Unknown Extension"
Syntax error (missing operator) in query expression 'emp.emp_id ='.
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You appear to have no value at all in eid, so the string just evaluates to:DELETE emp.*, emplogin.* FROM tbl_employee_details as [emp] LEFT JOIN tbl_user_login_access as [emplogin] ON emp.emp_id = emplogin.emp_id where emp.emp_id =SQL quite rightly throws a hissy fit and complains.Check...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Chris Huhne - Out of Prison
by
OriginalGriff
Forum Message
14 May 2013
That's not an open prison. Open sewer, in places1. But not technically a prison. 1 I am thinking specifically of parts of Paris whi
General Discussions
»
The Soapbox
Re: Darwin Awards contender?
by
OriginalGriff
Forum Message
14 May 2013
Very appropriate IMHO! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Soapbox
Re: Peacock 'pest': David Beckman...
by
OriginalGriff
Forum Message
14 May 2013
And for once, not pinin' for the fjords. ;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Soapbox
Re: It's too friggin' easy...
by
OriginalGriff
Forum Message
14 May 2013
But then we get questions like "I guessed the answer, but why is 2 + 2 equal to a fish? I don't understand. SND CODZ URGNTZ" If only because most of 'em can't get the damn question right when it's
General Discussions
»
The Soapbox
Re: Chris Huhne - Out of Prison
by
OriginalGriff
Forum Message
14 May 2013
We have Prescoed, which seems to appear on the local news with another missing prisoner so often there is speculation it should have it's own programme... :laugh: The uni
General Discussions
»
The Soapbox
Public variable invoking incorrect result
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You will. The clue is in the word new: ThanglishToTamilGUI tt = new ThanglishToTamilGUI(); String apper = tt.anz;Since you create a new instance, it will not have the values that the user entered into a different instance!Try just using the current value! Have a look at...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
Plagiarism is never a good idea...
by
OriginalGriff
Forum Message
14 May 2013
Taken from a variety of places, including Stack overflow: http://stackoverflow.com/questio
General Discussions
»
Article "Database Operation"
Modify an existing xml
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
An XML file normally has a header line such as you describe - it is optional, but recommended, and XDocument always adds it when you use the Save method.If it really disturbs you, you need to use an XmlWriter instead - it has an option to turn it off. XDocument doc = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Not a good idea, perhaps
by
OriginalGriff
Forum Message
14 May 2013
Is it a good idea to open miscellaneous files you receive by email? Particularly if you have no idea what type it is (and presumably no idea what it does either)? Or would it be better to go back t
General Discussions
»
Tip/Trick "Tip On How To Open A File With Unknown Extension"
vb console application
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
"is it posible to take reference to c#."Yes. You can use assemblies from any .NET language in any other .NET language."how to get dll or reference file."Right click your project, and select "Add Reference". It's pretty obvious from there, but the exact details will depend on your...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Remove unwanted payment folder from nopCommerce
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
"ok but please give me url of page where i can ask question ."You mean you can't find the "support" link all on your own? :WTF:Try here: http://www.nopcommerce.com/boards/default.aspx[^]Or here: http://www.nopcommerce.com/p/541/nopcommerce-premium-support-services.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Hamster's favorite TV show
by
OriginalGriff
Forum Message
14 May 2013
That's Ok - there is bugger-all on worth watching anyway! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Re: Google Easter Egg
by
OriginalGriff
Forum Message
14 May 2013
Arggh, nooooo! My ears....bleep bloop, bleep bloop... :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
icici payament gateway (pay seal)
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Never, ever, accept code from a insecure website to handle anything to do with real money.You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
I can't build a derive class object!who can help me!
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Take the virtual off the methods in CCircle. Try override instead.Any class that contains a virtual function is abstract by definition.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Several things spring to mind:First off, you will only try to check details if the pasword is not blank - if the username is blank, you will check anyway. There are also better ways to check for empty stringsTry this:private void button1_Click(object sender, EventArgs e) { bool...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Swapping between Windows forms
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try Show instead of ShowDialog - it doesn't wait for the form to close before continuing.You might want to add the Form.TopMost = True as well, and possibly add a FormClosing event handler so that you only show one form if the user requests it twice.
General Programming
»
Uncategorised Quick Answers
»
General
.NET
Re: 38 Years
by
OriginalGriff
Forum Message
14 May 2013
No, unfortunately yours is rather more repressive and unpleasant penal system than ours; ours is pretty free and easy, with TVs in cells, easy access to drugs and so on. "Human rights" and all that.
General Discussions
»
The Lounge
Re: Entity Frame work
by
OriginalGriff
Forum Message
14 May 2013
Good for you! Now, if you have a question, perhaps you might want to tell us what it is? The universe is composed of electrons, neutrons, protons and......morons. (The
General Programming
»
C#
Get data in dictionary order in sql server
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
C#
.NET
C#4.0
database
.NET4
C# exception on sql subqueries
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
First off, can I suggest that you only read the Sid and ContactId once per execution, and store them in a variable? Then ensure it returns only a single value:DECLARE @SID INTSet @SID = (SELECT TOP 1 Sid FROM MyTable WHERE Name=@Name)Then use the variable in each of your updates.
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
Exception
Not a tip
by
OriginalGriff
Forum Message
14 May 2013
Sorry, but if someone can't work that out for themselves in less time than it would take to find this document, they really have no place opening Visual Studio at all! It's a "No" from me.
General Discussions
»
Tip/Trick "Launch Visual Studio From Command Prompt"
Re: Plagiarism is never a good idea...
by
OriginalGriff
Forum Message
13 May 2013
Trouble is, when you pressed the "publish" button, you first ticked the box marked "I have read and agree to the Contributors Agree
General Discussions
»
Tip/Trick "Visual Studio Tool - Page Inspector Developer"
Re: Bug steak, anyone?
by
OriginalGriff
Forum Message
13 May 2013
Um. You do know where manure comes from, right? And what vegetables grow in? So think about it: not only has every drop of water you drink already been through probably 6 sets of human kidneys a
General Discussions
»
The Lounge
Re: MQOTD
by
OriginalGriff
Forum Message
13 May 2013
Total Remake. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Not an article
by
OriginalGriff
Forum Message
13 May 2013
I would normally suggest that you post it as a tip, but since the code is wide open to SQL Injection attack, I have to vote "No" instead. The universe is composed of elec
General Discussions
»
Article "Import And Export Csv To Using Php Mysql"
Re: Ever turned down a project because the clients code base is a mess?
by
OriginalGriff
Forum Message
13 May 2013
Not turned down, no - but I do put the price up. Only had it twice: once with some very old, very bad Basic (pre VB!) which was to be converted to Windows via VB. Horrible code, horrible job - Ende
General Discussions
»
The Lounge
Re: Boiling eggs
by
OriginalGriff
Forum Message
13 May 2013
I just let 'em grow up, and then eat 'em when that are properly ready... The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Re: Not an article
by
OriginalGriff
Forum Message
13 May 2013
I can't at the moment, I'm on my tablet, and its as much of a pain to do on that as for your phone! :laugh: Post a request here:
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: Not an article
by
OriginalGriff
Forum Message
13 May 2013
When you change it over, it'd be an idea to sort the fonts out - it looks odd with different sizes, try to just use the standard one! :laugh: The universe is composed of
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: Missed Option
by
OriginalGriff
Forum Message
13 May 2013
Well I'm not going if I can't bring the wife! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Survey "What Is Your Favourite Phase Of Software Development?" (13 May 2013)
Not an article
by
OriginalGriff
Forum Message
13 May 2013
Have you considered posting it as a Tip instead? The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: You gotta be kidding... You voted this 5 stars?
by
OriginalGriff
Forum Message
13 May 2013
;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Converting Numbers To The Word Equivalent. "
Re: You gotta be kidding... You voted this 5 stars?
by
OriginalGriff
Forum Message
13 May 2013
:laugh: :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Converting Numbers To The Word Equivalent. "
can i connect to sql server 2008 r2 with visual studio 2012 Express
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
Yes. But read this: http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/586c2599-347e-489e-863c-79ae6ce7b9c1[^] - you can get problems if you install them in the wrong order. (I did, with VS2008 years ago and it took me a day to sort the mess out)
General Programming
»
Uncategorised Quick Answers
»
General
C#
Page 1 of 616
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid