Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
set window size in vbscript
Dim LaunchDir, FSO, WSHShell, strPDFFile
Set FSO = CreateObject("Scripting.FileSystemObject")
Set WSHShell = WScript.CreateObject("WScript.Shell")
If FSO.FileExists("\\Server-HQ\PUBLIC\SCRIPT\goal.pdf") Then
strPDFFile = "\\server-hq\public\script\goal.pdf"
strPDFFile = Chr(34) & strPDFFile & Chr(34)
wSHShell.Run strPDFFile
End If
Thank you in advance
Mike