Click here to Skip to main content
14,773,657 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redefination error Pin
Tim Craig2-Apr-10 15:09
MemberTim Craig2-Apr-10 15:09 
AnswerRe: Redefination error Pin
«_Superman_»2-Apr-10 16:27
professional«_Superman_»2-Apr-10 16:27 
QuestionDuplicate Handle to get Real Process Handle Pin
ForNow2-Apr-10 9:29
MemberForNow2-Apr-10 9:29 
AnswerRe: Duplicate Handle to get Real Process Handle Pin
Richard MacCutchan2-Apr-10 10:30
mveRichard MacCutchan2-Apr-10 10:30 
QuestionCComboBox "right allign text" option moves the list box selection arrow to the left (VC 6.0 MFC) Pin
Vaclav_2-Apr-10 9:24
MemberVaclav_2-Apr-10 9: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 10:32
mveRichard MacCutchan2-Apr-10 10: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 16:41
MemberVaclav_2-Apr-10 16:41 
Questionlimited user in xp Pin
Boost20102-Apr-10 7:49
MemberBoost20102-Apr-10 7: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 9:01
MemberDavid Crow2-Apr-10 9:01 
AnswerRe: limited user in xp Pin
Boost20102-Apr-10 9:21
MemberBoost20102-Apr-10 9:21 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 9:24
MemberDavid Crow2-Apr-10 9:24 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 9:37
MemberBoost20102-Apr-10 9:37 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 9:40
MemberDavid Crow2-Apr-10 9:40 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 9:43
MemberBoost20102-Apr-10 9:43 
GeneralRe: limited user in xp Pin
David Crow2-Apr-10 9:46
MemberDavid Crow2-Apr-10 9:46 
GeneralRe: limited user in xp Pin
Boost20102-Apr-10 9:56
MemberBoost20102-Apr-10 9:56 
QuestionCannot access the ClassView information file, ClassView information will not be available. Pin
includeh102-Apr-10 7:23
Memberincludeh102-Apr-10 7:23 
AnswerRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
Maximilien2-Apr-10 7:38
MemberMaximilien2-Apr-10 7:38 
GeneralRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
includeh102-Apr-10 7:51
Memberincludeh102-Apr-10 7:51 
AnswerRe: Cannot access the ClassView information file, ClassView information will not be available. Pin
David Crow2-Apr-10 9:02
MemberDavid Crow2-Apr-10 9:02 
QuestionParallel Port write in VC++ Pin
Sameen12-Apr-10 7:16
MemberSameen12-Apr-10 7:16 
AnswerRe: Parallel Port write in VC++ Pin
jeron12-Apr-10 8:30
Memberjeron12-Apr-10 8:30 
GeneralRe: Parallel Port write in VC++ Pin
Sameen12-Apr-10 8:53
MemberSameen12-Apr-10 8:53 
AnswerRe: Parallel Port write in VC++ Pin
«_Superman_»2-Apr-10 16:38
professional«_Superman_»2-Apr-10 16:38 
GeneralRe: Parallel Port write in VC++ Pin
Sameen112-Apr-10 11:46
MemberSameen112-Apr-10 11: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.