Hi Friends
This is My Code Please Help Me
I Got The Text Field Output As The Selected Folder Eg(D:\My)
My Problem Is If A Folder Is Selected I Want To Add a Back Slash At The End Eg(D:\My\)
I Writed This Code For That
I Printed The String PATH
I Got The Out Put As D:\My\
But I Selected A Drive I Got Out Put As D:\\
This is A Invalid Path. Because I Want To Know How To Do This.
Can You Please Help Me?
Jothis
:sign0085::sign0085:
This is My Code Please Help Me
B4X:
FolderChooser.New1
i=FolderChooser.Show
If(i=cOK)Then
TextBox1.Text=FolderChooser.SelectedFolder
Else
TextBox1.Text="Select Folder"
End If
My Problem Is If A Folder Is Selected I Want To Add a Back Slash At The End Eg(D:\My\)
I Writed This Code For That
B4X:
PATH=TextBox1.Text&"\"
I Got The Out Put As D:\My\
But I Selected A Drive I Got Out Put As D:\\
This is A Invalid Path. Because I Want To Know How To Do This.
Can You Please Help Me?
Jothis
:sign0085::sign0085: