Excuse me my friend but if I use debug option i have this error: ``` Set gTexture(TextureRec.Texture).Texture = Direct3DX.CreateTextureFromFileInMemoryEx(Direct3D_Device, _ ImageData(0), _ UBound(ImageData) + 1, _ newWidth, _ newHeight, _ 0, _ 0, _ D3DFMT_A8R8G8B8, _ D3DPOOL_DEFAULT, _ D3DX_FILTER_POINT, _ D3DX_FILTER_POINT, _ ByVal (0), _ ByVal 0, _ ByVal 0) ``` Screen: ![](http://i50.tinypic.com/2jdth4.png) It is still automation error :O