最新のリリース:SdeTool_Gui Build 0925

[はトップに置いて] バイナリ操作の例 [VB.NET] 不指定

admin , 2011/09/25 16:26 , VB.NET , はを評論して(0) , はを読んで(888) , Via 当駅のオリジナル





    Private Sub MergeFile()  
    Dim strFileName1 As String '第一个文件  
    Dim strFileName2 As String '第二个文件  
    Dim strOutput As String '合并后的文件  
    Dim aryContent() As Byte '用来读取文件的数组,每次读取前要重定义  
    strFileName1 = "c:\a.bmp"
    strFileName2 = "c:\.bmp"
    strOutput = "c:\out.bmp"
    Open strOutput For Binary As #100  
    Open strFileName1 For Binary As #1  
    Open strFileName2 For Binary As #2  
    Put #100, , LOF(1) '取得第一文件的长度,并把它写入到合并文件的文件头中  
    Put #100, , LOF(2) '取得第二文件的长度,并写入到合并文件的文件头中  
    ReDim aryContent(LOF(1) - 1) '重定义数组,为读取文件做准备  
    Get #1, , aryContent() '取得第一文件的内容到数组  
    Put #100, , aryContent() '把第一文件的内容写到合并文件中  
    ReDim aryContent(LOF(2) - 1)  
    Get #2, , aryContent()  
    Put #100, , aryContent()  
    Close #1  
    Close #2  
    Close #100  
    End Sub  
    Private Sub SplitFile()  
    Dim strFileName1 As String  
    Dim strFileName2 As String  
    Dim strFileSplit As String  
    Dim aryContent() As Byte  
    Dim lngLOF(1) As Long '存放从文件头取得的两个文件的长度  
    strFileName1 = "c:\a2.bmp"
    strFileName2 = "c:\2.bmp"
    strFileSplit = "c:\out.bmp"
    Open strFileSplit For Binary As #100  
    Get #100, , lngLOF(0) '取得第一文件的长度  
    Get #100, , lngLOF(1) '第二文件的长度  
    Open strFileName1 For Binary As #1  
    Open strFileName2 For Binary As #2  
    ReDim aryContent(lngLOF(0)-1) '用第一文件的长度重定义数组,为读取第一文件做准备  
    Get #100, 9, aryContent() '从第9字节,即文件后面开始读取第一文件的内容  
    Put #1, , aryContent() '把取得的内容写入到拆分文件中  
    ReDim aryContent(lngLOF(1)-1)  
    Get #100, 9 + lngLOF(0) + 1, aryContent() '从第9字节再加上第一文件的长度处开始读取第二文件的内容,这里可以清楚地看到文件头的作用了  
    Put #2, , aryContent  
    Close #1  
    Close #2  
    Close #100  
    MsgBox "拆分完成。", vbInformation


Translate By Google.com From Besplatno Main Site
* 什么是QR Code?
     QR Code is a two-dimensional bar codes, QR from the English "Quick Response" acronym, which means rapid response, from the inventors hope QR Code in which it can quickly be decoded content. QR Code can store more data than ordinary bar code, like an ordinary bar code without also like to be a straight line when aligned in the scan because the scanner no longer work the way using a linear scan, but uses infrared light to enhance the camera work, direct lens to the image of the QR code in the image recognition software, so the angle required to reduce the reflection. Two-dimensional code scanner can even bar code displayed on the LCD screen to "scan" (identification) (but the vertical bar on the top of the screen is easy when you own infrared light source for reflection on the screen affect recognition), it can Scan to mobile phones and other bar code displayed on the screen. QR code is square, only black and white. In the four corners of which three, bearing small, like the "back" the word of the square pattern. The three decoding software to help locate the pattern, the user does not require alignment, regardless of any point of scanning, data can be read correctly. QR Code is most common in Japan, and is currently Japan's most popular two-dimensional bar code. QR Code can store more data than ordinary bar code. Japanese QR Code standard JIS X 0510 released in January 1999, and its corresponding ISO International Standard ISO/IEC18004, in June 2000 approved. According to the company's Web site information Denso Wave, QR codes are open standards, QR code specifications open, held by Denso Wave company's patent rights, it will not be executed. In addition to the standard QR Code, but also there is a called a "micro QR code" format, is a smaller version of the standard QR code, mainly for scanning can not handle larger applications. Micro QR Code also has a variety of standards, store up to 35 characters.

The Project Including:

     Besplatno Surtancetry QRCodec Library X
     Besplatno Surtancetry QRCodec Tool [Console]
     Besplatno Surtancetry QRCodec Tool [Gui]
     Besplatno Surtancetry QRCodec Source
     Besplatno Surtancetry QRCodec Sample For VB.Net
     Besplatno Surtancetry QRCodec Sample For C#
     Besplatno Surtancetry QRCodec Sample For Windows Mobile Phone 5

*The project is being tested, still need some time away from the release in the meantime you can focus on our movements to get the latest news. To download the open source software, please register as a member.

2011.09.29 21:19 Release
Translate By Google.com From Besplatno Main Site.

いくつかの努力の後、日本の駅は最終的に、実際には、オープンしたその前にウェブサイトwww.f- senapp.jpがあるが、何らかの理由で閉鎖されているが、今ここに祝うために〜

Translate By Google.com
はページを分けます: 1/1 第1ページの 1 最後に [ 表示のモード: 要旨 | リスト ]