Code review please.

Can anyone please tell me why this code causes a NilObject Exception on line 2, resulting in the app hanging with a permanent spinning beach ball ??
(I have no other code in the window at all)

dim f as FolderItem = GetFolderItem("myApp Data").child("EULA.txt") dim txt as TextOutputStream = TextOutputStream.Create(f) txt.Write TextArea1.Text txt.close MainWindow.Show self.close


I guess f is Nil :slight_smile:
Do you copy/create “myApp Data” in the debug folder with Build Automation?

Just realised my problem - I forgot to path to ApplicationData !!!
Duhhhhhh - been looking at that code for 1 hour scratching my head :slight_smile: