????? ????? "?" ??? ????? UNICODE ??? ????? Visual Basic

?????? ????????? ?????? ?????????
???? ???????: 193540 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ????? ????? ????? ???? Unicode ?? ??? ??? Unicode ??? ??????? ?? ????? Visual Basic.

??????? ????

????? Visual Basic ??????? ??? ????? Unicode ??? ???? ?????. ??? ???? ?? ???? ???? ?????? ???? Visual Basic ?????? ????? ANSI ???? ????. ???? ?????? ???? Visual Basic ????? ??????? ?? ????? ?????? ???????? ??????? ANSI ????? ????? ?????? ?????????. ????? ?? ??????? ???? ?? ??????? ??? ANSI ??????? ????? ???? ???? ????? ?? ????? Unicode ???????? ?????? ??? ??? ????? ANSI ?? ??? ??? ??????? UNICODE ???? ????. ????? ?????? ??? ??? ????? UNICODE ?? ????? Visual Basic ??? ??????? ????? ???? UNICODE (????? 2.0). ???? ?????? ?????? ????? ??????? ????? ???? ??????? 2.0 ???? ????? UNICODE ??????? ?? ??? ??? Unicode. ??? ??? ?????? ????? UNICODE ???? ??? ??? ?????? ???? ?????? ?????? ??? ?? Windows NT.

??????: ????? ???? 2.0 ????? ????????? ?? ??? ??????? ??? ?????? ?? ??? ????????? ??? ????? Visual Basic ? ?? ??? formally ???????? ?? ??????. ????? ??? ??????? ????????? ????????? ??? ?? ??? ?????? ???? ????? ??????? ?? ???? ???? ??? ????? ?????? ??????? Visual Basic. ?? ??? ?????? ??????? ??????? ?????? ?? ????? ?????? ??? ??? ????? Visual Basic.

????? ??? ???? ????? 2.0 ?? ??? ?? Microsoft Office ??? ??? ??????? ?????? ???????. ????? ?? ???? ????? 2.0 ????? (fm20.dll) ?? ??????? ????? ??. ??? ?? ???? ?????? ??? ????? ????????? ?????.

?????? ??? ??????? ?????? ??? ????? fm20.dll ?????? ?????? ??????? ??????? ?? "????? ??????? ?? Microsoft:
224305INFO: ? ????? ??????? FM20.DLL [OffDev]

???? ???? ????? ?????? ?????

  1. ????? ???? ????? ??????? ??? ??????? Windows NT. ???? ?????? ????? ????? ?????? ??? ??????? ???????. MingLiu ??? ??? ????? ???? ???????? ????? ??? ??????. ????? ????? ????? ??? ?????? ?????? ??? ??? ???? ??????? ?????? UNICODE ??? ?????.
  2. ????? ????? EXE ??????. ??? ????? Form1 ???? ???????.
  3. ??? ???????? ?? ??????? ??????? ?? ???? ?? Microsoft 2.0 ????? ????? ??????. ??? ????? ??? ????? ???? ???? ??????? ??? ?? ??? ??????? UNICODE ???? ????, ????? ???.
  4. ????? ???? ?? 2.0 ??? ????? ??? Form1 ????????? ?? ????? ?????????: TextBox1. ????? ?? ???? ???? ????? MingLiu.
  5. ????? ????? CommandButtons Form1.
  6. ?? ?????? ????????? ???????? ??????? ??? ???? ????????? ???????? ?????? Form1:
          Private Sub Command1_Click()
            ' create a Unicode text file with Chinese character
            ' Dan1 and English character D.
            Dim a(0 To 5) As Byte
            a(0) = &HFF
            a(1) = &HFE
            a(2) = &H39
            a(3) = &H4E
            a(4) = &H44
            a(5) = &H0
            Open "unicode.txt" For Binary As #1
            Put #1, , a
            Close #1
          End Sub
    
          Private Sub Command2_Click()
            Dim txtline As String
    
            ' you may need to change the path of the file
            Open "unicode.txt" For Binary As #1
    
            txtline = InputB(2, #1)  ' always FF FE, skip them
            txtline = InputB(4, #1)
    
            Close #1
    
            TextBox1.Text = txtline  ' display the string
          End Sub
    ??? ?????? ?? ????? ????? UNICODE ?????? ????? ?? FE FF ???? ????? ????? ???? ??? ????? ????. ???? ????? ?? ?????? ????? UNICODE ?? ??? ????? ????? ??? ??? ????? "?" ??????? ???????? InputB.
  7. ?? ?????? ???????. ???? ??? Command1 ?????? ??? ?? Unicode.
  8. ???? ??? Command2. ??? ??? ?????? ??????? Dan1 ? ?????? ?????????? ??????? ???? ???? ?? ???? ????. ????? ????? ??????? ?? ??? unicode.txt ???????? ??????? ?? ???? MingLiu.

?????

?????? ??? ???? ?? ?????????? ?????? ?????? ???????? ??????? ?? "????? ????? Microsoft:
177561????? ????? ???? ?????? ?? Windows NT ??????
224305INFO: ? ????? ??????? FM20.DLL [OffDev]

???????

???? ???????: 193540 - ????? ??? ??????: 26/????/1426 - ??????: 1.4
????? ???
  • Microsoft Visual Basic 5.0 Professional Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
????? ??????: 
kbmt kbctrl kbhowto kbunicode KB193540 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????193540

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com