• Log in or sign up for an account here: https://www.sythe.org/login

Outputting to text-files using commondialog.

Joined
Jan 27, 2007
Sythe Gold
0
Messages
1,225
Location
/bin/sh
Well, this is like my other guide, but it will make you a nicer interface.
First off, add Microsoft Common Dialog Control to your components. Have it named CDG. Now, add a text box (named txt) and a command button (named cmdsave). Set txt's multi-line to true. Make it pretty large. (This is going to be your notepad without open :D )
Add this code to cmdopen:
Code:
CDG.showsave
open CDG.filename for output as #1
print #1, txt.text
msgbox "File saved ;) ",,"My notepad =D"
close(1)
I will end up adding a guide for opening too.
 
Runescape Gamblingrunescape gambling
Back
Top