Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: int CHtmlview, button can not be used. why? Pin
Hamid_RT31-Aug-06 7:02
Hamid_RT31-Aug-06 7:02 
QuestionFile extension validation Pin
reddy harish30-Aug-06 23:31
reddy harish30-Aug-06 23:31 
AnswerRe: File extension validation Pin
Hamid_RT30-Aug-06 23:40
Hamid_RT30-Aug-06 23:40 
AnswerRe: File extension validation Pin
Cedric Moonen30-Aug-06 23:41
Cedric Moonen30-Aug-06 23:41 
GeneralRe: File extension validation Pin
reddy harish30-Aug-06 23:53
reddy harish30-Aug-06 23:53 
AnswerRe: File extension validation Pin
_AnsHUMAN_ 31-Aug-06 0:12
_AnsHUMAN_ 31-Aug-06 0:12 
GeneralRe: File extension validation Pin
reddy harish31-Aug-06 0:45
reddy harish31-Aug-06 0:45 
GeneralRe: File extension validation Pin
_AnsHUMAN_ 31-Aug-06 0:51
_AnsHUMAN_ 31-Aug-06 0:51 
reddy harish wrote:
user enters the file in that edit box.

you can use CString::Find()
If you find the extension that you specified in the Find method you would get the index from where the extension starts. You can use this and validify the file extension....
You can also extract the file extension from the string and then use it for validation.(See as I did in my previous post)
There could be some other possible ways also...

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

QuestionRe: File extension validation Pin
David Crow31-Aug-06 7:44
David Crow31-Aug-06 7:44 
QuestionSocket Server Pin
Garth Watkins30-Aug-06 23:28
Garth Watkins30-Aug-06 23:28 
QuestionProgram before windows startup Pin
Daniel Kanev9-Mar-17 18:55
Daniel Kanev9-Mar-17 18:55 
AnswerRe: Program before windows startup Pin
Mike Dimmick30-Aug-06 23:28
Mike Dimmick30-Aug-06 23:28 
Question'Windows Media Player' ActiveX Control in 2000 Server Pin
Andy Rama30-Aug-06 23:19
Andy Rama30-Aug-06 23:19 
QuestionMessageBox button internationalization Pin
Joel Holdsworth30-Aug-06 21:58
Joel Holdsworth30-Aug-06 21:58 
AnswerRe: MessageBox button internationalization Pin
toxcct30-Aug-06 22:06
toxcct30-Aug-06 22:06 
GeneralRe: MessageBox button internationalization Pin
Joel Holdsworth30-Aug-06 22:09
Joel Holdsworth30-Aug-06 22:09 
GeneralRe: MessageBox button internationalization Pin
toxcct30-Aug-06 22:12
toxcct30-Aug-06 22:12 
AnswerRe: MessageBox button internationalization Pin
Dominik Reichl30-Aug-06 23:15
Dominik Reichl30-Aug-06 23:15 
GeneralRe: MessageBox button internationalization Pin
Joel Holdsworth30-Aug-06 23:39
Joel Holdsworth30-Aug-06 23:39 
QuestionNull reference exception Pin
K. narasimharao30-Aug-06 21:55
K. narasimharao30-Aug-06 21:55 
AnswerRe: Null reference exception Pin
_AnsHUMAN_ 30-Aug-06 22:40
_AnsHUMAN_ 30-Aug-06 22:40 
AnswerRe: Null reference exception Pin
prasad_som30-Aug-06 22:40
prasad_som30-Aug-06 22:40 
QuestionColor of Breakpoint in VC++? Pin
SanjaySMK30-Aug-06 21:55
SanjaySMK30-Aug-06 21:55 
AnswerRe: Color of Breakpoint in VC++? Pin
Steve Echols30-Aug-06 22:03
Steve Echols30-Aug-06 22:03 
GeneralRe: Color of Breakpoint in VC++? Pin
_AnsHUMAN_ 30-Aug-06 22:43
_AnsHUMAN_ 30-Aug-06 22:43 

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.