I am looking at the FileUpload example that came with the Xojo install and in the UploadComplete event I see…
Dim uploadFolder As FolderItem
uploadFolder = App.ExecutableFile.Parent.Child("UploadedPictures")
If Not uploadFolder.Exists Then
#If DebugBuild Then
uploadFolder.CreateAsFolder
#Else
MsgBox("Upload failed. Upload folder does not exist: " + uploadFolder.NativePath)
Return
#Endif
End If
What does # mean?
Also I am not sure why the second if statement is there. I intend to use…
Dim uploadFolder As FolderItem
uploadFolder = App.ExecutableFile.Parent.Child("FileUploads")
If Not uploadFolder.Exists Then
uploadFolder.CreateAsFolder
End If
Should I be doing something different?