06-06-2007, 10:36 PM
Something like this I think:
Code:
Sub LoadShops()
Dim FileName As String
Dim i As Long, f As Long
Call CheckShops
For i = 1 To MAX_SHOPS
FileName = App.Path & "\shops\shop" & i & ".dat"
f = FreeFile
Open FileName For Binary As #f
Get #f, , Shop(i)
Close #f
DoEvents
Next i
End Sub