[GGH4.X] 拡張パックの GGPdfPrint をActiveXクライアントへ組み込む方法は?
技術ノート
2015/01/16
[番号]
技術ノート KGTN 2014122601
[現象]
[GGH4.X] 拡張パックの GGPdfPrint をActiveXクライアントへ組み込む方法は?
[説明]
GGPdfPrint の2つのファイル pdfprint.exe と pdfprint.ini が置かれたフォルダで,下記の内容のファイルInstallAC.vbs を作成し,それを実行して下さい.
Option Explicit
Dim objShell, objFso
Dim windir
'---
Set objShell = WScript.CreateObject("WScript.Shell")
Set objFso = CreateObject("Scripting.FileSystemObject")
windir = objShell.ExpandEnvironmentStrings("%WINDIR%")
'---
objFso.CopyFile "pdfprint.exe", windir&"\Downloaded Program Files\pdfprint.exe", True
objFso.CopyFile "pdfprint.ini", windir&"\Downloaded Program Files\pdfprint.ini", True
'---
Set objShell = Nothing
Set objFso = Nothing
'---