Hi!

Here is the code for an example of how should I
Use DCs.

Code:
*****
Open Path & "main.stf" For Input As FreeFile
For Y = 1 to 37
For X = 1 to 50
Input #1, Map(X,Y).Number
Next X
Next Y
Close #1

For Y = 1 to 37
For X = 1 to 50
TempDC = LoadDC(Path & Map(X, Y).Number & ".bmp", Form1.hDC)
BitBlt Form1.hDC, (X * 16) - 16, (Y * 16) - 16, 16, 16, TempDC, 0, 0, vbSrcCopy
DeleteDC TempDC ' Should I delete it here?
Next X
Next Y


******
It gets stock in my computer (64MB).
I don't know what to do...

Try to tell me,
Thank you,
Arie.