| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4406EBCE.3030304@bangor.ac.uk> |
| Date: | Thu, 02 Mar 2006 12:57:50 +0000 |
| From: | "P.P.Hughes" <iss05e AT bangor DOT ac DOT uk> |
| User-Agent: | Thunderbird 1.5 (Windows/20051201) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | [Newbie] Trying to run MSWord from Cygwin |
| X-UWB-MailScanner-Information: | Please contact the ISP for more information |
| X-UWB-MailScanner: | Found to be clean |
| X-UWB-MailScanner-SpamCheck: | nid sbam/not spam (goddefadwy/whitelisted), SpamAssassin (sgor/score=0, yn ofynnol/required 4.5, autolearn=disabled) |
| X-UWB-MailScanner-From: | iss05e AT bangor DOT ac DOT uk |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hello,
This is probably a silly question to most you, but here goes:
I'm opening a ssh connection from a Linux box to our Windows Server 2003
which then initiates a Cygwin terminal. I then try and run a vbs script
that opens Word to convert documents from Word to PostScript.
In my vbs script, as soon as it reaches the following line:
Set objWord = CreateObject("Word.Application")
I receive the following error:
C:\cygwin\home\iss05e\autoprint.vbs(6, 1) Microsoft VBScript runtime
error: Permission denied: 'CreateObject'
The user 'iss05e' has Administrative privileges on the Windows machine.
The script works fine if I log into the machine direct and run it
through the command prompt using "cscript autoprint.vbs".
Is there some permissions setting I need to change to allow Cygwin to
run GUI applications?
Apologies if this question is a bit general.
Regards,
Paul
--
----------------------------------------------------------
Paul Hughes
Analyst / Programmer,
University of Wales, Bangor
Adeilad Deiniol, Deiniol Road, Bangor, Gwynedd, LL57 2UX
Tel: 01248 383894
Fax: 0870 135 7057
----------------------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |