RequestFile gives up!
BlitzPlus Forums/BlitzPlus Programming/RequestFile gives up!
| ||
I have a problem with RequestFile. I wouldn't normally write so much code but im not sure which part is messing up the rest so i'm gonna have to. I did a bit of editing so it may look a bit wierd! Anyhoo, i can run this and to my TreeView i add with the browse button: A file; A dir; A file; A file; A dir; A dir; but when i go to add the next file (and annoyingly my last) it just notifies "You didn't select a file". I don't thnik it matters how i add the files or how many i add. Is there anything wrong with the code that would make it cause an error with RequestFile? Thanks to anyone who can help. |
| ||
This might have something to do with it (I haven't really looked at your code though) : http://www.blitzbasic.com/Community/posts.php?topic=36532 |
| ||
Thanks for that i'll have a look but i also found out that it works 5 times and on the 6th it goes Bleh (not literally)! |
| ||
I tried some more testing and it only happens when it's compiled. And the code missed out fileR$ = Requestfile("Add:", "") altogether. |