9,868,710 members (29,618 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*
17,669 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 707
Page Size:
10
·
25
·
50
Author filtered by: CPallini
[x]
txt.file remove lines
by
CPallini
Answer
14 May 2013
license:
CPOL
There is no direct way for removing a line from a file. However you might read the input file line by line, copying to a new file only the lines you want to maintain. At the end of the process discard the original file and rename the freshly written one.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Visual-Studio
VisualStudio2012
suggestion about the "software that converts sound waves into binary"
by
CPallini
Answer
14 May 2013
license:
CPOL
Your recording device already produces binary streams, I suppose. You should read the device documentation for finding out what is the format used, study it and then develop an algorithm able to extract the needed data.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Handle postthreadmessage() inside a thread which is blocking in while(1) loop or use “Event Driven Sockets”
by
CPallini
Answer
14 May 2013
license:
CPOL
You may use the main thread (or just another one) for writing data.
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
Visual-Studio
programming
socket
udp
Networking
Network
Sockets
I can't build a derive class object!who can help me!
by
CPallini
Answer
14 May 2013
license:
CPOL
When overriding virtual methods you have to make sure that the method signatures exactly match. Change fromQuote:float virtual area() { return 3.14*fRadius*fRadius; }tovirtual float area() const { return 3.14*fRadius*fRadius; }
General Programming
»
Uncategorised Quick Answers
»
General
C++
Connecting to remote DB in MySql
by
CPallini
Answer
13 May 2013
license:
CPOL
Did you try Google[^] yet?
General Programming
»
Uncategorised Quick Answers
»
General
MySQL
Learn multithreading in C++
by
CPallini
Answer
13 May 2013
license:
CPOL
Did you try Google[^]?
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
bit level access using C++
by
CPallini
Answer
13 May 2013
license:
CPOL
Suppose, for generality:const int N = 500;a = new char[N];char b[N];You access bit bitno of either a or b in the same way (note: not tested):int getbit(int bitno, int x[], int size){ if ( bitno = (size*8) ) { // throw an exception here } int...
General Programming
»
Uncategorised Quick Answers
»
General
C++11
how i change query for different button
by
CPallini
Answer
12 May 2013
license:
CPOL
As already suggested, write a method, say executeMyQuery taking, as single parameter, the query string, put in such method all the required code for executing the query. Then call it from the different button click handlers (each handler should pass its own query string).
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How getfilename works in c++
by
CPallini
Answer
12 May 2013
license:
CPOL
Since you tagged your question (also) with MFC, I am assuming you are asking about CFile::GetFileName[^]. Such method, as the documentation states, returns the name of the file associated to the CFile object.[Update]GetFileName does NOT provide the info you are requiring. You may use the...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
MFC/C++
execute procedure of tcp/ip chat application which is made by using socket programming.
by
CPallini
Answer
12 May 2013
license:
CPOL
Probably Google[^] helps (the very first entry is a CodeProject article!).
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
image processing application
by
CPallini
Answer
11 May 2013
license:
CPOL
It smell like homework. You should try hard to code it yourself and ask here specific questions when you get stuck.
General Programming
»
Uncategorised Quick Answers
»
General
C#
GimmeCode
Homework
Object reference not set to an instance of an object.
by
CPallini
Answer
11 May 2013
license:
CPOL
As alaready suggested, you use the debugger for checking that all the references ( t3, t5, t6 and conn) in the statement are set to valid objects (for instance did you use new on conn?).
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Routing algorithm for Vehicular adhoc network
by
CPallini
Answer
10 May 2013
license:
CPOL
Did you try Google[^], yet?
General Programming
»
Uncategorised Quick Answers
»
General
C++
Error: The Procedure entry point EncodePointer could not be located in the dynamic link library KERNAL32.dll
by
CPallini
Answer
10 May 2013
license:
CPOL
The documentation[^] states:RequirementsMinimum supported clientWindows Vista, Windows XP with SP2 [desktop apps | Windows Store apps]Hence your version of Windows XP does not satisfy such requirements (that is you probably have to update it with, at least, Service Pack 2).
General Programming
»
Uncategorised Quick Answers
»
General
WinXP
C++
Windows
Programming in C- Display inputted integers in english
by
CPallini
Answer
10 May 2013
license:
CPOL
I fixed some bugs (uninitialized variables). Please note: you should handle the digit 0 (zero) too. #include #include void show_number(int number){ int counter = 0; int i, temp, digit, x, ten; if (number > 9) { temp = number; while...
General Programming
»
Uncategorised Quick Answers
»
General
C
programming
Problem with reading and writing of \n charecter
by
CPallini
Answer
9 May 2013
license:
CPOL
On Windows system newline is "\r\n" (see, for instance Wikipedia[^]). Hence it should work (you should see proper output on notepad, other applications are able to render text file with other newline conventions).Please check (with the help of an hex editor) the actual file content.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
string.replace(""","\"") giving error in c#
by
CPallini
Answer
9 May 2013
license:
CPOL
You must pass either two characters or two strings to the Replace method. Currently you're passing just one string (the comma is embedded in the string, due to the escaping rules).
General Programming
»
Uncategorised Quick Answers
»
General
C#
text with double quotes is not inserting in databse in sql server
by
CPallini
Answer
9 May 2013
license:
CPOL
It looks you should double them, see, for instance "How to insert string containing single or double quotes" at Stack Overflow[^].
General Programming
»
Uncategorised Quick Answers
»
General
C#
fread() fails after reading complete contents of text file
by
CPallini
Answer
9 May 2013
license:
CPOL
Your while condition is uninfluential (always true). According to the documentation[^]:Return ValueThe total number of elements successfully read is returned.If this number differs from the count parameter, either a reading error occurred or the end-of-file was reached while reading....
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
file
Text
MultiThreading with Timer-Error
by
CPallini
Answer
9 May 2013
license:
CPOL
You should create a method, say, public int TotalMilliseconds(string s), accepting one string and returning total milliseconds. Once you have it you may easily compute max and min values with a simple single iteration on the array items.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Is Multi Threading required for this scenario
by
CPallini
Answer
9 May 2013
license:
CPOL
Probably multithreading is useless in your case. It would be usefulif (at least) one task takes a lot of time (that is user noticeable) to complete: often threads are used to prevent the GUI freeze while a long time operation is occurring.
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
user Defined Formula Editor
by
CPallini
Answer
9 May 2013
license:
CPOL
See , for instance: Runtime C# Expression Evaluator[^].
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to give an equation to a program
by
CPallini
Answer
9 May 2013
license:
CPOL
Yes, your program can evaluate (static) expressions, e.g.#inclde using namespace std;int main(){ int x; cin >> x; cout
General Programming
»
Uncategorised Quick Answers
»
General
C++
how to use ReadPrivateProfileString.
by
CPallini
Answer
9 May 2013
license:
CPOL
You may find many articles about, here at CodeProject[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++/CLI
MFC
VC++
Register console app to work from any directory
by
CPallini
Answer
8 May 2013
license:
CPOL
You may put your exectuable in one of the folders included in the Windows executable search path[^], or you may modify the latter to include your application's folder.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Console
Page 1 of 707
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