Article View: microsoft.public.vb.bugs
Article #52Re: "Access denied" while opening a Winword file
From: Martin Bembenek
Date: Tue, 12 May 1998 00:00
Date: Tue, 12 May 1998 00:00
63 lines
2979 bytes
2979 bytes
Ich denke, da� eines der Dokumente im Zugriff ist, d.h. es wird versucht eine existierende Datei zu �berschreiben, welche bereits ge�ffnet ist, oder das Verzeichnis befindet sich auf einem NTFS Laufwerk und die notwendigen Schreibrechte sind nicht vorhanden. -- mailto:mbe@logicsystems.de ************************************************* logic systems GmbH Universit�tsstr. 142 D-44799 Bochum Germany Medica 19.11. - 21.11.1998 in D�sseldorf ************************************************* http://www.logicsystems.de Anja Odenthal <Anja.Odenthal@inf-wiss.uni-konstanz.de> schrieb im Beitrag <3558631B.8F713042@inf-wiss.uni-konstanz.de>... > Hello out there, > > a friend asked me to post this question for him: > > -------------------------------------------------------------- > last time I tried out a sample code which I have seen in a > Visual Basic book. It just starts a Word-session opens a new file, > writes some Data and then saves the file. Its exactly this: > > Dim myWord As New Word.Application > myWord.Documents.Add > myWord.Selection.Font.Size = 20 > myWord.Selection.TypeText "Hello World" > myWord.ActiveDocument.SaveAs "c:\temp\newdoc.doc" > myWord.Quit > > The program run on some machines. But I have 2 machines on which I > get the error message: > > "access denied" > > when "myWord.Documents.Add" is to be executed. > The same phenomenon appears with excel. > > What�s wrong with my machine??? Can somebody help me please. > ------------------------------------------------------------- > > Please mail me your answer(s) - I don't read this newsgroups regularly. > > Thanks in advance! > > Anja > > --------------------------------------------------- > Dipl. Inf-Wiss. Anja Odenthal > Universitaet Konstanz, Fachbereich Informationswissenschaft > Tel.: (07531) 88-2870 WWW: http://www.inf-wiss.uni-konstanz.de > Fax: (07531) 88-2601 email: Anja.Odenthal@inf-wiss.uni-konstanz.de > --------------------------------------------------------------------------- > >
Technical Details
Message-ID:
<01bd7de7$3d8cd8c0$02e1a8c0@mbe.LS-DOMAIN-1>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3558631B.8F713042@inf-wiss.uni-konstanz.de>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: 107824,a1c38a9ded3e0074 X-Google-Attributes: gid107824,public X-Google-Thread: 105c2e,a1c38a9ded3e0074 X-Google-Attributes: gid105c2e,public X-Google-Thread: 10644a,a1c38a9ded3e0074 X-Google-Attributes: gid10644a,public X-Google-Thread: fde1d,a1c38a9ded3e0074 X-Google-Attributes: gidfde1d,public X-Google-Thread: f7a67,a1c38a9ded3e0074 X-Google-Attributes: gidf7a67,public From: "Martin Bembenek" <mbe@logicsystems.de> Subject: Re: "Access denied" while opening a Winword file Date: 1998/05/12 Message-ID: <01bd7de7$3d8cd8c0$02e1a8c0@mbe.LS-DOMAIN-1> X-Deja-AN: 352660179 References: <3558631B.8F713042@inf-wiss.uni-konstanz.de> Organization: logic systems GmbH Newsgroups: microsoft.public.vb.bugs,microsoft.public.vb.ole,microsoft.public.de.vb,fj.lang.visualbasic,fj.comp.lang.visualbasic