9,868,710 members (29,525 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*
90 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 2
Page Size:
10
·
25
·
50
Author filtered by:
Coder Block
[x]
Problem with reading and writing of \n charecter
by
Coder Block
Question
9 May 2013
license:
CPOL
Hi guys, I am really confuse now what to do with \n and \r\n charecters.I am reading and writing some files in c++.Basically i want to maintain log file of one exe where following conditions are consider.1)If file is not present then create file.2)If file is already present then...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Re: intialisation of charecter array
by
Coder Block
Forum Message
7 May 2013
nop i need array of charecter pointer?? not normal pointer above example that you have given is normal character string i need array of characters string. And i will change my sign;.
General Programming
»
C / C++ / Mfc
intialisation of charecter array
by
Coder Block
Forum Message
7 May 2013
hi guys, If i create one character array of some size like, char* TempArray[10]; how do i intialise it???
General Programming
»
C / C++ / Mfc
Tokenization of string
by
Coder Block
Question
7 May 2013
license:
CPOL
Hi guys, this morning i got this prorblem while parsing my text file.I have simple code to parse string is as follow,const char* LastLineOfFile = FinalExecutionOfJob[NumberEntriesInLastExecution+1];char * pch;char* TempStr = strstr((char*)LastLineOfFile,""); const char*...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
string
Tokens
how to use visual studio?
by
Coder Block
Answer
7 May 2013
license:
CPOL
Basically if you ask question about how to use visual studio for c++ then there is option like call VC++.First clear your self with that for what purpose you want use studio.Like,Want create window application then use MFC.Want to create window services then use win32.ETC.Now to...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Resize the character array in c
by
Coder Block
Question
7 May 2013
license:
CPOL
Hi guys, A MFC coder want to learn some basic about charecter array intialisation and deletion of element.Take following examples campare with MFC (there is CString so no need of memory allocation or de allocation but same needed in c.)(dont have std::string interface...
General Programming
»
Uncategorised Quick Answers
»
General
C
array
Retrive Gmail Contacts is Not Working
by
Coder Block
Answer
6 May 2013
license:
CPOL
Best article you need to reffer is Import Gmail Contacts into ASP.NET GridView[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Re: Details regarding insertion of wide characters into a sqlite3 database programatically
by
Coder Block
Forum Message
6 May 2013
you may reffer this article on Accessing a SQLite Database with C++[
General Programming
»
C / C++ / Mfc
Reading unicode file in c
by
Coder Block
Question
3 May 2013
license:
CPOL
Hi guys, I just want to read read unicode text file in normal c.Following code is not working for same,includeint main(){ FILE *ptr_file; char buf[1000]; ptr_file =fopen("input.txt","r"); if (!ptr_file) return 1; ...
General Programming
»
Uncategorised Quick Answers
»
General
C
file
Unicode
Convert Cstring to int
by
Coder Block
Answer
3 May 2013
license:
CPOL
If you want to convert CString to int then following code will help you..CString StringTobeConvert;StringTobeConvert= "45844";int NumberConverted;NumberConverted = atoi(StringTobeConvert);try it use it..
General Programming
»
Uncategorised Quick Answers
»
General
MFC/C++
unable to convert type int [] to int
by
Coder Block
Answer
2 May 2013
license:
CPOL
its compiler error but obeous..your assing int to int[].code should be like,int array;int Population[10][20];for(int i = 0;i
General Programming
»
Uncategorised Quick Answers
»
General
C#
web services using java
by
Coder Block
Answer
2 May 2013
license:
CPOL
You may reffered following link....Developing my first Web Service in 30 minutes[^]
General Programming
»
Uncategorised Quick Answers
»
General
Java
how to display images one by one from folder
by
Coder Block
Answer
2 May 2013
license:
CPOL
Best way is that go throught the following article...How to Load/Display images with C#[^]Perfect match for your requirement..
General Programming
»
Uncategorised Quick Answers
»
General
C#
Passing pointer to SOCKADDR_IN and SOCKET in a function
by
Coder Block
Answer
2 May 2013
license:
CPOL
First of all,your code has lot of systax error i dont known you have copy/paste that code or not.It should be return TRUE and not Return TRUE (note "R").Now let me tell you some this about pointers.SOCKADDR_IN socket;SOCKET socketIdentifier;are normal variables and...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Win32
programming
function
Pointer
functions
Re: How to Load Image from Toolbar BMP resources for MenuItem icons ?
by
Coder Block
Forum Message
2 May 2013
why are you not trying this?? CImage image; image.Load(_T("C:\\image.png")); // just change extension to load jpg CBitmap bitmap; bitmap.Attach(image.Detach());
General Programming
»
C / C++ / Mfc
Re: How to Load Image from Toolbar BMP resources for MenuItem icons ?
by
Coder Block
Forum Message
2 May 2013
Basically, MFC is quit strong to handle all this things enternally, you only need to do is that give same ID to toolbar and menubar item. Like, If you have PQR.bmp on ID_CLICK_ME toolbar then give I
General Programming
»
C / C++ / Mfc
read the extension of file using binary mode
by
Coder Block
Answer
2 May 2013
license:
CPOL
Basically you cant because,Even you read all files as binary but , for reading binary you need file format of that file and but obeouse reseon you dont have it.Second is that you can make log of file like before name change you stores all file names in some log file or variables and cross...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VisualStudio2012
MFC/C++
GetErrorInfo returns S_FALSE in WIN32 API
by
Coder Block
Question
2 May 2013
license:
CPOL
I am devloping on win32 console application in which some comm componant are used.But for little test i check out the function GetErrorInfo before any impementation.I found that i will return me S_FALSE at all condtion. Following is my simple code not working..#include "stdafx.h"#include ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
VC++
Convert DATE to String in comm c++
by
Coder Block
Question
1 May 2013
license:
CPOL
I spend whole night to find out single example to convert DATE datatype of c++ to string in COMM. My interface function returns following values and i want show that values in human redable format. Like,DATE JobStartTime;CurrentJob->get_StartTime(&JobStartTime);And it return valules like,...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
COM+
VC++
Win32.DLL
MFC/C++
Writing new line character in file
by
Coder Block
Question
29 Apr 2013
license:
CPOL
I just want write blank line into the file. i use following code but is not working. char* RegID; RegID = "10"; char* mndtime; mndtime = "10"; char* resourcetype; resourcetype = "Backup"; char* ressubtype; ressubtype =...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Text
Which is the Best RDBMS can use at client PC?
by
Coder Block
Answer
25 Apr 2013
license:
CPOL
Basically,RDDMS is Short for relational database management system and pronounced as separate letters, a type of database management system (DBMS) that stores data in the form of related tables. Relational databases are powerful because they require few assumptions about how data is related or...
General Programming
»
Uncategorised Quick Answers
»
General
database
MFC/C++
Calling DCOM object in VC++
by
Coder Block
Question
23 Apr 2013
license:
CPOL
Currently we are working on backup management solution so we are using shadowProtect interface for some trials.Shadow ProtectNow i need to call shaprotect interface functions programatically to create some backup jobs and get information ,so ShadowProtect provide me following lines of code...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
COM
VC++
How to use CPagerCtrl Class in VC++
by
Coder Block
Answer
17 Apr 2013
license:
CPOL
If your using mfc arhitecture then,1)As you says "CPagerCtrl" used or not then, it is not member function of microsoft foundation class so as usual nobody using this.2)If you buy any library then may be changce of this class belong this library.Ho to verify,1)Threre is always good...
General Programming
»
Uncategorised Quick Answers
»
General
MFC
HOw to add ScrollBar to a SDI application
by
Coder Block
Answer
17 Apr 2013
license:
CPOL
Dude google it before asking question..nd here one link may slove your problem.how to creat a scrollbar in mode SDI ???[^]
General Programming
»
Uncategorised Quick Answers
»
General
VC++
Browse dialog selection
by
Coder Block
Answer
16 Apr 2013
license:
CPOL
fist of all you can use CFileDialog to do so.:)for more information on same you may go throught following link of msdn.CFileDialog[^]Or better refer your msdn.Now question remain about you need previous directory!!!.To do so,CFileDialog open by default CurrentDirectory when it is...
General Programming
»
Uncategorised Quick Answers
»
General
MFC
Re: How to resize tab controls in mfc.?
by
Coder Block
Forum Message
16 Apr 2013
I am not sure what you really want but u can use MoveWindow() Function . Moves,resize window as per co-ordinate. :)
General Programming
»
C / C++ / Mfc
How to select checkbox and display values in textboxes
by
Coder Block
Answer
16 Apr 2013
license:
CPOL
This may be helpfull to you, you can get values of check box in following way,bool didYouCheckTheBox = myCheckbox.IsChecked; // returns true or falseNow remaining is that,Just handle it working on button click.So full code you required may be...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: How to set values in CPageSetupDialog?
by
Coder Block
Forum Message
24 Mar 2013
As usual declare all this in .h file of CPageSetupDialog..
General Programming
»
C / C++ / Mfc
Re: How to set values in CPageSetupDialog?
by
Coder Block
Forum Message
18 Mar 2013
may be this help u... :) u may have dialog class like, CPageSetupDialog abc; //Conding to set values. abc.papersize = 10; abc.sorce = "ACC"; abc.margin = 44; //ETC. //And then
General Programming
»
C / C++ / Mfc
convert char* array to character reference in C++
by
Coder Block
Question
10 Mar 2013
license:
CPOL
Hi guys,I want to convert char* array to character reference without using the standard String library of C++.for example: char* CharacterConstant;convertedstring = "";char& characterReference;char = CharacterConstant; Is there a possibility of similar coding option in...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
VC++
AfxFreelibrary function assertion in windows 8
by
Coder Block
Question
15 Feb 2013
license:
CPOL
Hi guys,Its strange or may be my fault of coding please provide me any solution related to this.:-(..I have developed one windows based application(VC++ MFC document-view architecture) in visual studio 2003. In this application I am using Static DLL. To load and free the library following...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Windows
MFC
Windows
Win2008
library
VC++
String manupulation routines for char*
by
Coder Block
Question
13 Feb 2013
license:
CPOL
Hi All, I am MFC(VC++) programmer :-).So while dealing with string i used CString class that provide me all string manupulation routines.So strong class having all thing that needed to manupulate string. :-). But now my software architecture restrict me on only C++. anable to...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
string
VC++
strings
Want to develop FBD editor in mfc
by
Coder Block
Question
28 Dec 2012
license:
CPOL
Hi guys ,I want to develop FBD editor in mfc .Please give me the suggestion where should i start and from where i whould get the benchmark for it.Thanks,
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
Visual-Studio
MFC
C++
VC++
PLC
Open source for PLC Editor
by
Coder Block
Question
20 Dec 2012
license:
CPOL
Hi all,Is there any PLC editor open source available in any laguange.or may be libraries that help me to develop my PLC editor window base application.If not,The please suggest me best shareware for same.Thanks ,
General Programming
»
Uncategorised Quick Answers
»
General
C#
MFC
QT
WinForm
QT-Creator
VC++
PLC
big toolbar in cross main window
by
Coder Block
Question
16 Dec 2012
license:
CPOL
Hi guy,My tool bar work fine with limited buttons on it like,i have 20 buttons on of 30x30 size then ok, my tool bar works fine,Problem arised when my number of buttons on tool bar increase,like,If my toolbar have 90 buttons on it then more than 20 buttons cross the mainframe...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
C++
Visual-Studio
MFC
C++
VC++
running mfc application on mac and unix
by
Coder Block
Question
14 Dec 2012
license:
CPOL
Hi guys,I want port my mfc application on other than microsoft platform.That is i want to run my simple dialog base application on mac.---------------------------------------------------------------Please provide me any link of guid or block of code to do so..Thanks,
General Programming
»
Uncategorised Quick Answers
»
General
VC6
Visual-Studio
MFC
Linux
C++
MacOS
VC++
creating files at time of android application installation
by
Coder Block
Question
20 Nov 2012
license:
CPOL
Hi All,A VC++ programmer want work on android application.tends to newbies in android. / -----------------------------------------------------------I want create config file when file android application install on android device..Like,there is config file say...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Mobile
Android
Eclipse
SDK
Excellent!!!!
by
Coder Block
Forum Message
30 Oct 2012
last 6 month i am waiting for same !! Finally you came with this!! Its like dreams came to true!! thanks a lot!!
General Discussions
»
Article "Windows Development In C++, Working With Menus"
Using WDK(Window Driver Kit) for USB Communication support
by
Coder Block
Answer
8 Oct 2012
license:
CPOL
// usbhidiocDlg.cpp : implementation file/*Project: usbhidioc.cppVersion: 3.0Date: 7/18/05by Jan Axelson (jan@Lvr.com)Purpose: demonstrates USB communications with a HID-class device.Description: Finds an attached HID-class device that matches a specified Vendor ID and...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
C++
C
MFC
C++
VC9.0
USB
VC10.0
, +
Using WDK(Window Driver Kit) for USB Communication support
by
Coder Block
Question
4 Oct 2012
license:
CPOL
Hi Guys,Really USB communication is far hardar and Interesting than Serial communication but still, i need support of USB communication in my software.As per some guidance from masters and documents from Codeproject i finally decide to used WDK ..WDK take my whole day to install!!!!i am...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
C++
C
MFC
C++
VC9.0
USB
VC10.0
, +
reading and writing data to USB port in mfc vc++
by
Coder Block
Question
20 Sep 2012
license:
CPOL
Hi Experts,After spending my whole last night on google i doesn't found any thing useful to solve my problem.so my last choice is all of you guys,now problem start when,I improves my window based application from serial communication to USB communication for hardware device...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
C++
Visual-Studio
MFC
C++
USB
VC++
Visual-C++
Disapperance of 3D look
by
Coder Block
Question
10 Sep 2012
license:
CPOL
hiii everyone...I have created a dll application in vs2010 using c++, when i change the property viz General->character set ->using multibyte character set.. the 3Dlook of the dialog based application using the dll disappears..I have tried simple application which uses same properties but it...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Visual-Studio
VS2010
error c2059:syntax error
by
Coder Block
Question
5 Sep 2012
license:
CPOL
Hi All,When i buy the new vs2010 so, i need to convert all my existing project to new studio.that is from from vs2003 to vs2010.Now all working fine except one error,error c2059:syntax error When i convert my vs2003 project to vs2010 i get syntax.after spending lot of...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
MFC
C++
VC
VC++
VC/VC++
converting visual studio vc++ 2003 project to visual studio vc++2010
by
Coder Block
Question
3 Sep 2012
license:
CPOL
Hi all,As microsoft provide new version of studio.i deciced to moved my window based application from visual studio 2003 to visual studio 2010.a great Techanology aspected more use full control from 2010 compare to 2003.Fine,but one problem arise when convert my window based program...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
Visual-Studio
MFC
C++
VC
VC++
VC++(MFC ) exe takes lots of RAM memory
by
Coder Block
Question
28 Aug 2012
license:
CPOL
Hi all,After spending one whole day on google search about "mfc exe memory consumes lots of space of RAM".Nothing useful found.So as usual need expert like all of you guys,Problem Start when i run my window based application on my PC.It make my PC incredibly slow.Because out of my 2 GB...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
VC8.0
Visual-Studio
MFC
C++
VC9.0
VC10.0
VC
, +
removing the default child icon of mfc child window.
by
Coder Block
Question
21 Aug 2012
license:
CPOL
Hi All,Every mfc application created with two default icons,1)MFC icon :- for main window.2)Doc icon :- for child window.I replaced main window icon with help of givn article,Replacing the Default MFC Icon[^]But problem arised when i deal with child frame icon.I can replace...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
VC8.0
C++
MFC
C++
VC10.0
VisualStudio
Microsoft
, +
tool tip text on tab controls,
by
Coder Block
Forum Message
3 Aug 2012
Im using tool box for my MDI application all works fine but i have one problem.. I used TabView for MDI to show all view in tab. But i also want to display a tooltip text when my mouse is on tab
General Discussions
»
The Ultimate Grid Home Page
printing contents of a richeditcntrl
by
Coder Block
Question
25 Jul 2012
license:
CPOL
I have place a rich edit control in a class derived from cview.. I want to print the contents of the contrl.Please help me in doing the same.....
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
C++
VC10.0
VC/VC++
tool tiptext on tab control..
by
Coder Block
Forum Message
18 Jun 2012
Im using tool box for my MDI application all works fine but i have one problem.. I used TabView for MDI to show all view in tab. But i also want to display a tooltip text when my mouse is on tab
General Discussions
»
The Ultimate Toolbox Home Page
DONT want to update DLL resource in setup
by
Coder Block
Question
15 May 2012
license:
CPOL
Hi All,Im using MFC DLL for saparation of my big project into small small DLL. But problem found when i given set up to a person who has visual studio on his machine.Things goes all right accept one thing ,DLL RESOURCES CAN MODIFIED IN SETUP.A User that used a set up can open DLL and...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC7.1
MFC
C++
DLL
VC10.0
Microsoft
VC
VC++
Page 1 of 2
1
2
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