🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: microsoft.public.vb.bugs
4 messages
4 total messages Started by Anja Odenthal Tue, 12 May 1998 00:00
"Access denied" while opening a Winword file
#51
Author: Anja Odenthal
Date: Tue, 12 May 1998 00:00
40 lines
2361 bytes
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
---------------------------------------------------------------------------
Re: "Access denied" while opening a Winword file
#52
Author: Martin Bembenek
Date: Tue, 12 May 1998 00:00
63 lines
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
>
---------------------------------------------------------------------------
> 
> 
bitmap pixels
#53
Author: Hrishikesh Aradhye
Date: Wed, 20 May 1998 00:00
12 lines
1290 bytes
I have a grayscale bitmap and I want to convert into a two-dimensional
array of real numbers. Each item in the array corresponds to a pixel in
the bitmap, with 0.0 for black and 1.0 for white.

Can somebody help me out please?

Thanks in advance!

Please reply to my email directly as my access to newgroups is limited.

- Hrishikesh.
Re: bitmap pixels
#50
Author: Koo Lap Chung, James
Date: Fri, 29 May 1998 00:00
21 lines
1495 bytes
You can read the bitmap file as binary file that you can covert the data to
array of integer number.

Hrishikesh Aradhye wrote in message <3562FE05.D1ADF671@osu.edu>...
>I have a grayscale bitmap and I want to convert into a two-dimensional
>array of real numbers. Each item in the array corresponds to a pixel in
>the bitmap, with 0.0 for black and 1.0 for white.
>
>Can somebody help me out please?
>
>Thanks in advance!
>
>Please reply to my email directly as my access to newgroups is limited.
>
>- Hrishikesh.
>
>
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads