TIP: Click on subject to list as thread! ANSI
echo: ms_word
to: ROGER MCDOWALL
from: MAGGIE INNES
date: 1997-01-02 10:58:00
subject: Error 1078 - Normal.dot

This Information me be helpful with your Error.
This file could not be found (Normal.dot)
The information in this article applies to:  - Microsoft Word for Windows 95, 
version 7.0
---------------------------------------- 
SYnMPTOMS======== When you run a macro that includes the ChDir WordBasic 
command, you get thefollowing error message   
 Microsoft Word Err=1078   This file could not be found  where 
 represents the name of the document you are trying toopen.
 CAUSE===== The following macro fails because the ChDir command does not 
recognize a universal naming convention (UNC) path.
 Sub MainChdir "\\Servername\Shared"FileOpen "default.doc"End Sub 
STATUS====== Microsoft has confirmed this to be a problem in Word for Windows 
95,version 7.0. Microsoft is researching this problem and will post 
newinformation here in the Microsoft Knowledge Base as it becomes available.
 RESOLUTION========== Use the following WordBasic macro to access the UNC 
path. You can thenchange to the folder and select your file.
 The macro uses the Windows APISetCurrentDirectoryA function to change the 
folder.
 Note: TheSetCurrentDirectoryA function name is case sensitive. Declare Sub 
ChDirUNC Lib "kernel32" Alias "SetCurrentDirectoryA"(Path$)Sub MAINS = 
ChDirUNC("\\servername\shared")ChDir "\\servername\shared"FileOpen 
"default.doc"End Sub 
---
---------------
* Origin: Melbourne PC User Group BBS (3:632/309)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.