Click here to Skip to main content
15,916,949 members
Home / Discussions / Mobile
   

Mobile

 
Generalp Invoke memory release Pin
ting6683-Mar-05 0:35
ting6683-Mar-05 0:35 
GeneralRe: p Invoke memory release Pin
João Paulo Figueira3-Mar-05 4:18
professionalJoão Paulo Figueira3-Mar-05 4:18 
GeneralHelp with eVC++ and debugging Pin
nord_lead2-Mar-05 18:06
nord_lead2-Mar-05 18:06 
GeneralPocket PC email client Pin
ppp00128-Feb-05 17:03
ppp00128-Feb-05 17:03 
GeneralWindows CE Pin
Member 76131227-Feb-05 3:24
Member 76131227-Feb-05 3:24 
GeneralPocket PC disable toolbar Start Pin
Bedevian26-Feb-05 6:47
Bedevian26-Feb-05 6:47 
GeneralAudio mute Pin
sneffe123-Feb-05 2:00
sneffe123-Feb-05 2:00 
Generali get strange words/codings instead of words when saving as .txt Pin
sheep_8022-Feb-05 16:46
sheep_8022-Feb-05 16:46 
Hi all, i'm currently working on a school project and are very new in this.
The code below is something i had modify:

BOOL CCheckBookFile::New()
{
CString strFilter;
CString allFilter;
CString strTitle;
CString OpenFilter;
OpenFilter ="Text File (*.txt)|*.txt|";
OpenFilter += "RTF (*.rtf)|*.rtf|";
OpenFilter += "ASC (*.asc)|*.asc|";
OpenFilter += "Word Document (*.doc)|*.doc|";
OpenFilter += "All Files (*.*)|*.*||";

CFileDialog dlg(FALSE, NULL, TEXT("\\My Documents\\NewFile"), OFN_FILEMUSTEXIST | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST, OpenFilter, NULL);

strTitle.LoadString(IDS_FILE_NEW);
dlg.m_ofn.lpstrTitle = strTitle;
if (dlg.DoModal() == IDCANCEL)
return FALSE;


if (m_file.m_hFile != (UINT)CFile::hFileNull)
m_file.Close();
if (!m_file.Open(dlg.GetPathName(), CFile::modeCreate | CFile::modeReadWrite | CFile::modeNoTruncate | CFile::typeText ))
{
AfxMessageBox(CString((LPCTSTR)IDS_MESSAGE5));
// Call open again
if (!New())
return FALSE;
else
return TRUE;
}

return TRUE;
}


well, there are 184kb in the save file, and it's in .txt format.
but when i open it, it will show some strange words.
But when i use my program to open it, it seems fine.
Does anyone know how to change it to a readable .txt file?
Thanks
And by the way, i'm using pocket word to open the .txt files that i had saved.
GeneralRe: i get strange words/codings instead of words when saving as .txt Pin
hterry6122-Feb-05 18:04
hterry6122-Feb-05 18:04 
GeneralRe: i get strange words/codings instead of words when saving as .txt Pin
sheep_8022-Feb-05 18:35
sheep_8022-Feb-05 18:35 
GeneralRe: i get strange words/codings instead of words when saving as .txt Pin
sheep_8024-Feb-05 19:15
sheep_8024-Feb-05 19:15 
GeneralRe: i get strange words/codings instead of words when saving as .txt Pin
hterry6127-Feb-05 11:24
hterry6127-Feb-05 11:24 
GeneralRunning CCeSocket from separate thread Pin
hterry6122-Feb-05 12:02
hterry6122-Feb-05 12:02 
GeneralRe: Running CCeSocket from separate thread Pin
Yongki C. A. Jong19-Mar-05 4:00
Yongki C. A. Jong19-Mar-05 4:00 
Generalplay flash movie (.swf) in pocket pc Pin
nicegirl21-Feb-05 22:09
nicegirl21-Feb-05 22:09 
Generalcmd line args in evc4 Pin
buzz_lightyear_200521-Feb-05 3:47
buzz_lightyear_200521-Feb-05 3:47 
GeneralRe: cmd line args in evc4 Pin
João Paulo Figueira22-Feb-05 3:58
professionalJoão Paulo Figueira22-Feb-05 3:58 
GeneralRe: cmd line args in evc4 Pin
buzz_lightyear_200522-Feb-05 19:25
buzz_lightyear_200522-Feb-05 19:25 
GeneralHelp with SYSTEMTIME Pin
ricardito6918-Feb-05 5:01
ricardito6918-Feb-05 5:01 
QuestionHow to communicate 700 series hand held intermec pc with 6920 communication server. Pin
Dhavalsays8215-Feb-05 19:43
sussDhavalsays8215-Feb-05 19:43 
GeneralModifying a bitmap image at runtime Pin
dynertec.lcr15-Feb-05 10:38
dynertec.lcr15-Feb-05 10:38 
GeneralRetrieving control types Pin
Lvca15-Feb-05 5:35
Lvca15-Feb-05 5:35 
GeneralRe: Retrieving control types Pin
João Paulo Figueira18-Feb-05 5:07
professionalJoão Paulo Figueira18-Feb-05 5:07 
GeneralBlock size Pin
benjymous14-Feb-05 23:00
benjymous14-Feb-05 23:00 
GeneralCoreDll.dll CreateProcess problem Pin
14-Feb-05 16:16
suss14-Feb-05 16:16 

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.