Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil17-May-06 5:14
SWDevil17-May-06 5:14 
AnswerRe: Getting the number of records in a recordset Pin
David Crow16-May-06 2:51
David Crow16-May-06 2:51 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil16-May-06 3:24
SWDevil16-May-06 3:24 
GeneralRe: Getting the number of records in a recordset Pin
David Crow16-May-06 4:29
David Crow16-May-06 4:29 
QuestionWriting an Optimiser Pin
RichardS15-May-06 20:18
RichardS15-May-06 20:18 
Questionhow to create a folder automatically Pin
ramyasangeet15-May-06 20:17
ramyasangeet15-May-06 20:17 
AnswerRe: how to create a folder automatically Pin
Cedric Moonen15-May-06 20:30
Cedric Moonen15-May-06 20:30 
GeneralRe: how to create a folder automatically Pin
ramyasangeet15-May-06 20:45
ramyasangeet15-May-06 20:45 
Hi,
Thanks for the reply.
This is my coding.
CFile cf;<br />
	CString filename;<br />
        int xu_flag;<br />
	CString s;		<br />
	if(i == 1)<br />
	{ <br />
	  s.Format("%d",  (xu_picno/2)+1);<br />
	  filename = "c:\\temp\\";<br />
          filename+=s;<br />
	  filename+="F";<br />
	  filename+=".jpg";<br />
	}<br />
	else<br />
	{<br />
	s.Format("%d",  (xu_picno/2)+1);<br />
	filename = "c:\\temp\\";				<br />
        filename+=s;<br />
        filename+="R";<br />
	filename+=".jpg";<br />
		<br />
	}<br />
        xu_flag = cf.Open(filename, CFile::modeCreate | CFile::modeWrite);<br />
			cf.Write(sp_temp, xu_len); <br />
			cf.Close();


This coding is for storing each frame of video file in jpeg format.Using Xu_picno, i can able to retrive pictures.So everytime the pic no changes,the filename will also change.Like 1F,2F...
My problem is ,i have to store those picture in seperate folders.

So i need to create folder in runtime.how to do that.

help me please

cheers

sangeet
GeneralRe: how to create a folder automatically Pin
Cedric Moonen15-May-06 20:50
Cedric Moonen15-May-06 20:50 
GeneralRe: how to create a folder automatically Pin
David Crow16-May-06 2:43
David Crow16-May-06 2:43 
AnswerRe: how to create a folder automatically Pin
Hamid_RT15-May-06 21:05
Hamid_RT15-May-06 21:05 
GeneralRe: how to create a folder automatically Pin
ramyasangeet15-May-06 21:10
ramyasangeet15-May-06 21:10 
GeneralRe: how to create a folder automatically Pin
Cedric Moonen15-May-06 21:15
Cedric Moonen15-May-06 21:15 
GeneralRe: how to create a folder automatically Pin
Hamid_RT15-May-06 21:15
Hamid_RT15-May-06 21:15 
GeneralRe: how to create a folder automatically Pin
Hamid_RT15-May-06 21:17
Hamid_RT15-May-06 21:17 
GeneralRe: how to create a folder automatically Pin
ramyasangeet15-May-06 21:48
ramyasangeet15-May-06 21:48 
GeneralRe: how to create a folder automatically Pin
Hamid_RT15-May-06 22:35
Hamid_RT15-May-06 22:35 
GeneralRe: how to create a folder automatically Pin
ThatsAlok15-May-06 23:34
ThatsAlok15-May-06 23:34 
QuestionRe: how to create a folder automatically Pin
David Crow16-May-06 2:39
David Crow16-May-06 2:39 
QuestionControl the character spacing in the CEdit Control Pin
LaHaHa15-May-06 20:13
LaHaHa15-May-06 20:13 
Questionnotepad application Pin
keerthikaaa15-May-06 20:07
keerthikaaa15-May-06 20:07 
AnswerRe: notepad application Pin
Jitendra gangwar15-May-06 21:01
Jitendra gangwar15-May-06 21:01 
AnswerRe: notepad application Pin
ThatsAlok15-May-06 23:32
ThatsAlok15-May-06 23:32 
QuestionStatic Function and Static Class Pin
Scorpio15-May-06 20:07
Scorpio15-May-06 20:07 
AnswerRe: Static Function and Static Class Pin
Cedric Moonen15-May-06 20:28
Cedric Moonen15-May-06 20:28 

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.