saving different components from different contols to a file

Started by
1 comment, last by superqtip182 16 years, 9 months ago
How is it done? I have source code for text files, and I've been reading up on GlobalAlloc, but I'd like to know exactly how you save information from different controls all onto one file. ... help? [Edited by - superqtip182 on June 21, 2007 6:00:48 PM]
Yes, sir, I AM a female programmer.
Advertisement
Quote:
my file still gets saved as a ".txt"


Quote:
ofn.lpstrFilter = "An Example OMG (*.omg)\0*.txt\0All Files (*.*)\0*.*\0";


The lpstrDefExt setting probably only works if the extension exists in lpstrFilter, which it doesn't. Just replace .txt with .omg, and I think set lpstrDefExt to ".omg" not "omg".
LOL, oops.

Sometimes it takes another person to point out your silly mistakes. =)
Yes, sir, I AM a female programmer.

This topic is closed to new replies.

Advertisement