Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:51
Doktor12-Jan-09 10:51 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:56
Mark Salsbery12-Jan-09 10:56 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 11:01
Doktor12-Jan-09 11:01 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 11:08
Mark Salsbery12-Jan-09 11:08 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Doktor13-Jan-09 8:54
Doktor13-Jan-09 8:54 
AnswerRe: VC++ 2008 Undeclared Identifier Pin
ThatsAlok12-Jan-09 19:38
ThatsAlok12-Jan-09 19:38 
QuestionCheck size, Save to backup, Change Name Pin
firelife291112-Jan-09 9:04
firelife291112-Jan-09 9:04 
AnswerRe: Check size, Save to backup, Change Name Pin
Rajasekharan Vengalil12-Jan-09 9:18
Rajasekharan Vengalil12-Jan-09 9:18 
firelife2911 wrote:
1: How do i program it to search and validate a filename? (the file to be saved from the server) Also i need it to find the size of the file so that i know it will fit in the storage space(these are very large files).


If you're using Win32, look up FindFirstFile, FindNextFile and their siblings. If you're using MFC then you might find CFindFile easier to deal with.

firelife2911 wrote:
2: How do i change the name of the file to another names with the date (such as 11-11-1111) added on the end?


When you call CopyFile, you can use the lpNewFileName parameter to specify the name of the file to use at the copied location.

firelife2911 wrote:
3: How do i make this into a .exe program that can be run automatically?


Use Windows Scheduler (Control Panel\Scheduled Tasks). You can also use the "at" command from a command line to schedule tasks which is just another interface for the Windows Scheduler service.

--
gleat
http://blogorama.nerdworks.in[^]
--

Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG


QuestionWill you someone recommend books on C and C++? Pin
php11112-Jan-09 7:44
php11112-Jan-09 7:44 
AnswerRe: Will you someone recommend books on C and C++? Pin
Hamid_RT12-Jan-09 7:56
Hamid_RT12-Jan-09 7:56 
GeneralRe: Will you someone recommend books on C and C++? Pin
php11112-Jan-09 7:58
php11112-Jan-09 7:58 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 8:16
Sarath C12-Jan-09 8:16 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 8:15
Sarath C12-Jan-09 8:15 
GeneralRe: Will you someone recommend books on C and C++? Pin
php11112-Jan-09 9:52
php11112-Jan-09 9:52 
GeneralRe: Will you someone recommend books on C and C++? Pin
Sarath C12-Jan-09 16:27
Sarath C12-Jan-09 16:27 
GeneralRe: Will you someone recommend books on C and C++? Pin
Luc Pattyn12-Jan-09 8:12
sitebuilderLuc Pattyn12-Jan-09 8:12 
AnswerRe: Will you someone recommend books on C and C++? Pin
Jijo.Raj12-Jan-09 10:49
Jijo.Raj12-Jan-09 10:49 
AnswerRe: Will you someone recommend books on C and C++? Pin
Loreia13-Jan-09 8:19
Loreia13-Jan-09 8:19 
QuestionRegistryKeys in MFC Pin
Software200712-Jan-09 7:40
Software200712-Jan-09 7:40 
AnswerRe: RegistryKeys in MFC Pin
Mark Salsbery12-Jan-09 8:13
Mark Salsbery12-Jan-09 8:13 
AnswerRe: RegistryKeys in MFC Pin
Iain Clarke, Warrior Programmer12-Jan-09 8:15
Iain Clarke, Warrior Programmer12-Jan-09 8:15 
QuestionAddPrinter Windows API call help Pin
TaffyApple12-Jan-09 7:28
TaffyApple12-Jan-09 7:28 
AnswerRe: AddPrinter Windows API call help Pin
Graham Bradshaw12-Jan-09 12:25
Graham Bradshaw12-Jan-09 12:25 
GeneralRe: AddPrinter Windows API call help Pin
TaffyApple12-Jan-09 21:47
TaffyApple12-Jan-09 21:47 
GeneralRe: AddPrinter Windows API call help Pin
Graham Bradshaw12-Jan-09 22:16
Graham Bradshaw12-Jan-09 22:16 

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.