In Windows 8, where is SpecialFolder.CurrentWorkingDirectory pointing to ?
Dim mainFolder As FolderItem = specialfolder.CurrentWorkingDirectory
Dim checkFolder As FolderItem = mainFolder.Child("test")
if checkFolder.Exists = false then
checkFolder.createasfolder()
end if
I am trying to create a folder …
It is not creating the folder here: C:\Program Files (x86)\Xojo\Xojo 2014r2.1
And is not creating the folder in project folder or subfolder Debug…
Edit: If I use Desktop as SpecialFolder, it works just fine.
Yes, that is exactly what I am doing Using the Desktop for test (am I you ? ehe)
Edit: app.ExecutableFile.Parent.AbsolutePath does the trick…
I would also like to get the application filename + extension (cross platform win+mac) but not sure if thats possible. I found the .Parent.Name property but has no .EXE