Click here to Skip to main content
15,886,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redefination error Pin
Tim Craig2-Apr-10 14:09
Tim Craig2-Apr-10 14:09 
AnswerRe: Redefination error Pin
«_Superman_»2-Apr-10 15:27
professional«_Superman_»2-Apr-10 15:27 
QuestionDuplicate Handle to get Real Process Handle Pin
ForNow2-Apr-10 8:29
ForNow2-Apr-10 8:29 
AnswerRe: Duplicate Handle to get Real Process Handle Pin
Richard MacCutchan2-Apr-10 9:30
mveRichard MacCutchan2-Apr-10 9:30 
QuestionCComboBox "right allign text" option moves the list box selection arrow to the left (VC 6.0 MFC) Pin
Vaclav_2-Apr-10 8:24
Vaclav_2-Apr-10 8:24 
AnswerRe: CComboBox "right allign text" option moves the list box selection arrow to the left (VC 6.0 MFC) Pin
Richard MacCutchan2-Apr-10 9:32
mveRichard MacCutchan2-Apr-10 9:32 
GeneralRe: CComboBox "right allign text" option moves the list box selection arrow to the left (VC 6.0 MFC) Pin
Vaclav_2-Apr-10 15:41
Vaclav_2-Apr-10 15:41 
Questionlimited user in xp Pin
Boost20102-Apr-10 6:49
Boost20102-Apr-10 6:49 
Hi Forum

I have problem to write string in text file.I have a file which is create through admin account now i want to write string from lmited user account.I ahve use CStdioFile for create a file.Here is code
if( myFile.Open("C:\\Documents and Settings\\All Users\\Documents\\Adminfile.txt", CStdioFile::modeCreate | CStdioFile::modeWrite | CStdioFile::modeNoTruncate, &e ) )
{
myFile.SeekToEnd();
myFile.WriteString("AdminSting");
myFile.Close(); 
}

How can i write data in this file?
please help me.
QuestionRe: limited user in xp Pin
David Crow2-Apr-10 8:01
David Crow2-Apr-10 8:01 
AnswerRe: limited user in xp Pin
Boost20102-Apr-10 8:21
Boost20102-Apr-10 8:21 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 8:24
David Crow2-Apr-10 8:24 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 8:37
Boost20102-Apr-10 8:37 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 8:40
David Crow2-Apr-10 8:40 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 8:43
Boost20102-Apr-10 8:43 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 8:46
David Crow2-Apr-10 8:46 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 8:56
Boost20102-Apr-10 8:56 
QuestionCannot access the ClassView information file, ClassView information will not be available. Pin
includeh102-Apr-10 6:23
includeh102-Apr-10 6:23 
AnswerRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
Maximilien2-Apr-10 6:38
Maximilien2-Apr-10 6:38 
GeneralRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
includeh102-Apr-10 6:51
includeh102-Apr-10 6:51 
AnswerRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
David Crow2-Apr-10 8:02
David Crow2-Apr-10 8:02 
QuestionParallel Port write in VC++ Pin
Sameen12-Apr-10 6:16
Sameen12-Apr-10 6:16 
AnswerRe: Parallel Port write in VC++ Pin
jeron12-Apr-10 7:30
jeron12-Apr-10 7:30 
GeneralRe: Parallel Port write in VC++ Pin
Sameen12-Apr-10 7:53
Sameen12-Apr-10 7:53 
AnswerRe: Parallel Port write in VC++ Pin
«_Superman_»2-Apr-10 15:38
professional«_Superman_»2-Apr-10 15:38 
GeneralRe: Parallel Port write in VC++ Pin
Sameen112-Apr-10 10:46
Sameen112-Apr-10 10:46 

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.