9,869,444 members (32,363 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*
5,114 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 103
Page Size:
10
·
25
·
50
Author filtered by: _Damian S_
[x]
Re: Ever turned down a project because the clients code base is a mess?
by
_Damian S_
Forum Message
13 May 2013
Mycroft Holmes wrote:Yeah but that is not b/c the code base is crap, just that the client is an idiot! Fair point, well made...
General Discussions
»
The Lounge
How to split one large amount of data column into two or three columns in sql server 2008?
by
_Damian S_
Answer
13 May 2013
license:
CPOL
How about select left(FIELDNAME, 50) as AddressPart1 from TABLENAME
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
.NET
.NET4
Re: Ever turned down a project because the clients code base is a mess?
by
_Damian S_
Forum Message
13 May 2013
Yes, I have. Most memorable is one where the potential client told me how they had spent 2 years developing an application in-house in a particular language, and they estimated it would take me TWO
General Discussions
»
The Lounge
Re: A Curious Situation At Work
by
_Damian S_
Forum Message
13 May 2013
Roger Wright wrote: clean my desk (I work best in clutter, while he can't stand an out of place paper clip) and he'll give me an immediate 10% raise.
General Discussions
»
The Lounge
In asp.net alert box is showing for every page refresh
by
_Damian S_
Answer
13 May 2013
license:
CPOL
Put your alert box code somewhere else, or check for a postback using code similar to the following:if not page.ispostback then alert code hereelse do something elseendif
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Sql Delete statement not working
by
_Damian S_
Answer
13 May 2013
license:
CPOL
Your query should work... Is there something else stopping it from working? Perhaps a link from IterationNumber to another table?Here's another option for what you are trying to do...DELETE ObjectsLog.*FROM ObjectsLoginner join Objects on Objects.ObjectID =...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
project : a gprs modem based home security system for monitoring from a remote location
by
_Damian S_
Answer
13 May 2013
license:
CPOL
This project is beyond the scope of a "Quick Answers" type question. This section is for people who have actually produced some code themselves and have encountered a specific problem with their code.You can certainly develop websites using ASP.NET and VB.NET. You can send information...
General Programming
»
Uncategorised Quick Answers
»
General
VB
In Ms access database i required the above output
by
_Damian S_
Answer
13 May 2013
license:
CPOL
Create a crosstab query on the table, using the Crosstab Query Wizard. Put the date as the row heading and Session as Column heading.
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to block user login with in three days
by
_Damian S_
Answer
13 May 2013
license:
CPOL
Have a table that records the last successful user login (or every login if you like, then just query the last login as required).Upon logging in, check this table (in addition to their user/password) and if the last login was more than 3 days ago, deny them access.
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to write query to find maximum value of table
by
_Damian S_
Answer
13 May 2013
license:
CPOL
You get the wrong result because your query will return the maximum bid for each user and Bid_ID combination. You will need to restructure your query so that you can find the maximum bid for an individual Bid_ID, then link it back to get the user details.
General Programming
»
Uncategorised Quick Answers
»
General
SQL
I have inserted date in 'dd-MM-yyyy' format and when i select it for reports if shows wrong values
by
_Damian S_
Answer
12 May 2013
license:
CPOL
As I've said previously, you need to format your dates 'yyyy-mm-dd' for the queries.SELECT Enquiry.Enqid AS SLNO,Enquiry.Phone, Enquiry.mobile, Enquiry.custname,Enquiry.email,Enquiry.enqdate,Enquiry.enquirysource,Enquiry.workdescription from Enquirywhereenqdate
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Mr. Bean vs. Einstein
by
_Damian S_
Forum Message
12 May 2013
Very old joke, and terrible formatting... Quad skating his way through the world since the early 80's... Booger Mobile - M
General Discussions
»
The Soapbox
do not want to repeat my code again and again
by
_Damian S_
Answer
12 May 2013
license:
CPOL
Change your functions/procedures/subs/whatever so that they take in either a Stored Procedure name (better) or an SQL string (not quite as good, but will suffice) as a parameter, and use that as the CommandText item...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Project Analysis and Definition...
by
_Damian S_
Forum Message
12 May 2013
I think I like this the best because it happens so rarely!! :laugh: Quad skating his way through the world since the early 80's...
General Discussions
»
Survey "What Is Your Favourite Phase Of Software Development?" (13 May 2013)
Re: Socks vending machine
by
_Damian S_
Forum Message
12 May 2013
Is that you in the reflection? Quad skating his way through the world since the early 80's... Booger Mobile - My bright gr
General Discussions
»
The Lounge
Re: Business logic
by
_Damian S_
Forum Message
12 May 2013
Member 9475889 wrote:Anyone else get this much? Do you persist and argue your point or just give them exactly what they ask for? It's not my place to ch
General Discussions
»
The Lounge
problem with comparison of dates in ms access
by
_Damian S_
Answer
9 May 2013
license:
CPOL
In Access, dates are denoted with a hash #.Try:select AMT from SomeTable where DateValue(TestDate) between #"+ format(fromdate, "yyyy/mm/dd") + "# and #"+ format(todate, "yyyy/mm/dd") +"#"Also, it's a good idea to format your dates yyyy/mm/dd to avoid regional issues.
General Programming
»
Uncategorised Quick Answers
»
General
C#
MS-Access
querying view is taking too much time
by
_Damian S_
Answer
9 May 2013
license:
CPOL
This SQL should work for you.select x,y,z from view1 inner join table1 on ((view1.x = table1.x) and (table1.y='1234'))
General Programming
»
Uncategorised Quick Answers
»
General
SQL
view
Help regarding codition
by
_Damian S_
Answer
9 May 2013
license:
CPOL
How about something simple like this:if ((ds.tables("che").rows(0).item("time") >= "01/01/1900 06:00") and (ds.tables("che").rows(0).item("time")
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
how to assign value to variable in stored procedure
by
_Damian S_
Answer
9 May 2013
license:
CPOL
Since your stored procedure simply checks whether the IsActive value is 3, and if it's not, update to 3, you could achieve the same thing with this code:update tbl_OPDappointment set IsActive=3 where Docket_No=@Docket_noand IsActive3
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
Read a Text File, copy the contents separated by $ and insert into a new text file with new Headers and footers.
by
_Damian S_
Answer
9 May 2013
license:
CPOL
You are attempting to open the same file in a StreamWriter multiple times (once for each record). Move the opening of the StreamWriter to before the lineFor Each currentField In currentRowAs an aside, don't forget to close your StreamWriter at some point.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Spammer in Quick Answers
by
_Damian S_
Forum Message
9 May 2013
http://www.codeproject.com/Members/vula-ali[^]
General Discussions
»
Spam And Abuse Watch
Re: My heartfelt please to all who write...
by
_Damian S_
Forum Message
9 May 2013
AspDotNetDev wrote: youre err... your? :laugh: :laugh: edit: Strikeout on the e didn't convey the meaning sufficiently... :doh:
General Discussions
»
The Lounge
Re: What is the most inappropriate thing you've ever said?
by
_Damian S_
Forum Message
9 May 2013
jschell wrote:And where the father and a couple of neighbors could take the idiot into the backyard and beat him senseless without interference from oth
General Discussions
»
The Lounge
Need help in confirmation message box
by
_Damian S_
Answer
8 May 2013
license:
CPOL
The third parameter is the title. If you want yes/no/cancel and a question mark, you need to use the + sign between them like this:Dim answer As String = MsgBox("Are you sure ???", MsgBoxStyle.YesNoCancel+MessageBoxOptions.RtlReading, "TITLE HERE")
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Re: You'll all be singing it tomorrow :)
by
_Damian S_
Forum Message
8 May 2013
Shhhhhhhhhh!! :laugh: :laugh: Quad skating his way through the world since the early 80's... Booger Mobile - My bright
General Discussions
»
The Lounge
Re: You'll all be singing it tomorrow :)
by
_Damian S_
Forum Message
8 May 2013
_Maxxx_ wrote:I don't think you really know until you are in that situation. Exactly. Which is how I know I would take action. 'nuff said.
General Discussions
»
The Lounge
How to convert nvarchar into numeric data type?
by
_Damian S_
Answer
8 May 2013
license:
CPOL
cast (FIELDNAME as int)
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
using Asp.net show message box
by
_Damian S_
Answer
8 May 2013
license:
CPOL
You can't show a messagebox in an asp.net page without using some kind of code...Try this:System.Web.HttpContext.Current.Response.Write("alert("You have been alerted")")
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Re: Escherian Stairwell - working link
by
_Damian S_
Forum Message
8 May 2013
I really liked this one that was in the suggested videos to the right: clickety[
General Discussions
»
The Lounge
Re: How Many Screenshots is Too Many?
by
_Damian S_
Forum Message
8 May 2013
As if CG's internet would remain up long enough for even 45 screenshots to download!! Quad skating his way through the world since the early 80's...
General Discussions
»
The Lounge
Re: You'll all be singing it tomorrow :)
by
_Damian S_
Forum Message
8 May 2013
I never beat your wife either!! :laugh: :laugh: Quad skating his way through the world since the early 80's... Booger M
General Discussions
»
The Lounge
Re: You'll all be singing it tomorrow :)
by
_Damian S_
Forum Message
8 May 2013
_Maxxx_ wrote:I seriously wonder what I would have done in the same situation? (hearing the screams, not beating his wife) I don't have to
General Discussions
»
The Lounge
Difficult SQL JOIN LEFT
by
_Damian S_
Answer
8 May 2013
license:
CPOL
SELECT USERS.Name, USERS.Surname, COMMENTS.Id_COMMENT, COMMENTS.text, ORDERS.name FROM USERS LEFT JOIN COMMENTS ON COMMENTS.Id_USER = USERS.Id_USER LEFT JOIN ORDERS ON ORDERS.Id_USER = USERS.Id_USERYou only have one User ID listed in the Order table, so you only need one link to the...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Re: 37‽‽‽ (Outlook Woes)
by
_Damian S_
Forum Message
8 May 2013
55 seconds in... clickety[^]
General Discussions
»
The Lounge
Re: What is the most inappropriate thing you've ever said?
by
_Damian S_
Forum Message
8 May 2013
mark merrens wrote:You need professional help - I think your BIL under-reacted. And this is precisely what's wrong with society these days..
General Discussions
»
The Lounge
Re: 37‽‽‽ (Outlook Woes)
by
_Damian S_
Forum Message
8 May 2013
Eddy Vluggen wrote:You're free to prefer the woes :) Best response ever!! :laugh: :laugh: Quad skating hi
General Discussions
»
The Lounge
Date Save in Access database in different format
by
_Damian S_
Answer
7 May 2013
license:
CPOL
When you are saving your dates to an Access Database, to ensure they are saved in the correct way (it changes depending on regional settings), you should format them #yyyy/mm/dd#This will resolve your issue.
General Programming
»
Uncategorised Quick Answers
»
General
C#
MSAccess
upgrade sql database from 2005 to 2013
by
_Damian S_
Answer
7 May 2013
license:
CPOL
We migrated from SQL 2005 to SQL 2012 recently, and found that there weren't too many issues. Assuming you have set your code up to pass through information to your SQL Server correctly, using standard methods, it should work.One issue I did come across related to Triggers, particularly...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
how to use visual studio?
by
_Damian S_
Answer
7 May 2013
license:
CPOL
Open Visual Studio.Select File-->New Project.Enter Details.Create Project.Compile.Deploy.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Re: Codeproject In Android
by
_Damian S_
Forum Message
7 May 2013
Keith Barrow wrote:respected for his input That leaves out CG!! :laugh: :laugh: Quad skating his way throu
General Discussions
»
The Lounge
Re: What is the answer that fits (almost) all possible questions in the world?
by
_Damian S_
Forum Message
6 May 2013
OriginalGriff wrote:"Does my bum look big in this?" Yes, but at least it takes the focus off your face!! Qua
General Discussions
»
The Lounge
Re: Leaving a company
by
_Damian S_
Forum Message
6 May 2013
Work your standard hours and put in a reasonable effort to make progress. Remember to save some time in the last two days (if you can stretch it out that long) to do a thorough handover to someone el
General Discussions
»
The Lounge
Back button shows an old (cached?)page
by
_Damian S_
Answer
6 May 2013
license:
CPOL
Your browser is working as designed.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to pass value from form to the crystal report as parameter?
by
_Damian S_
Answer
5 May 2013
license:
CPOL
Looks pretty close... This is how I do it (VS2010).Dim crDoc As CrystalDecisions.CrystalReports.Engine.ReportClassDim pvParamValue As New CrystalDecisions.Shared.ParameterValuesDim pdvParamDiscreteValue As New CrystalDecisions.Shared.ParameterDiscreteValuecrDoc = new...
General Programming
»
Uncategorised Quick Answers
»
General
VB
Access
VB.NET
CrystalReports
Update column based on data from another column of same data
by
_Damian S_
Answer
5 May 2013
license:
CPOL
update TABLENAMEset c3 = c1where c1 1Edit:Scratch that... I answered your actual question rather than what you showed in your sample data.
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Server2008
i am using asp.net with ms- access db in the connection i got error ? how to fix that error?
by
_Damian S_
Answer
5 May 2013
license:
CPOL
You don't have the OLEDB provider installed on your IIS server. You could install the Microsoft Access Jet redistributable package to achieve this.
General Programming
»
Uncategorised Quick Answers
»
General
ASM
MS-Access
how can i solve this Query
by
_Damian S_
Answer
5 May 2013
license:
CPOL
Your query is just about correct as it stands... just one thing isn't quite right.The "having" clause is only required when you are wanting to perform some operation over set functions, eg: sum(X), min(Y), count(Z) etc... this is not required in this case. A simple where clause will suffice...
General Programming
»
Uncategorised Quick Answers
»
General
GimmeCode
Homework
problem in inserting the data in database using relatinship
by
_Damian S_
Answer
5 May 2013
license:
CPOL
Your issue is that when inserting the More Info part, you aren't specifying the foreign key to link the record back to where it belongs. Specifically, you need to include A_ID and ID (and specify values for them) when inserting into MoreDetails.As an aside, you are also missing the @ symbol...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Print Crystal Report
by
_Damian S_
Answer
5 May 2013
license:
CPOL
By definition, whatever is showing on the report will be printed.If you only want the main report, copy your existing report and remove the sub-reports (from the copy)... call it something like "REPORTNAME-MainReportOnly" and provide a link to print that in your program.
General Programming
»
Uncategorised Quick Answers
»
General
CrystalReports
Page 1 of 103
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