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

C / C++ / MFC

 
Questionerror in filestream in VC8 Pin
beegu18-Oct-07 19:01
beegu18-Oct-07 19:01 
AnswerRe: error in filestream in VC8 Pin
User 58385218-Oct-07 19:31
User 58385218-Oct-07 19:31 
QuestionCan I write a program that's spinned on the desktop, just like wallpaper? Pin
code_discuss18-Oct-07 16:47
code_discuss18-Oct-07 16:47 
AnswerRe: Can I write a program that's spinned on the desktop, just like wallpaper? Pin
John R. Shaw18-Oct-07 17:16
John R. Shaw18-Oct-07 17:16 
AnswerRe: Can I write a program that's spinned on the desktop, just like wallpaper? Pin
Nishad S18-Oct-07 20:59
Nishad S18-Oct-07 20:59 
AnswerRe: Can I write a program that's spinned on the desktop, just like wallpaper? Pin
Kenan Aksoy18-Oct-07 22:57
Kenan Aksoy18-Oct-07 22:57 
QuestionHow do I check if a string is valid for saving? Pin
monsieur_jj18-Oct-07 16:19
monsieur_jj18-Oct-07 16:19 
AnswerRe: How do I check if a string is valid for saving? Pin
John R. Shaw18-Oct-07 17:04
John R. Shaw18-Oct-07 17:04 
My first thought was to look it up; then I just tried to change a file name by adding a known invalid character and looked at the error message (seemed simpler). According to the message a file name under Windows XP can not contain \/:*”<>|. Therefore just scan the name for those characters, but I would still double check through the help system or online.

If you have the option of using regular expressions (not necessary), then you could write one to validate the string.

Good Luck!


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

AnswerRe: How do I check if a string is valid for saving? Pin
User 58385218-Oct-07 17:09
User 58385218-Oct-07 17:09 
QuestionHow to use VIPS API on MFC program? Pin
TooShy2Talk18-Oct-07 14:39
TooShy2Talk18-Oct-07 14:39 
QuestionBroken code? Pin
Tydia-kun18-Oct-07 11:26
Tydia-kun18-Oct-07 11:26 
AnswerRe: Broken code? Pin
Stephen Hewitt18-Oct-07 14:33
Stephen Hewitt18-Oct-07 14:33 
QuestionRe: Broken code? Pin
Maximilien18-Oct-07 14:49
Maximilien18-Oct-07 14:49 
AnswerRe: Broken code? [modified] Pin
Tydia-kun18-Oct-07 15:26
Tydia-kun18-Oct-07 15:26 
GeneralRe: Broken code? Pin
User 58385218-Oct-07 17:04
User 58385218-Oct-07 17:04 
GeneralRe: Broken code? Pin
Tydia-kun19-Oct-07 0:35
Tydia-kun19-Oct-07 0:35 
GeneralRe: Broken code? Pin
Maximilien19-Oct-07 1:39
Maximilien19-Oct-07 1:39 
GeneralRe: Broken code? Pin
Tydia-kun19-Oct-07 1:41
Tydia-kun19-Oct-07 1:41 
QuestionRe: Broken code? Pin
Maximilien19-Oct-07 3:26
Maximilien19-Oct-07 3:26 
AnswerRe: Broken code? Pin
Tydia-kun19-Oct-07 3:38
Tydia-kun19-Oct-07 3:38 
GeneralRe: Broken code? Pin
User 58385221-Oct-07 12:51
User 58385221-Oct-07 12:51 
GeneralRe: Broken code? Pin
Tydia-kun23-Oct-07 7:13
Tydia-kun23-Oct-07 7:13 
GeneralRe: Broken code? Pin
John R. Shaw18-Oct-07 17:45
John R. Shaw18-Oct-07 17:45 
GeneralRe: Broken code? Pin
Tydia-kun19-Oct-07 0:36
Tydia-kun19-Oct-07 0:36 
QuestionHow to dock a dialog box Pin
s196675m18-Oct-07 11:18
s196675m18-Oct-07 11:18 

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.