LoginSignup
0
0

More than 3 years have passed since last update.

vbsの作法 その49

Posted at

概要

vbsの作法調べてみた。
hex2binやってみた。

サンプルコード

Function hex2bin(HexText)
    With CreateObject("Microsoft.XMLDOM").createElement("tmp")
        .DataType = "bin.hex"
        .Text = HexText
        hex2bin = .NodeTypedValue
    End With
End Function

Dim Hex
Dim Text
Hex = "3100320033003400"
msgbox Hex
Text = hex2bin(Hex)
msgbox CStr(Text)


Hex = "b530f330d730eb30"
msgbox Hex
Text = hex2bin(Hex)
msgbox CStr(Text)

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0