Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to configure bio metric sensor to creating private pool? Pin
Premnath Mali19-Apr-17 0:45
professionalPremnath Mali19-Apr-17 0:45 
Questioncalling vb ocx in 64 bit envirnoment Pin
Member 1267792613-Apr-17 4:23
Member 1267792613-Apr-17 4:23 
AnswerRe: calling vb ocx in 64 bit envirnoment Pin
Richard Andrew x6414-Apr-17 2:18
professionalRichard Andrew x6414-Apr-17 2:18 
QuestionGeneric algorithm question Pin
Ashish Ranjan Mishra12-Apr-17 20:26
Ashish Ranjan Mishra12-Apr-17 20:26 
QuestionRe: Generic algorithm question Pin
David Crow14-Apr-17 3:57
David Crow14-Apr-17 3:57 
Question1150 The specified program requires a newer version of Windows vc++ application Pin
Member 111103919-Apr-17 15:48
Member 111103919-Apr-17 15:48 
SuggestionRe: 1150 The specified program requires a newer version of Windows vc++ application Pin
DanielBrownAU9-Apr-17 17:04
professionalDanielBrownAU9-Apr-17 17:04 
QuestionHow to read data from text file using CMFCEditBrowseCtrl vc++ Pin
lolici7-Apr-17 5:12
lolici7-Apr-17 5:12 
Hello everyone!
I am trying to use a CMFCEditBrowseCtrl button (in CFeaturesDialog class) to read numbers (integer) from a text file and then pass those numbers in separate text files (in CDataDialog class), each file for every number. So I wrote:

void CFeaturesDialog::OnEnChangeMfceditbrowse1()
{
	CString str;
	m_browser.GetWindowTextW(str); //CMFCEditBrowseCtrl m_browser;
	
}


void CDataDialog::OnBnClickedOk()
{
	CStdioFile file(L"over1.txt", CFile::modeCreate |
		CFile::modeWrite);
}


e.g. if there 2 numbers in text file I open with CMFCEditBrowseCtrl I want to create over1.txt which will include the first number and over2.txt which will include the second number. How could I do that? Thank you in advance!
AnswerRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
David Crow7-Apr-17 5:58
David Crow7-Apr-17 5:58 
GeneralRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
lolici7-Apr-17 7:36
lolici7-Apr-17 7:36 
AnswerRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
David Crow7-Apr-17 7:59
David Crow7-Apr-17 7:59 
GeneralRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
lolici7-Apr-17 11:05
lolici7-Apr-17 11:05 
QuestionRe: How to read data from text file using CMFCEditBrowseCtrl vc++ Pin
Richard MacCutchan7-Apr-17 6:03
mveRichard MacCutchan7-Apr-17 6:03 
QuestionHow to efficiently map to original indices of an array after modification? Pin
Member 131008342-Apr-17 6:50
Member 131008342-Apr-17 6:50 
AnswerRe: How to efficiently map to original indices of an array after modification? Pin
Victor Nijegorodov2-Apr-17 7:26
Victor Nijegorodov2-Apr-17 7:26 
Questiongauge pressure and absolute pressure calculations in C++ Pin
Member 131006682-Apr-17 3:29
Member 131006682-Apr-17 3:29 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
leon de boer2-Apr-17 4:10
leon de boer2-Apr-17 4:10 
GeneralRe: gauge pressure and absolute pressure calculations in C++ Pin
harold aptroot2-Apr-17 4:28
harold aptroot2-Apr-17 4:28 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
Jochen Arndt2-Apr-17 22:26
professionalJochen Arndt2-Apr-17 22:26 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
Munchies_Matt2-Apr-17 23:30
Munchies_Matt2-Apr-17 23:30 
QuestionMessage: Failed to set up the execution context to run the test. Pin
HaraldGalda31-Mar-17 2:16
professionalHaraldGalda31-Mar-17 2:16 
QuestionRe: Message: Failed to set up the execution context to run the test. Pin
David Crow31-Mar-17 5:23
David Crow31-Mar-17 5:23 
AnswerRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 9:30
zezba90003-Dec-18 9:30 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
David Crow3-Dec-18 10:21
David Crow3-Dec-18 10:21 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 10:59
zezba90003-Dec-18 10:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.