I need to save an array of about ten elemnts in the application setting as application wide setting user scoped
I've tried in settings page of My project properties but I don't figure out how to do it is there is any way to do that
if there is no way has any one an idea of the best way that I can have the general Idea done

Using Application Settings??????????????????????
MarySil
using application settings I can store single variables as integer or string but my question is specifically about storing arrays in the application settings bcz it's more flexible
in Vb2003 I used to use SoapFormatter to export huge arrays to xml files but my array is small and it's a part of application settings so the idea of storing this array in application settings but I don't figure ou how
I use Vb2005 Express
My question remains unanswered
neil starkey
no One dimension array like
Dim
Myarr(10) As Stringthat I need to store in application settings
SunilRS
Can you not use one of the types from system.collections such as an arraylist
Are we talking one or multi-dimensional array / data structure
tenchyz
If this is the case, then i dont know much about saving varialbes in the project settings. Another way to achieve the same goal would be to save the varialbe in a txt file on the computer somewhere
FileOpen(1,
"C:\YourFile.txt", OpenMode.Output)PrintLine(1, Variable1)
PrintLine(1, Variable2)
FileClose(1)
FileOpen(1, "C:\YourFile.txt", OpenMode.Input)
Variable1 = LineInput(1)
Variable2 = LineInput(1)
FileClose(1)
Vonny232
So are yiou basically just trying to store some variables in the application setting
powderhawk
thank you spotty
I think you solve it I didn't pay attension to the browse option yes sure I can use arraylist