Hey again!
vbscript with the FileSystemObject has powerful tools for creating and manipulating text files. Using string and array manipulation you should be able to easily split your edit control content for writing to a text file. Here is a page of links to several examples; you'll have to pick and choose which bits you need for your project:
http://www.microsoft.com/technet/scriptcenter/scripts/misc/text/default.mspx
DesktopX and vbscript also have easy file save and browse dialogs. Check out the System.FileSaveDialog() function. I don't know if I gave this link before...I should have:
https://www.stardock.com/products/desktopxenterprise/resources.asp
The Scripting guide in particular is handy, see page 36 for samples of System.FileSaveDialog()
I never miss a chance to plug my own stuff, and this is no exception. My
SSMP widget has a script that creates a text file (a playlist). If you import it into DesktopX Builder, right click on the green "Save Playlist" button and examine its script.
The DX ActiveX controls and also the text objects (in my humble out of date opinion) do not consistently accept font attribute settings. I have had luck setting attributes for an ActiveX edit box like this, but really takes experimenting. The key is to set all values as if they were strings--that is in quotes, even when they are integers or bools:
Control.FontSize = "16"
Control.FontBold = "False"
Control.FontName = "Trebuchet MS"
|
hope that helps,
rr