Hi All. Having a little issue here.
I am trying to create a textoutputstream, however I keep getting an error
This item does not exist
Dim myOutputFile as FolderItem = FolderItem.ShowSaveFileDialog(FileTypes1.text,"MySample.txt")
I think it has to do with the fact I can’t get a completion on “ShowSaveFileDialog”.
Here is my code (so far):
[code]Dim dialog As OpenDialog
Dim file As FolderItem
Dim tis As TextInputStream
dim tos as TextOutputStream
Dim myRowCount, MyColumncount, i, j as integer
Dim rowFromFile as string
Dim oneCell as string
Dim myOutputFile as FolderItem = FolderItem.ShowSaveFileDialog(FileTypes1.text,“MySample.txt”)
newSeparator = chrB(9)
dialog = New OpenDialog
dialog.Filter = “text/plain”
// The OpenDialog class supports custom prompts
dialog.PromptText = “Select your csv”
// and custom titles
dialog.Title = “CSV Groomer”
// For regular modal dialogs, just call dlg.showModal
file = dialog.ShowModal
tis = TextInputStream.Open(file)[/code]
Regards