17-02-2007, 05:28 PM
Reason their different is because ones loading and ones to save.
You should be using Put instead of Get, and use ItemNum instead of i
And in both the example you've shown, you have forgotten to open the file
Oh, and you've forgotten to close it afterwards in every peice you've shown
And even if you got it to save load, I got a feeling it wont run right, in my mind when I run that, it loads everything fine, but when you save, you'll only save the last item[/code]
You should be using Put instead of Get, and use ItemNum instead of i
Code:
put #nFileNum, , Item(itemnum).PicAnd in both the example you've shown, you have forgotten to open the file
Code:
Open FileName For Binary As #nFileNumOh, and you've forgotten to close it afterwards in every peice you've shown
Code:
Close #nFileNumAnd even if you got it to save load, I got a feeling it wont run right, in my mind when I run that, it loads everything fine, but when you save, you'll only save the last item[/code]
