9,869,444 members (25,931 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*
76,625 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 1,533
Page Size:
10
·
25
·
50
Author filtered by: Christian Graus
[x]
Re: Problem with Flipping bitmap
by
Christian Graus
Forum Message
15 Mar 2013
Why would you link to a SO page ? You don't need a function to do that, there's methods built in. If you want to, it's just a case of iterating over the bits and copying them in reverse order ( so
General Discussions
»
Image Processing For Dummies With C# And Gdi+ Part 1 - Per Pixel Filters
Re: PRSDK Focus
by
Christian Graus
Forum Message
14 Feb 2013
Is Canon supporting this SDK again ? I thought they had stopped. We're not working on this, I've not used Canon cameras at work for 4+ years now. Christian Graus Driven to t
General Discussions
»
A Wrapper For The Canon Cdsdk And Prsdk For Remote Capture
Re: License?
by
Christian Graus
Forum Message
10 Feb 2013
Sorry, you can use this code anywhere you like, in any form you like. Christian Graus Driven to the arms of OSX by Vista. Read my
General Discussions
»
Image Processing For Dummies With C# And Gdi+ Part 2 - Convolution Filters
Re: Great article ... but
by
Christian Graus
Forum Message
10 Feb 2013
http://msdn.microsoft.com/en-AU/library/hh506443.aspx[
General Discussions
»
Image Processing For Dummies With C# And Gdi+ Part 2 - Convolution Filters
C# coding to obtain the data in mysql
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
You have not called Open on the connection, so it is not open. In future, give us the error message if you want us to tell you what it means.
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
runtime error for web applications in dot net farmework.
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
This is not a question. It makes zero sense. We can't give you a list of possible errors, and why would you want one ?
General Programming
»
Uncategorised Quick Answers
»
General
NET
DOT
Assigning database values to textbox on Page_load
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
I assume this is ASP.NET although you did not say that ? What do you mean 'not working as expected' ? This code is horrendous, I can use this page to erase your DB due to SQL injection. However, this code will keep reading row after row and setting the text over and over. If your last two is...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How do I add image or picture field to existing database in sql
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
The picture field would be of type blob or image. You'd pass in the bytes of the image as a parameter to a stored proc or paramaterised query. You'd try to avoid doing it in VB6, a language that always sucked and has been obsolete for a decade or more.
General Programming
»
Uncategorised Quick Answers
»
General
VB6
Oracle
how to use dal class into login page
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
The error means what it says ( although it's hard to decode when you don't just copy and paste it ). Your DAL is in a dll which is not referenced by your project, so it can't work out what you want it to load.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
WPF: How to make a Drawing Application?
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
This is actually harder in WPF, because the logical way to do it, is not to draw on a bitmap, but to keep track of actions and draw them on TOP of your image. At least, that's how I did it when I did it and it was a royal pain
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
Application
VB.NET
drawing
Questions about C#, writing to memory
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
C# is the wrong language to do this, really. And yes, it's complicated, arcane and not terribly useful from the point of view of learning to program.
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to put image in a table in ASP.net
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
What have you tried ? Put an image in side your table cell, and either point to the image, or if it's in the DB, point to a HTTP handler that takes the id, looks up the image and returns the data. There's tons of articles on this.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL
Control backup in ASP.NET or howto make independent copy of it?
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
If you set them both to the same datasource, they will both update, it's the datasource and not the controls doing thisBut yes, it does sound very dodgy
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to add Academic Qualification in csharp
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
You should buy a book on database programming and read it. Your question equates to 'I don't know how to use google and can't be bothered learning for myself, so please do my work for me'. I hope that was not your intention, but that's how it comes across. In general, I assume this is...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL query - Limiting rows by adding third condition to the subquery
by
Christian Graus
Answer
20 Jan 2013
license:
CPOL
select oi.orderid as 'order id' from orderitems as oi where oi.partid in (select inv.partid from inventory as inv where inv.description like '%gizmo%' or inv.description like '%gadget%'or (inv.description NOT LIKE '%gizmo%' and inv.description NOT like '%gadget%')...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
Re: Subscribing to Forums
by
Christian Graus
Forum Message
20 Jan 2013
If I could subscribe to, say, unanswered MVC3 questions in the QA forum, I'd do that for sure. Christian Graus Driven to the arms of OSX by Vista. Read my
General Discussions
»
The Lounge
i want to check if amount debit column is empty then it just show string msg else count sum of colum otherwise not.
by
Christian Graus
Answer
16 Jan 2013
license:
CPOL
OK - 0 and no value are not the same thing. I suspect Amount_Debit is null and not 0. This code is not C#, I don't know what it is, but I suggest changing your data source to return 0 instead of null, or change the check to also check if it's null.
General Programming
»
Uncategorised Quick Answers
»
General
CrystalReports
How to fix: "OverflowException occurred Arithmetic operation resulted in an overflow"
by
Christian Graus
Answer
16 Jan 2013
license:
CPOL
This looks like horrible code to run in a web page. What is it doing ? You are doing a cast, what does ReadIntPtr return ? I suggest stuffing your return value in to the right type, without casting. Then you will know for sure if the call itself is failing, or the cast. Are you sure that...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Re: Working from home via VPN - what a great idea!
by
Christian Graus
Forum Message
16 Jan 2013
I work from home via VPN. Any Chinese CPians want a job ? Christian Graus Driven to the arms of OSX by Vista. Read my
General Discussions
»
The Lounge
youtube videos to a visual basic media player
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
You can do that. Just put a web browser control in your app and point it to the URL.
General Programming
»
Uncategorised Quick Answers
»
General
VB
how can colect this to one paket
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
You've asked this elsewhere and asked us to read it there. I don't use that site, but, funny enough, they told you your image is useless, and pointed you to an article on this site.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Ask about VB.net Programing
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
This is not a question. If you can't even work out how to buy a book, then you're in trouble. There's tons of resources and it really doesn't matter which one you use. this site is great when you've bothered to do something, and have SPECIFIC questions.However, if you search the articles,...
General Programming
»
Uncategorised Quick Answers
»
General
Vista
Windows
VB
Windows
VB.NET
how to extract feature using Facial Characteristic Point
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
You should only publically post your email address if you like spam. You should not ask people to email you, if you refuse to read these forums, why would we answer you ? The site will email you replies in any case.You seem to know the name of an algorithm and nothing more. You can...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Java
populate editboxes depending on combobox selection
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
Handle the change event on the combo box, and react to it. Pretty basic stuff. Why are you a beginner in MFC, in 2013 ? Do people still use MFC and C++ ? C# is way better.
General Programming
»
Uncategorised Quick Answers
»
General
MFC
VC++
Object reference not set to an instance of an object
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
This error means what it says. username is null. if (!string.IsNullOrWhitespace(username))
General Programming
»
Uncategorised Quick Answers
»
General
C#
WCF
why i don´t get a number?
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
titel ? This SQL should not run. If you're doing a count, you need a group by in order to select individual values, to. SELECT titel, COUNT(titel) AS numbers FROM users WHERE accid = '$showid' group by titelAlso, I think this will look for $showid as a string in your database, are...
General Programming
»
Uncategorised Quick Answers
»
General
PHP
MySQL
DHtml page over writes
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
It's doing what you asked. You will need to find the element you want to be the parent of your table, and then set the innerHtml of just that element. is there a get_element, or similar ? You select element by it's id.
General Programming
»
Uncategorised Quick Answers
»
General
MFC
How to find sub item in ListView using vb.net.
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
You need to iterate over the items, and then search the sub items from there. There's no way to do it without writing the code.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Keyboard Layout For Current Active Window , C#
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
What makes you think the keyboard layout changes on a per app basis ?
General Programming
»
Uncategorised Quick Answers
»
General
KeyboardListener
Layout
ORM or SQL queries?
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
MVC, for sure. It's amazing. So much better than web forms. As for the rest, I would use Entity Framework, just because it's pretty standard, and it works well. I guess the alternative question is, do you have a ton of stored procs written ? If so, writing a data layer for those procs might...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
MVC
ORM
how to connect to the existing data base in mvc code first,and linq query for displaying all the records in view,how to set a connection string in web.config?
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
No-one is going to write you a sample application. It's better to use Entity Framework, just add an edmx file and point it to your DB. Once you've done that, the connection string will be in your web.config, and you can change it if you like.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
MVC
handling tabs after and befor authentification
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
Why are you asking this over and over again ?HttpContext.Current.Usergets you the current user. User has an IsInRole method, or similar. Please don't ask this again, don't flood the site. Just ask, and keep editing your question if need be. Or better yet, ask clearly the first time.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
MVC4
Insert Data using JSON, ASP.NET Web services and jQuery
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
Here's what we need to know:1 - does the success message get shown ?2 - does the back end method get called ?3 - is there a reason you need to use a webservice and not just an AJAX call ?4 - have you debugged this in Chrome to see what happens when it runs ? Are there any javascript...
General Programming
»
Uncategorised Quick Answers
»
General
Ajax
JSON
WebService
Displaying Data same as Stock Market
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
A grid or repeater can be styled any way you like and will always be the easiest way to have complete control over your UI, while having the advantages of a data driven control. If this is a website, please mark your question as ASP.NET, in this case the answer is the same, but in future,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WinForm
Re:Link Button is not working in Chrome Browser
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
IF you right click on the button in Chrome and choose 'inspect element', you can see the HTML at that point. If you click on the 'sources' tab, you can view and debug javascript. You should not have to do anything for Chrome, your code should just render links that work. I've never written...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Radio button help/ clone difficulty
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
This is an ugly mess. You can debug javascript in chrome, just right click and choose 'inspect element', then go to the 'Sources' tab and add break points. If, after debugging, you still don't know what is going wrong, try editing this question so that you're telling us which line of code is...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
sharing same resource (xml file) in multiple project
by
Christian Graus
Answer
10 Jan 2013
license:
CPOL
Put it in the common app data area, using Environment.GetFolder to get a path that all your apps can see.
General Programming
»
Uncategorised Quick Answers
»
General
C#
XML
Updation in sqlserver table
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
Sorry, I misread the question. You can do this:update table1 set val = ( select top 1 val from table1 order by id)You'd have to do that for each column. You can do it all in one, if you like.update table1 set val = ( select top 1 val from table1 order by id), val2 = (select top 1...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
N-tier + MVC +EF application
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
MVC2 is rubbish. Don't use it. MVC is up to 4, but 3 is good. You're asking for someone to give you a complete project, I suggest rentacoder, you'll need to pay someone to do that.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
MVC
N-Tier
EF
Detect and connect online users
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
1 - you can't. the most you can do, is use a timeout based on a time stamp2 - just mark each user as already connected to someone and don't connect them to someone else. A bit field in the DB.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL
SQL-Server
format exception was handled by user code...string was not recognised as a valid Date Time..
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
The error is written in plain english. What do you think it means ? dateString is not a valid date time.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-2.0
Error on dynamic checkbox click
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
Well, your first issue is that you appear to be using ASP.NET and did not label your question properly.Secondly:chkcab.Attributes.Add("onClick", "chkcabchecked('" & TempPanelrack.ID & "');")I don't know what you thnk this does, but it assumes there's a javascript method called...
General Programming
»
Uncategorised Quick Answers
»
General
VB
checkbox
VB.NET
griviewmy question is to get max of osno value should show in a gridview as separate column as well as the database also
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
You have asked this over and over again, despite my having told you over and over how to do it.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
learn GUI programming in C++
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
You should learn C#, because it follows conventions often used in other languages, like javascript and C++, but is a lot easier than those. You should buy a book on C#, that teaches you C# ( not windows or web programming ). Then move on to winforms, then ASP.NET MVC, because MVC is the best...
General Programming
»
Uncategorised Quick Answers
»
General
C++
how to change the column name and update in to the data grid view using csharp
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
You can write SQL that renames the columns, or write your own grid view template that labels the headers any way you wish.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Expression has been evaluated and has no value
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
"expression has been evaluated and has no value." means the debugger ran the expression and it didn't return any thing. It means the Show method has no return value, but the debugger ran it. What is a modalpopupextender ? Is it part of the AJAX library ? You're doing a postback, so you're...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to add ajax calendar in asp.net c#
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
By finding one, and following the instructions. There is no such thing as 'THE' AJAX calendar. In fact, I don't see why a calendar control would need AJAX at all, only javascript.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Tip for sliding ads in asp.net page
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
Please don't email me privately. I won't respond.There's tons of examples on the web of slideshows using jquery. You can put ads in one of those, surely ?
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
i have a chat application . the data has been transferred through database .. i need to send files also ...
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
I think you want to send files between users. The files don't need to go in a DB, the most sensible thing is to send them directly, peer to peer, through your application, with the server telling the two instances the other users IP address.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
to get max value from database and that max value should show as a separate column in gridview to all rows
by
Christian Graus
Answer
8 Jan 2013
license:
CPOL
Use max in your sql, and the data will be in a column and show in your grid.Select max(x) from y
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Page 1 of 1,533
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid