Search found 6 matches
- Saturday 24th April 2021 11:02pm
- Forum: Beginners
- Topic: Multi line text areas
- Replies: 6
- Views: 5077
Re: Multi line text areas
Good to know. Trying
- Saturday 24th April 2021 11:00pm
- Forum: Beginners
- Topic: For loop files vs folders
- Replies: 6
- Views: 4888
Re: For loop files vs folders
Thank you so much. It is working. Dim dirstring As String = "/home/gbowlsby/Desktop/" For Each filename As String In Dir(dirstring) If IsDir(dirstring & filename) Then TextArea1.Insert("File: " & filename & " is a folder\n") Else TextArea1.Insert("File:...
- Saturday 24th April 2021 10:38pm
- Forum: Beginners
- Topic: For loop files vs folders
- Replies: 6
- Views: 4888
Re: For loop files vs folders
So it is not working. Once it gets to a folder I get an error that says file is a folder and it stops on my Gambas_Projects. For Each filename As String In Dir("/home/gbowlsby/Desktop/") If IsDir(filename) Then TextArea1.Insert("File: " & filename & " is a folder and...
- Saturday 24th April 2021 8:59pm
- Forum: Beginners
- Topic: For loop files vs folders
- Replies: 6
- Views: 4888
For loop files vs folders
I want to copy all files from a folder to a new folder excluding folders. So in my test I have two folders Gambas_Projects and NewFolder2 below code I am using an if statement for individual folders. Is there a way to say if file = folder vs naming the folder? For Each file As String In Dir("/h...
- Saturday 24th April 2021 8:09pm
- Forum: Beginners
- Topic: Multi line text areas
- Replies: 6
- Views: 5077
Re: Multi line text areas
Thank you. The &= works perfectly thank you. I really appreciate the help.
- Saturday 24th April 2021 6:27pm
- Forum: Beginners
- Topic: Multi line text areas
- Replies: 6
- Views: 5077
Multi line text areas
I am new to GAMBAS. I have VB.net experience. What I am trying to do is append text to my textarea. In VB.net I would use textbox.appendtext("Line" & vbcrlf) Below is where I am at and the issue is with the inputext replaces the information in the box and not appends the text. So what ...