C++ MFC

Moderators: Lundin
Number of threads: 3354
Number of posts: 9032

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
CDocument::OnFileSendMail, how to open it up with my default file Posted by grahamoj on 19 Jul 2003 at 2:20 AM
Hiya I am using CDocument::OnFileSendMail to send an email. But when the email opens up, it has a default temporary file with it.

How do I change this so I can make the file one of my files when It first opens up?? like a .doc or a .txt file.

Also I am using the remove function to remove a file in a directory. i.e

remove( "directory\\pxbatch.pmx" );

But it won't remove the file. if I leave out the directory part, it works fine and removes the file, but when directory is in it fails. The file I want to move is in a directory.

Thanks.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.