Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SizeOfResource () problem using String Table Pin
Michael Dunn29-Jun-06 21:02
sitebuilderMichael Dunn29-Jun-06 21:02 
Questionhow to replace line of text in files using VC++ Pin
K. narasimharao29-Jun-06 19:01
K. narasimharao29-Jun-06 19:01 
Questionregarding listbox Pin
happy_ram29-Jun-06 19:01
happy_ram29-Jun-06 19:01 
AnswerRe: regarding listbox Pin
_AnsHUMAN_ 29-Jun-06 19:23
_AnsHUMAN_ 29-Jun-06 19:23 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 19:27
happy_ram29-Jun-06 19:27 
GeneralRe: regarding listbox Pin
_AnsHUMAN_ 29-Jun-06 19:59
_AnsHUMAN_ 29-Jun-06 19:59 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 19:39
happy_ram29-Jun-06 19:39 
GeneralRe: regarding listbox Pin
_AnsHUMAN_ 29-Jun-06 20:00
_AnsHUMAN_ 29-Jun-06 20:00 
CFile file;
file.Open ("abc.txt",CFile::modeCreate | CFile::modeWrite );
DWORD buffLen=255;
char *filepath=new char[MAX_PATH];
file.Close ();
GetFullPathName("abc.txt",buffLen,filepath,NULL);
//AfxMessageBox(filepath); //filepath contains full path of the file

Here I created a file in the project directory and then using GetFullPathName I get the full path of the file in the string filepath
Does this solve your problem?

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_
AnswerRe: regarding listbox Pin
Hamid_RT29-Jun-06 20:11
Hamid_RT29-Jun-06 20:11 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 20:17
happy_ram29-Jun-06 20:17 
GeneralRe: regarding listbox Pin
Hamid_RT29-Jun-06 20:32
Hamid_RT29-Jun-06 20:32 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 20:55
happy_ram29-Jun-06 20:55 
GeneralRe: regarding listbox Pin
Hamid_RT29-Jun-06 21:22
Hamid_RT29-Jun-06 21:22 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 21:28
happy_ram29-Jun-06 21:28 
GeneralRe: regarding listbox Pin
Hamid_RT29-Jun-06 22:20
Hamid_RT29-Jun-06 22:20 
GeneralRe: regarding listbox Pin
happy_ram29-Jun-06 23:29
happy_ram29-Jun-06 23:29 
GeneralRe: regarding listbox Pin
Hamid_RT30-Jun-06 1:05
Hamid_RT30-Jun-06 1:05 
GeneralRe: regarding listbox Pin
happy_ram30-Jun-06 1:12
happy_ram30-Jun-06 1:12 
GeneralRe: regarding listbox Pin
Hamid_RT30-Jun-06 1:16
Hamid_RT30-Jun-06 1:16 
GeneralRe: regarding listbox Pin
happy_ram30-Jun-06 1:42
happy_ram30-Jun-06 1:42 
GeneralRe: regarding listbox Pin
Hamid_RT30-Jun-06 2:04
Hamid_RT30-Jun-06 2:04 
GeneralRe: regarding listbox Pin
happy_ram30-Jun-06 2:22
happy_ram30-Jun-06 2:22 
GeneralRe: regarding listbox Pin
Hamid_RT30-Jun-06 2:42
Hamid_RT30-Jun-06 2:42 
Generaliam going for second way Pin
happy_ram30-Jun-06 2:41
happy_ram30-Jun-06 2:41 
GeneralRe: iam going for second way Pin
Hamid_RT30-Jun-06 2:55
Hamid_RT30-Jun-06 2:55 

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.