{"id":2628,"date":"2013-01-28T14:31:13","date_gmt":"2013-01-28T05:31:13","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2628"},"modified":"2013-09-04T10:23:18","modified_gmt":"2013-09-04T01:23:18","slug":"office%e7%94%a8%e3%82%a2%e3%83%97%e3%83%aa%e9%87%8e%e8%89%af%e3%82%a2%e3%83%97%e3%83%aa%e3%81%ae%e3%82%b9%e3%82%b9%e3%83%a1","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2628","title":{"rendered":"[Office\u7528\u30a2\u30d7\u30ea]\u91ce\u826f\u30a2\u30d7\u30ea\u306e\u30b9\u30b9\u30e1"},"content":{"rendered":"<p>\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/jj220082.aspx\" title=\"Office \u7528\u30a2\u30d7\u30ea\u306e\u6982\u8981\" target=\"_blank\">Office \u7528\u30a2\u30d7\u30ea\u306e\u6982\u8981<\/a>\u300d\u306b\u3082\u3042\u308b\u901a\u308a\u3001Office\u7528\u30a2\u30d7\u30ea\u3092\u516c\u958b\u30fb\u914d\u5e03\u3059\u308b\u306b\u306f\u4e0b\u8a184\u3064\u306e\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<blockquote><p>\u30fbOffice \u30b9\u30c8\u30a2 &#8211; \u3053\u308c\u306f\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u304c Office.com \u4e0a\u3067\u30db\u30b9\u30c8\u304a\u3088\u3073\u7d71\u5236\u3059\u308b\u30d1\u30d6\u30ea\u30c3\u30af \u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30fc\u30b9\u3067\u3059\u3002Office \u30b9\u30c8\u30a2\u3067\u306f\u3001\u4e16\u754c\u4e2d\u306e\u958b\u767a\u8005\u304c\u5404\u81ea\u306e\u30ab\u30b9\u30bf\u30e0 Office \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u516c\u958b\u304a\u3088\u3073\u8ca9\u58f2\u3067\u304d\u3001\u30a8\u30f3\u30c9 \u30e6\u30fc\u30b6\u30fc\u3084 IT \u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u306f\u305d\u308c\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u500b\u4eba\u307e\u305f\u306f\u4f01\u696d\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30fbSharePoint \u306e Office \u7528\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0 &#8211; \u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6 \u30a2\u30d7\u30ea\u3068\u30b3\u30f3\u30c6\u30f3\u30c4 \u30a2\u30d7\u30ea\u306e\u5834\u5408\u3001IT \u90e8\u9580\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0\u3092\u5c55\u958b\u3057\u3066\u3001Office \u30b9\u30c8\u30a2\u3068\u540c\u69d8\u306e\u65b9\u6cd5\u306b\u3088\u3063\u3066\u30a2\u30d7\u30ea\u3092\u53d6\u5f97\u3067\u304d\u308b\u3057\u304f\u307f\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b0\u3057\u3044\u30ab\u30bf\u30ed\u30b0\u3068\u5c55\u958b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u3088\u308a\u3001IT \u90e8\u9580\u3067\u306f\u52b9\u7387\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3001\u30de\u30cd\u30fc\u30b8 \u30e6\u30fc\u30b6\u30fc\u306b\u4e00\u5143\u7684\u306a\u5834\u6240\u304b\u3089 Office \u304a\u3088\u3073 SharePoint \u7528\u30a2\u30d7\u30ea\u3092\u914d\u5e03\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30fbExchange \u30ab\u30bf\u30ed\u30b0 &#8211; \u30e1\u30fc\u30eb \u30a2\u30d7\u30ea\u7528\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30ab\u30bf\u30ed\u30b0\u3067\u3042\u308a\u3001\u305d\u306e\u30ab\u30bf\u30ed\u30b0\u304c\u5b58\u5728\u3059\u308b Exchange \u30b5\u30fc\u30d0\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30ab\u30bf\u30ed\u30b0\u306b\u3088\u308a\u3001\u4f01\u696d\u306e\u30e1\u30fc\u30eb \u30a2\u30d7\u30ea (\u5185\u90e8\u3067\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u3084\u3001Office \u30b9\u30c8\u30a2\u3067\u5165\u624b\u53ef\u80fd\u304b\u3064\u4f01\u696d\u7528\u306b\u30e9\u30a4\u30bb\u30f3\u30b9\u3055\u308c\u305f\u30a2\u30d7\u30ea\u3092\u542b\u307f\u307e\u3059) \u306e\u516c\u958b\u3068\u7ba1\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0 &#8211; IT \u90e8\u9580\u3068\u958b\u767a\u8005\u306f\u3001\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6 \u30a2\u30d7\u30ea\u3084\u30b3\u30f3\u30c6\u30f3\u30c4 \u30a2\u30d7\u30ea\u3092\u4e2d\u592e\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u5c55\u958b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u30de\u30cb\u30d5\u30a7\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u3068\u7ba1\u7406\u306f\u305d\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3067\u884c\u308f\u308c\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u3053\u306e\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u30a2\u30d7\u30ea\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001IT \u90e8\u9580\u3067\u306f\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u8a2d\u5b9a\u3092\u4f7f\u7528\u3057\u3066\u3053\u306e\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u3068\u3057\u3066\u69cb\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p><\/blockquote>\n<p><a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/jj220082.aspx\" title=\"Office \u7528\u30a2\u30d7\u30ea\u306e\u6982\u8981\" target=\"_blank\">Office \u7528\u30a2\u30d7\u30ea\u306e\u6982\u8981<\/a>\u3088\u308a<\/p>\n<p>\u7d44\u7e54\u5185\u3067\u306fSharePoint\u3084Exchange\u3082\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u4e00\u822c\u7684\u306b\u306f\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u3092\u516c\u958b\u3059\u308b\u306e\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Office \u30b9\u30c8\u30a2<\/span>\u300d\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3057\u3001Office \u30b9\u30c8\u30a2\u3067\u30a2\u30d7\u30ea\u3092\u516c\u958b\u3059\u308b\u305f\u3081\u306b\u306f\u3001<\/p>\n<ol>\n<li>\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/fp161012.aspx\" title=\"Office \u7528\u30a2\u30d7\u30ea\u306e UX \u8a2d\u8a08\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\" target=\"_blank\">Office \u7528\u30a2\u30d7\u30ea\u306e UX \u8a2d\u8a08\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3<\/a>\u300d\u306b\u5f93\u3063\u3066\u753b\u9762\u8a2d\u8a08\u3092\u3059\u308b\u3002<\/li>\n<li>\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/jj220035.aspx\" title=\"Office \u30b9\u30c8\u30a2\u306b\u63d0\u51fa\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306e\u691c\u8a3c\u30dd\u30ea\u30b7\u30fc\" target=\"_blank\">Office \u30b9\u30c8\u30a2\u306b\u63d0\u51fa\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306e\u691c\u8a3c\u30dd\u30ea\u30b7\u30fc<\/a>\u300d\u306b\u6cbf\u3063\u3066\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3059\u308b\u3002<\/li>\n<li>\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/jj220034.aspx\" title=\"[\u65b9\u6cd5] Microsoft Seller Dashboard \u306e\u8ca9\u58f2\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u307e\u305f\u306f\u7de8\u96c6\u3059\u308b\" target=\"_blank\">[\u65b9\u6cd5] Microsoft Seller Dashboard \u306e\u8ca9\u58f2\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u307e\u305f\u306f\u7de8\u96c6\u3059\u308b<\/a>\u300d\u306b\u3042\u308b\u3088\u3046\u306bMicrosoft \u8ca9\u58f2\u8005\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u627f\u8a8d\u3092\u53d7\u3051\u308b\u3002<\/li>\n<li>\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/jj220033.aspx\" title=\"[\u65b9\u6cd5] \u30a2\u30d7\u30ea\u3092 Microsoft Seller Dashboard \u306b\u8ffd\u52a0\u3059\u308b\" target=\"_blank\">[\u65b9\u6cd5] \u30a2\u30d7\u30ea\u3092 Microsoft Seller Dashboard \u306b\u8ffd\u52a0\u3059\u308b<\/a>\u300d\u306b\u3042\u308b\u3088\u3046\u306bMicrosoft \u8ca9\u58f2\u8005\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u3092\u767b\u9332\u3059\u308b\u3002<\/li>\n<li>Microsoft\u304c\u884c\u3046\u691c\u8a3c\u30fb\u30c6\u30b9\u30c8\u306b\u30d1\u30b9\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u3068\u3044\u3063\u305f\u624b\u9806\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<span style=\"color:#777777;font-size:9pt;\">(\u3042\u304f\u307e\u3067\u3082\u500b\u4eba\u7684\u306a\u611f\u60f3\u306b\u306a\u308a\u307e\u3059\u304c)<\/span><span style=\"color:#ff0000;font-size:16pt;\">\u6b63\u76f4\u9762\u5012\u304f\u3055\u3044\u3067\u3059\u3002<\/span><br \/>\n\u3061\u3087\u3063\u3068\u3057\u305f\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u77e5\u308a\u5408\u3044\u306b\u3061\u3087\u3063\u3068\u4f7f\u3063\u3066\u3082\u3089\u3044\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u5408\u3067\u3082\u3044\u3061\u3044\u3061Office \u30b9\u30c8\u30a2\u306b\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u306e\u306f\u304b\u306a\u308a\u7169\u308f\u3057\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u305d\u3053\u3067\u79c1\u304c\u304a\u85a6\u3081\u3057\u305f\u3044\u306e\u304c\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=2412\" title=\"Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\" target=\"_blank\">Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5<\/a>\u300d\u3067\u3082\u7d39\u4ecb\u3057\u3066\u3044\u308b\u3001<span style=\"color: #ff0000; font-weight: bold;\">\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5<\/span>\u3067\u3059\u3002<br \/>\n\u3053\u306e\u65b9\u6cd5\u3067\u3042\u308c\u3070Office \u30b9\u30c8\u30a2\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u306a\u304f\u30e6\u30fc\u30b6\u30fc\u306b\u30a2\u30d7\u30ea\u3092\u5229\u7528\u3057\u3066\u3082\u3089\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u3053\u306e\u65b9\u6cd5\u3060\u3068<a href=\"\/\/www.ka-net.org\/blog\/?p=2412\" title=\"Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\" target=\"_blank\">Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5<\/a>\u306b\u3082\u66f8\u3044\u305f\u901a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u5074\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u7528\u610f\u3057\u3066\u3082\u3089\u3044\u3001\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u30d1\u30b9\u3092\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0\u306b\u8ffd\u52a0\u3057\u3066\u3082\u3089\u3046\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081(<a href=\"\/\/www.ka-net.org\/blog\/?p=2412\" title=\"Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\" target=\"_blank\">Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5<\/a> &#8220;<strong>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099<\/strong>&#8220;\u53c2\u7167)\u3001\u591a\u5c11\u306e\u624b\u9593\u304c\u639b\u304b\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u624b\u9593\u3092\u7701\u304f\u305f\u3081\u306b\u8003\u3048\u305f\u306e\u304c\u4e0b\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n<h4><a href=\"http:\/\/afo.devel.jp\/scripts\/SetAfoTrustedCatalogs.vbs\" target=\"_blank\">\u25a0 SetAfoTrustedCatalogs.vbs<\/a><\/h4>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">'*********************************************************************\r\n' &#x5B;Office 2013]\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30ab\u30bf\u30ed\u30b0\u306e\u30a2\u30c9\u30ec\u30b9\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\r\n'   - \u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u8a2d\u5b9a -&gt; \u30a2\u30d7\u30ea\u30ab\u30bf\u30ed\u30b0\u306e\u30a2\u30c9\u30ec\u30b9\u8ffd\u52a0\r\n'\r\n' Author    : kinuasa\r\n' Date      : 2013\/01\/24\r\n' Version   : 1.00\r\n'*********************************************************************\r\n\r\nOption Explicit\r\n\r\nDim ShareName   '\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u540d\r\nDim UserNm      '\u30e6\u30fc\u30b6\u30fc\u540d\r\nDim FolderPath  '\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u30fc\u30d1\u30b9\r\nConst LocalAddress = &quot;\\\\127.0.0.1\\&quot;\r\n\r\n'Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(Excel,Word,PowerPoint)\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u7c21\u6613\u7684\u306b\u30c1\u30a7\u30c3\u30af\r\nIf ChkRunningOfficeApp() Then\r\n  MsgBox &quot;Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(Excel,Word,PowerPoint)\u3092\u7d42\u4e86\u3057\u3066\u304b\u3089\u518d\u5ea6\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nEnd If\r\n\r\n'\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u30fb\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u8a2d\u5b9a\r\nShareName = InputBox(&quot;\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u540d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot; &amp; vbCrLf &amp; vbCrLf &amp; &quot;\u4f8b:&#x5B;\\\\192.168.1.1\\MyFolder]\u3068\u3044\u3046\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5834\u5408&#x5B;MyFolder]\u306e\u90e8\u5206\u304c\u5171\u6709\u540d\u306b\u306a\u308a\u307e\u3059\u3002&quot;)\r\nIf Len(Trim(ShareName)) &lt; 1 Then WScript.Quit\r\nIf ChkStr(ShareName) Then\r\n  MsgBox &quot;\u5171\u6709\u540d\u306b\u534a\u89d2\u82f1\u6570\u5b57\u4ee5\u5916\u3092\u4f7f\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002&quot; &amp; vbCrLf &amp; &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nEnd If\r\nIf IsSharedFolderExists(ShareName) Then\r\n  MsgBox &quot;\u5171\u6709\u540d&#x5B;&quot; &amp; ShareName &amp; &quot;]\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002&quot; &amp; vbCrLf &amp; &quot;\u5225\u306e\u5171\u6709\u540d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nEnd If\r\nIf IsUrlExists(LocalAddress &amp; ShareName) Then\r\n  MsgBox &quot;\u3059\u3067\u306b\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306b&#x5B;&quot; &amp; LocalAddress &amp; ShareName &amp; &quot;]\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002&quot; &amp; vbCrLf &amp; &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nEnd If\r\nFolderPath = GetFolderPath(&quot;\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot; &amp; vbCrLf &amp; &quot;\u203b \u9078\u629e\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u306a\u308a\u307e\u3059\u3002&quot;)\r\nIf Len(Trim(FolderPath)) &lt; 1 Then WScript.Quit\r\nUserNm = CreateObject(&quot;WScript.Network&quot;).UserName\r\nSetSharedFolder ShareName, FolderPath, UserNm '\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u8a2d\u5b9a(\u5236\u9650\u30e6\u30fc\u30b6\u30fc\u540d:\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u30fc)\r\nSetCatalogLocation LocalAddress &amp; ShareName\r\n\r\nMsgBox &quot;\u51e6\u7406\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002&quot;, vbInformation + vbSystemModal\r\n\r\n\r\nPrivate Sub SetSharedFolder(ByVal ShareName, ByVal FolderPath, ByVal UserNm)\r\n'\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u8a2d\u5b9a(\u5236\u9650\u30e6\u30fc\u30b6\u30fc\u6570:1)\r\n  Dim com\r\n  \r\n  com = &quot;share &quot;&quot;&quot; &amp; ShareName &amp; ChrW(61) &amp; FolderPath &amp; &quot;&quot;&quot; \/grant:&quot;&quot;&quot; &amp; UserNm &amp; &quot;,full&quot;&quot; \/users:1&quot;\r\n  CreateObject(&quot;Shell.Application&quot;).ShellExecute &quot;net&quot;, com, &quot;&quot;, &quot;runas&quot;\r\nEnd Sub\r\n\r\nPrivate Sub SetCatalogLocation(ByVal url)\r\n'\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306e\u30a2\u30c9\u30ec\u30b9\u8a2d\u5b9a\r\n  Dim guid\r\n  Const KeyName = &quot;HKCU\\Software\\Microsoft\\Office\\15.0\\WEF\\TrustedCatalogs\\&quot;\r\n  \r\n  guid = GetGUID()\r\n  'MsgBox guid '\u78ba\u8a8d\u7528\r\n  UncheckFlags\r\n  With CreateObject(&quot;WScript.Shell&quot;)\r\n    .RegWrite KeyName &amp; guid &amp; ChrW(92) &amp; &quot;Flags&quot;, 1, &quot;REG_DWORD&quot;\r\n    .RegWrite KeyName &amp; guid &amp; ChrW(92) &amp; &quot;Id&quot;, guid, &quot;REG_SZ&quot;\r\n    .RegWrite KeyName &amp; guid &amp; ChrW(92) &amp; &quot;Url&quot;, url, &quot;REG_SZ&quot;\r\n  End With\r\nEnd Sub\r\n\r\nPrivate Sub UncheckFlags()\r\n'&#x5B;\u30e1\u30cb\u30e5\u30fc\u306b\u8868\u793a\u3059\u308b]\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059\r\n  Dim reg\r\n  Dim keys\r\n  Dim rn, rt\r\n  Dim v\r\n  Dim i, j\r\n  Const HKEY_CURRENT_USER = &amp;H80000001\r\n  Const SubKeyName = &quot;Software\\Microsoft\\Office\\15.0\\WEF\\TrustedCatalogs&quot;\r\n  \r\n  Set reg = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer(, &quot;root\\default&quot;).Get(&quot;StdRegProv&quot;)\r\n  reg.EnumKey HKEY_CURRENT_USER, SubKeyName, keys\r\n  If Not IsNull(keys) Then\r\n    For i = LBound(keys) To UBound(keys)\r\n      reg.EnumValues HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn, rt\r\n      For j = LBound(rn) To UBound(rn)\r\n        If LCase(rn(j)) = &quot;flags&quot; Then\r\n          reg.GetDWORDValue HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn(j), v\r\n          Select Case CLng(v)\r\n            Case 1: reg.SetDWORDValue HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn(j), 0\r\n          End Select\r\n          Exit For\r\n        End If\r\n      Next\r\n    Next\r\n  End If\r\nEnd Sub\r\n\r\nPrivate Function ChkRunningOfficeApp()\r\n'Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u30c1\u30a7\u30c3\u30af\r\n  Dim ex, wd, pp\r\n  Dim ret\r\n  \r\n  Set ex = Nothing: Set wd = Nothing: Set pp = Nothing: ret = False '\u521d\u671f\u5316\r\n  On Error Resume Next\r\n  Set ex = GetObject(, &quot;Excel.Application&quot;)\r\n  Set wd = GetObject(, &quot;Word.Application&quot;)\r\n  Set pp = GetObject(, &quot;PowerPoint.Application&quot;)\r\n  On Error GoTo 0\r\n  If Not ex Is Nothing Then ret = True\r\n  If Not wd Is Nothing Then ret = True\r\n  If Not pp Is Nothing Then ret = True\r\n  ChkRunningOfficeApp = ret\r\nEnd Function\r\n\r\nPrivate Function ChkStr(ByVal Str)\r\n'\u534a\u89d2\u82f1\u6570\u5b57\u30c1\u30a7\u30c3\u30af\r\n  Dim ret\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  With CreateObject(&quot;VBScript.RegExp&quot;)\r\n    .IgnoreCase = True\r\n    .Global = True\r\n    .Pattern = &quot;&#x5B;^a-zA-Z0-9]&quot;\r\n    If .Test(Str) Then ret = True\r\n  End With\r\n  ChkStr = ret\r\nEnd Function\r\n\r\nPrivate Function GetFolderPath(ByVal DlgTitle)\r\n'\u30d5\u30a9\u30eb\u30c0\u30fc\u9078\u629e\r\n  Dim ret\r\n  Dim f\r\n  Const ssfDESKTOPDIRECTORY = &amp;H10\r\n  \r\n  ret = &quot;&quot;: Set f = Nothing '\u521d\u671f\u5316\r\n  With CreateObject(&quot;Shell.Application&quot;)\r\n    Set f = .BrowseForFolder(0, DlgTitle, &amp;H1 + &amp;H10, .Namespace(ssfDESKTOPDIRECTORY).Self.Path)\r\n    If Not f Is Nothing Then\r\n      ret = f.Self.Path\r\n      If Right(ret, 1) = ChrW(92) Then ret = Left(ret, Len(ret) - 1)\r\n    End If\r\n  End With\r\n  GetFolderPath = ret\r\nEnd Function\r\n\r\nPrivate Function IsSharedFolderExists(ByVal ShareName)\r\n'\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\r\n  Dim ret\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  If CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer.ExecQuery(&quot;Select * From Win32_Share Where Name = '&quot; &amp; ShareName &amp; &quot;'&quot;).Count &gt; 0 Then ret = True\r\n  IsSharedFolderExists = ret\r\nEnd Function\r\n\r\nPrivate Function IsUrlExists(ByVal url)\r\n'\u30ec\u30b8\u30b9\u30c8\u30ea\u30fc\u306b\u3059\u3067\u306bURL\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\r\n  Dim ret\r\n  Dim reg\r\n  Dim keys\r\n  Dim rn, rt\r\n  Dim v\r\n  Dim i, j\r\n  Const HKEY_CURRENT_USER = &amp;H80000001\r\n  Const SubKeyName = &quot;Software\\Microsoft\\Office\\15.0\\WEF\\TrustedCatalogs&quot;\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  Set reg = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer(, &quot;root\\default&quot;).Get(&quot;StdRegProv&quot;)\r\n  reg.EnumKey HKEY_CURRENT_USER, SubKeyName, keys\r\n  If Not IsNull(keys) Then\r\n    For i = LBound(keys) To UBound(keys)\r\n      reg.EnumValues HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn, rt\r\n      For j = LBound(rn) To UBound(rn)\r\n        If LCase(rn(j)) = &quot;url&quot; Then\r\n          reg.GetStringValue HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn(j), v\r\n          If v = url Then\r\n            ret = True\r\n            Exit For\r\n          End If\r\n        End If\r\n      Next\r\n    Next\r\n  End If\r\n  IsUrlExists = ret\r\nEnd Function\r\n\r\nPrivate Function GetGUID()\r\n'GUID\u751f\u6210\r\n  GetGUID = ChrW(123) &amp; Mid(CreateObject(&quot;Scriptlet.TypeLib&quot;).GUID, 2, 36) &amp; ChrW(125)\r\nEnd Function<\/pre>\n<p>\u4f7f\u3044\u65b9\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3001\u4e0a\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068PC\u5185\u306e\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u3057\u3066\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0<\/span>\u300d\u306b\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u540d\u3092\u5165\u529b\u3057\u307e\u3059(\u534a\u89d2\u82f1\u6570\u5b57\u306e\u307f)\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01-300x118.jpg\" alt=\"\" title=\"Office2013_31_01\" width=\"300\" height=\"118\" class=\"alignnone size-medium wp-image-2641\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01-300x118.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01-290x114.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01-150x59.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_01.jpg 363w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<li>Office \u7528\u30a2\u30d7\u30ea\u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u629e\u3057\u307e\u3059(<span style=\"color: #ff0000; font-weight: bold;\">\u203b \u3053\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u306a\u308a\u307e\u3059<\/span>)\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02-249x300.jpg\" alt=\"\" title=\"Office2013_31_02\" width=\"249\" height=\"300\" class=\"alignnone size-medium wp-image-2642\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02-249x300.jpg 249w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02-290x348.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02-124x150.jpg 124w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_02.jpg 387w\" sizes=\"auto, (max-width: 249px) 100vw, 249px\" \/><\/a><\/p>\n<li>\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u8a2d\u5b9a\u6642\u306b\u30e6\u30fc\u30b6\u30fc \u30a2\u30ab\u30a6\u30f3\u30c8\u5236\u5fa1\u306e\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u306f\u3044<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5909\u66f4\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_03.jpg\" alt=\"\" title=\"Office2013_31_03\" width=\"228\" height=\"181\" class=\"alignnone size-full wp-image-2643\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_03.jpg 228w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_03-150x119.jpg 150w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/><\/a><\/p>\n<li>Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u3092\u958b\u304f\u3068\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0<\/span>\u300d\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u8a2d\u5b9a\u3057\u305f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04-300x216.jpg\" alt=\"\" title=\"Office2013_31_04\" width=\"300\" height=\"216\" class=\"alignnone size-medium wp-image-2644\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04-300x216.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04-290x209.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04-150x108.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_04.jpg 950w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/ol>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u308a\u30e6\u30fc\u30b6\u30fc\u74b0\u5883\u306b\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u3001\u30ab\u30bf\u30ed\u30b0\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u7528\u610f\u3067\u304d\u308b\u306e\u3067\u3001\u30a2\u30d7\u30ea\u958b\u767a\u8005\u306f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4fdd\u5b58\u3057\u3066\u3082\u3089\u3046\u3060\u3051\u3067\u30a2\u30d7\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3082\u3089\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u308f\u3051\u3067\u3059(\u3082\u3061\u308d\u3093\u30a2\u30d7\u30ea\u672c\u4f53\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u5225\u9014Web\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u5fc5\u8981\u306b\u306a\u308b\u308f\u3051\u3067\u3059\u304c\u2026)\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306a\u52d5\u4f5c\u306f\u5b9f\u969b\u306b\u52d5\u304b\u3057\u3066\u307f\u308b\u306e\u304c\u4e00\u756a\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u3001\u79c1\u306e\u65b9\u3067\u30b5\u30f3\u30d7\u30eb\u7528\u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4><a href=\"http:\/\/afo.devel.jp\/apps\/sample.xml\" target=\"_blank\">\u25a0 sample.xml<\/a><\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;OfficeApp xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/appforoffice\/1.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:type=&quot;TaskPaneApp&quot;&gt;\r\n  &lt;Id&gt;17c52bc6-b5a9-4196-a80a-0a87470a4fb5&lt;\/Id&gt;\r\n  &lt;Version&gt;1.0&lt;\/Version&gt;\r\n  &lt;ProviderName&gt;kinuasa&lt;\/ProviderName&gt;\r\n  &lt;DefaultLocale&gt;ja-JP&lt;\/DefaultLocale&gt;\r\n  &lt;DisplayName DefaultValue=&quot;\u52d5\u4f5c\u78ba\u8a8d\u7528Office\u7528\u30a2\u30d7\u30ea&quot; \/&gt;\r\n  &lt;Description DefaultValue=&quot;\u52d5\u4f5c\u78ba\u8a8d\u7528\u306eOffice \u7528\u30a2\u30d7\u30ea\u3067\u3059\u3002&quot;\/&gt;\r\n  &lt;Capabilities&gt;\r\n    &lt;Capability Name=&quot;Document&quot; \/&gt;\r\n    &lt;Capability Name=&quot;Workbook&quot; \/&gt;\r\n    &lt;Capability Name=&quot;Presentation&quot; \/&gt;\r\n  &lt;\/Capabilities&gt;\r\n  &lt;DefaultSettings&gt;\r\n    &lt;SourceLocation DefaultValue=&quot;http:\/\/afo.devel.jp\/apps\/sample.html&quot; \/&gt;\r\n  &lt;\/DefaultSettings&gt;\r\n  &lt;Permissions&gt;ReadWriteDocument&lt;\/Permissions&gt;\r\n&lt;\/OfficeApp&gt;<\/pre>\n<p>\u4e0a\u8a18\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092&#8221;<span style=\"color: #ff0000; font-weight: bold;\">SetAfoTrustedCatalogs.vbs<\/span>&#8220;\u3067\u7528\u610f\u3057\u305f\u30ab\u30bf\u30ed\u30b0\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4fdd\u5b58\u3057\u305f\u5f8c\u3001Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(Excel,Word,PowerPoint)\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u633f\u5165\u30bf\u30d6\u306e\u300c<span style=\"color: #ff0000; font-weight: bold;\">Office \u7528\u30a2\u30d7\u30ea<\/span>\u300d\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u52d5\u4f5c\u78ba\u8a8d\u7528Office\u7528\u30a2\u30d7\u30ea<\/span>\u300d\u304c\u633f\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05-300x189.jpg\" alt=\"\" title=\"Office2013_31_05\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-2645\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05-300x189.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05-290x183.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05-150x94.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_05.jpg 697w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06-300x191.jpg\" alt=\"\" title=\"Office2013_31_06\" width=\"300\" height=\"191\" class=\"alignnone size-medium wp-image-2646\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06-300x191.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06-1024x654.jpg 1024w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06-290x185.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06-150x95.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_31_06.jpg 1035w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001\u3053\u3053\u3067\u306fOffice \u7528\u30a2\u30d7\u30ea\u306e\u6240\u8b02&#8221;<a href=\"http:\/\/www.sophia-it.com\/content\/%E9%87%8E%E8%89%AF%E3%82%A2%E3%83%97%E3%83%AA\" title=\"\u91ce\u826f\u30a2\u30d7\u30ea\" target=\"_blank\">\u91ce\u826f\u30a2\u30d7\u30ea<\/a>&#8220;\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001<span style=\"color:#ff0000;font-size:16pt;\">\u91ce\u826f\u30a2\u30d7\u30ea\u306f\u3042\u304f\u307e\u3067\u3082\u91ce\u826f\u3001\u516c\u5f0f\u306b\u8a8d\u53ef\u30fb\u7f72\u540d\u3055\u308c\u305f\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u305d\u306e\u5229\u7528\u306f\u81ea\u5df1\u8cac\u4efb\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u958b\u767a\u8005\u5074\u3082\u3001\u30a2\u30d7\u30ea\u3092\u914d\u5e03\u3059\u308b\u969b\u306b\u306f\u306a\u308b\u3079\u304f\u306a\u3089\u516c\u5f0f\u306b\u7528\u610f\u3055\u308c\u305f\u65b9\u6cd5\u3092\u7528\u3044\u305f\u65b9\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u8ca9\u58f2\u8005\u767b\u9332\u3084\u30a2\u30d7\u30ea\u306e\u5be9\u67fb\u3068\u3044\u3063\u305f\u9762\u5012\u306a\u624b\u9593\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001&#8221;<span style=\"color: #ff0000; font-weight: bold;\">Microsoft\u304c\u30c6\u30b9\u30c8\u3057\u3066\u7f72\u540d\u3057\u305f\u30a2\u30d7\u30ea<\/span>&#8220;\u3068\u3044\u3046\u304a\u58a8\u4ed8\u304d\u304c\u5f97\u3089\u308c\u308b\u30e1\u30ea\u30c3\u30c8\u306f\u5927\u304d\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u79c1\u304c\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u306f\u3001\u30a2\u30d7\u30ea\u3092\u914d\u5e03\u3059\u308b\u306e\u306b\u3053\u3046\u3044\u3063\u305f\u65b9\u6cd5\u3082\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3044\u3046\u3001\u30cb\u30c3\u30c1\u3067\u9699\u9593\u7684\u306a\u624b\u6cd5\u306b\u904e\u304e\u307e\u305b\u3093\u304c\u3001\u3069\u306a\u305f\u304b\u306e\u304a\u5f79\u306b\u7acb\u3066\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea \u30ab\u30bf\u30ed\u30b0\u306b\u8ffd\u52a0\u3059\u308b&#8221;<span style=\"color: #ff0000; font-weight: bold;\">SetAfoTrustedCatalogs.vbs<\/span>&#8220;\u30d5\u30a1\u30a4\u30eb\u3068\u306f\u9006\u306b\u30a2\u30d7\u30ea\u30ab\u30bf\u30ed\u30b0\u306e\u767b\u9332\u3068\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u3092\u89e3\u9664\u3059\u308b\u300c<span style=\"color: #ff0000; font-weight: bold;\">DelAfoTrustedCatalogs.vbs<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u3082\u4e0b\u8a18\u30ea\u30f3\u30af\u306b\u7528\u610f\u3057\u307e\u3057\u305f\u306e\u3067\u5408\u308f\u305b\u3066\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4><a href=\"http:\/\/afo.devel.jp\/scripts\/DelAfoTrustedCatalogs.vbs\" target=\"_blank\">\u25a0 DelAfoTrustedCatalogs.vbs<\/a><\/h4>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">'*********************************************************************\r\n' &#x5B;Office 2013]\u4fe1\u983c\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30ab\u30bf\u30ed\u30b0\u306e\u30a2\u30c9\u30ec\u30b9\u524a\u9664\u30b9\u30af\u30ea\u30d7\u30c8\r\n'   - \u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u6307\u5b9a -&gt; \u30a2\u30d7\u30ea\u30ab\u30bf\u30ed\u30b0\u304b\u3089\u30a2\u30c9\u30ec\u30b9\u524a\u9664,\r\n'                             \u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u89e3\u9664\r\n'\r\n' Author    : kinuasa\r\n' Date      : 2013\/01\/24\r\n' Version   : 1.00\r\n'*********************************************************************\r\n\r\nOption Explicit\r\n\r\nDim FolderPath  '\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u30fc\u30d1\u30b9\r\nDim tmp\r\nDim itms, itm\r\nConst LocalAddress = &quot;\\\\127.0.0.1\\&quot;\r\n\r\n'Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(Excel,Word,PowerPoint)\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u7c21\u6613\u7684\u306b\u30c1\u30a7\u30c3\u30af\r\nIf ChkRunningOfficeApp() Then\r\n  MsgBox &quot;Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(Excel,Word,PowerPoint)\u3092\u7d42\u4e86\u3057\u3066\u304b\u3089\u518d\u5ea6\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nEnd If\r\n\r\n'\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306e\u767b\u9332\u3068\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u3092\u89e3\u9664\r\nFolderPath = GetFolderPath(&quot;\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u4fdd\u5b58\u7528\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot; &amp; vbCrLf &amp; &quot;\u203b \u9078\u629e\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u305d\u306e\u767b\u9332\u3068\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u304c\u89e3\u9664\u3055\u308c\u307e\u3059\u3002&quot;)\r\nIf Len(Trim(FolderPath)) &lt; 1 Then WScript.Quit\r\ntmp = Replace(FolderPath, ChrW(92), ChrW(92) &amp; ChrW(92))\r\nSet itms = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer.ExecQuery(&quot;Select * From Win32_Share Where Path = '&quot; &amp; tmp &amp; &quot;'&quot;)\r\nIf itms.Count &gt; 0 Then\r\n  For Each itm In itms\r\n    DelCatalogUrl LocalAddress &amp; itm.Name\r\n    DelSharedFolder itm.Name\r\n  Next\r\n  MsgBox &quot;\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306e\u767b\u9332\u3068\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u3092\u89e3\u9664\u3057\u307e\u3057\u305f\u3002&quot;, vbInformation + vbSystemModal\r\nElse\r\n  MsgBox &quot;\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002&quot; &amp; vbCrLf &amp; &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, vbExclamation + vbSystemModal\r\nEnd If\r\n\r\n\r\nPrivate Sub DelCatalogUrl(ByVal url)\r\n'\u4fe1\u983c\u3067\u304d\u308b\u30ab\u30bf\u30ed\u30b0\u306bURL\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308c\u3070\u30ec\u30b8\u30b9\u30c8\u30ea\u30ad\u30fc\u3092\u524a\u9664\r\n  Dim ret\r\n  Dim reg\r\n  Dim keys\r\n  Dim rn, rt\r\n  Dim v\r\n  Dim i, j\r\n  Const HKEY_CURRENT_USER = &amp;H80000001\r\n  Const SubKeyName = &quot;Software\\Microsoft\\Office\\15.0\\WEF\\TrustedCatalogs&quot;\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  Set reg = CreateObject(&quot;WbemScripting.SWbemLocator&quot;).ConnectServer(, &quot;root\\default&quot;).Get(&quot;StdRegProv&quot;)\r\n  reg.EnumKey HKEY_CURRENT_USER, SubKeyName, keys\r\n  If Not IsNull(keys) Then\r\n    For i = LBound(keys) To UBound(keys)\r\n      reg.EnumValues HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn, rt\r\n      For j = LBound(rn) To UBound(rn)\r\n        If LCase(rn(j)) = &quot;url&quot; Then\r\n          reg.GetStringValue HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i), rn(j), v\r\n          If v = url Then\r\n            reg.DeleteKey HKEY_CURRENT_USER, SubKeyName &amp; ChrW(92) &amp; keys(i)\r\n            Exit Sub\r\n          End If\r\n        End If\r\n      Next\r\n    Next\r\n  End If\r\nEnd Sub\r\n\r\nPrivate Sub DelSharedFolder(ByVal ShareName)\r\n'\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5171\u6709\u8a2d\u5b9a\u89e3\u9664\r\n  Dim com\r\n  \r\n  com = &quot;share &quot;&quot;&quot; &amp; ShareName &amp; &quot;&quot;&quot; \/delete&quot;\r\n  CreateObject(&quot;Shell.Application&quot;).ShellExecute &quot;net&quot;, com, &quot;&quot;, &quot;runas&quot;\r\nEnd Sub\r\n\r\nPrivate Function ChkRunningOfficeApp()\r\n'Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u30c1\u30a7\u30c3\u30af\r\n  Dim ex, wd, pp\r\n  Dim ret\r\n  \r\n  Set ex = Nothing: Set wd = Nothing: Set pp = Nothing: ret = False '\u521d\u671f\u5316\r\n  On Error Resume Next\r\n  Set ex = GetObject(, &quot;Excel.Application&quot;)\r\n  Set wd = GetObject(, &quot;Word.Application&quot;)\r\n  Set pp = GetObject(, &quot;PowerPoint.Application&quot;)\r\n  On Error GoTo 0\r\n  If Not ex Is Nothing Then ret = True\r\n  If Not wd Is Nothing Then ret = True\r\n  If Not pp Is Nothing Then ret = True\r\n  ChkRunningOfficeApp = ret\r\nEnd Function\r\n\r\nPrivate Function GetFolderPath(ByVal DlgTitle)\r\n'\u30d5\u30a9\u30eb\u30c0\u30fc\u9078\u629e\r\n  Dim ret\r\n  Dim f\r\n  Const ssfDESKTOPDIRECTORY = &amp;H10\r\n  \r\n  ret = &quot;&quot;: Set f = Nothing '\u521d\u671f\u5316\r\n  With CreateObject(&quot;Shell.Application&quot;)\r\n    Set f = .BrowseForFolder(0, DlgTitle, &amp;H1 + &amp;H10, .Namespace(ssfDESKTOPDIRECTORY).Self.Path)\r\n    If Not f Is Nothing Then\r\n      ret = f.Self.Path\r\n      If Right(ret, 1) = ChrW(92) Then ret = Left(ret, Len(ret) - 1)\r\n    End If\r\n  End With\r\n  GetFolderPath = ret\r\nEnd Function<\/pre>\n","protected":false},"excerpt":{"rendered":"\u300cOffice \u7528\u30a2\u30d7\u30ea\u306e\u6982\u8981\u300d\u306b\u3082\u3042\u308b\u901a\u308a\u3001Office\u7528\u30a2\u30d7\u30ea\u3092\u516c\u958b\u30fb\u914d\u5e03\u3059\u308b\u306b\u306f\u4e0b\u8a184\u3064\u306e\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[130,4,79],"tags":[74,77],"class_list":["post-2628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013","tag-office-2013","tag-apps-for-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-Go","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2628"}],"version-history":[{"count":19,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2628\/revisions"}],"predecessor-version":[{"id":3513,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2628\/revisions\/3513"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}