Open "path\filename" for binary as #1
'XXXXXXXXXXx
'XXXXXXXXXXXx
close
以二进制方式打开来访问。

解决方案 »

  1.   

    如何定义bmp的文件头信息呢?
    是不是
    Public Type bitmapfileheader  
    bftype As Integer
    bfsize As Long
    bfreserved1 As Integer
    bfreserved2 As Integer
    bfoffbits As Long
    End TypePublic Type bitmapinfoheader
    bisize As Long
    biwidth As Long
    biheight As Long
    biplanes As Integer
    bibitcount As Integer
    bicompression As Long
    bisizeimage As Long
    bixpelspermeter As Long
    biypelspermeter As Long
    biclrused As Long
    biclrimportant As Long
    End Type
    这是弄到的,但不知道是什么意思。有什么作用。请大家分析一下。或者有更号的办法拿出共享