Below is the error code. After reading help I am still lost on how to solve it. The path I have listed in filesearch is valid I believe. I have used c:\ in it and and if I use the full path that I get from the address bar I still get the same error. I am using win 7.
@Klaus
That is what I thought shows was. I rerenamed shows back to arraylist1 and still get the same thing. I have never been good at arrays and I am still not. Also if you look at the error the path is not the same as the one in filesearch. It's like I programed filesearch for one path the program is set at a default.
Sorry I copied your uncomplete path name, you must use the full path name.
ArrayList1 is a control you must add onto the form in the IDE under Controls/Connections/ArrayList.
That's what I did (IDE under Controls/Connections/ArrayList). In windows 7 I've tried severel verisions of the path and can't seem to get it right. If this was xp and all that was wrong was the path I would get it right. I don't want to reinstall xp to test that posibility. I will try to find a windows 7 forum to get a handle on file path. Thanks much for your help.
I think there is some confusion about arrays and arraylists, I very much doubt if it is anything to do with Windows 7. Can you post the actual spb file rather than us trying to comment on a code fragment.
Try the attached program. It works on my desktop XP, and should also work on yours.
The problem you have is that you declare ArrayList1 as an ArrayList object and you also declare an Array varaible with the same name ArrayList1. And as you put the brackets in the code line the program assumes that it is an Array variable and not an ArrayList object.