|
-
Mar 21st, 2000, 11:12 PM
#1
Thread Starter
Addicted Member
Hello!
I use CommonDialog to open (text)files to a RichTextBox, and saving them again in my app.
It all works well, but if I press Cancel, the program dies. It's not the CancelError property, it's set to off (and it's not that error), so I don't know what to do.
Also, if I have opened one file, saves it, then makes a new file and takes Save As, and presses Cancel, it returns to the previously opened file.
What shall I do?
Pentax
Wilhelm Tunemyr,
Swede in London
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
Heinrich Heine (1797-1856)
Pravda vítezi!
(Truth prevails!)
-
Mar 22nd, 2000, 12:25 AM
#2
Frenzied Member
-
Mar 23rd, 2000, 09:16 PM
#3
Thread Starter
Addicted Member
Well, it worked out.
The problem was, without a filename, a Do-While-loop wouldn't end, so it just wnet on, and on, and on...
Wilhelm Tunemyr,
Swede in London
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
Heinrich Heine (1797-1856)
Pravda vítezi!
(Truth prevails!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|