Click here to Skip to main content
Page 1 of 2
Page Size: 10 · 25 · 50


Author filtered by: Coder Block [x]
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...
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;.
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???
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*...
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...
C++
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...
Answer 6 May 2013   license: CPOL
Best article you need to reffer is Import Gmail Contacts into ASP.NET GridView[^]
Forum Message 6 May 2013  
you may reffer this article on Accessing a SQLite Database with C++[
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; ...
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..
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
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[^]
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..
C#
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...
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());
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
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...
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 ...
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,...
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 =...
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...
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...
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...
MFC
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 ???[^]
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...
MFC
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. :)
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...
C#
Forum Message 24 Mar 2013  
As usual declare all this in .h file of CPageSetupDialog..
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
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...
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...
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...
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,
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 ,
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...
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,
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...
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!!
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...
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...
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...
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...
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...
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...
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...
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...
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
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.....
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
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...

Page 1 of 2
1 2


Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid