<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>仕事柄よく使うんだけど、「そんなの使わねー」「そもそもVBSをつかわねー」と言われることも。VBSなにげに好きなんだけど世間の風当たりは厳しいです。VBSはやりゃあできる子なんだよ。というので、VBSでイベントログ。こういうのはクラスにしておくと便利。 Option Explicit Const EVENT_SUCCESS = 0 Const EVENT_ERROR = 1 Const EVENT_WARNING = 2 Const EVENT_INFORMATION = 4 Class CustomEventLog private shell Sub Class_Initialize() S…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20120602%2F1338569732&quot; title=&quot;VBSでeventlogってよく使うよね。 - harry’s memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-02 01:55:32</published>
  <title>VBSでeventlogってよく使うよね。</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20120602/1338569732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
