Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArray of MSXML::IXMLDOMNodePtr??? Pin
Klaus Probst24-Jan-02 14:02
Klaus Probst24-Jan-02 14:02 
AnswerRe: CArray of MSXML::IXMLDOMNodePtr??? Pin
28-Jan-02 3:34
suss28-Jan-02 3:34 
QuestionRichEdit in WinCE? Pin
Jon Newman24-Jan-02 9:09
Jon Newman24-Jan-02 9:09 
Questionhow to send a file between two computers? Pin
SAK24-Jan-02 8:31
SAK24-Jan-02 8:31 
AnswerRe: how to send a file between two computers? Pin
Richard Jones24-Jan-02 9:35
Richard Jones24-Jan-02 9:35 
GeneralRe: how to send a file between two computers? Pin
SAK24-Jan-02 10:12
SAK24-Jan-02 10:12 
GeneralRe: how to send a file between two computers? Pin
Vladimir Georgiev24-Jan-02 10:24
Vladimir Georgiev24-Jan-02 10:24 
GeneralRe: how to send a file between two computers? Pin
Vladimir Georgiev24-Jan-02 10:58
Vladimir Georgiev24-Jan-02 10:58 
TCHAR pszFrom[1024] = {0};
TCHAR pszTo[1024] = {0};
SHFILEOPSTRUCT shfo;

GetDlgItemText( IDC_SOURCE, pszFrom, 1024);
GetDlgItemText( IDC_DEST, pszTo, 1024);

ZeroMemory(&shfo, sizeof(SHFILEOPSTRUCT));
shfo.hwnd = AfxGetApp()->m_pMainWnd->m_hWnd;
shfo.wFunc = FO_COPY;
shfo.pFrom = pszFrom;
shfo.pTo = pszTo;
shfo.fFlags = FOF_NOCONFIRMATION | FOF_SILENT;

SHFileOperation(&shfo);

This is how it works for me Smile | :) you can see more detailed info about SHFILEOPSTRUCT in the MSDN online reference...
If any questions, do not hesitate to ask...

"Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
Generalvisual c++ Pin
24-Jan-02 8:26
suss24-Jan-02 8:26 
GeneralRe: visual c++ Pin
Richard Jones24-Jan-02 9:24
Richard Jones24-Jan-02 9:24 
GeneralHelp with VC & IE Pin
Cabadam24-Jan-02 8:14
Cabadam24-Jan-02 8:14 
GeneralDialog color Pin
24-Jan-02 6:48
suss24-Jan-02 6:48 
GeneralRe: Dialog color Pin
Michael Dunn24-Jan-02 6:54
sitebuilderMichael Dunn24-Jan-02 6:54 
GeneralRe: Dialog color Pin
24-Jan-02 6:55
suss24-Jan-02 6:55 
GeneralRe: Dialog color Pin
pba_24-Jan-02 7:04
pba_24-Jan-02 7:04 
GeneralRe: Dialog color Thanks Pin
24-Jan-02 7:08
suss24-Jan-02 7:08 
GeneralNo name variables Pin
Javaman24-Jan-02 5:55
Javaman24-Jan-02 5:55 
GeneralRe: No name variables Pin
Michael Dunn24-Jan-02 6:57
sitebuilderMichael Dunn24-Jan-02 6:57 
GeneralControlling the HTML in IWebBrowser2 Pin
Jim Crafton24-Jan-02 5:27
Jim Crafton24-Jan-02 5:27 
GeneralRe: Controlling the HTML in IWebBrowser2 Pin
pba_24-Jan-02 5:58
pba_24-Jan-02 5:58 
GeneralRe: Controlling the HTML in IWebBrowser2 Pin
Jim Crafton24-Jan-02 6:51
Jim Crafton24-Jan-02 6:51 
GeneralRe: Controlling the HTML in IWebBrowser2 Pin
Not Active24-Jan-02 7:15
mentorNot Active24-Jan-02 7:15 
GeneralRe: Controlling the HTML in IWebBrowser2 Pin
Kastellanos Nikos25-Jan-02 2:14
Kastellanos Nikos25-Jan-02 2:14 
QuestionHow to get the name of the recently added file to a Particular folder? Pin
anju24-Jan-02 5:30
anju24-Jan-02 5:30 
AnswerRe: How to get the name of the recently added file to a Particular folder? Pin
User 988524-Jan-02 5:44
User 988524-Jan-02 5:44 

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.