> http://www.aspheute.com/artikel/20020122.htm

Danke f�r den Link!
So �hnlich hatte ich das auch...
Ich hab meinen Fehler jetzt soweit eingegrenzt:

Word 2003: (hab ich installiert)
DOC & DOT funktioniert zu �ffnen - alles funktioniert!

Word 97: (haben alle User in der Firma)
DOC funktioniert zu �ffnen!
DOT geht nicht! Das word geht zwar auf, aber es bleibt leer.

Der unterschied zwischen DOC & DOT im script:

function load_word(mode, pfad)
    'mode 0 = normal open
    'mode 1 = open as dot
    Set appWord = CreateObject("Word.Application")
    ' Display the application.
        appWord.WindowState = 0 
        appWord.Height = 600 
        appWord.Width = 800 
        appWord.Left = 40 
        appWord.Top = 20 
    appWord.Visible = TRUE

   ' Open the document.
   ' mode 1 = dot file 0 = docfile
   if mode = 1 then appWord.Documents.Add (pfad) end if
   if mode = 0 then appWord.Documents.Open (pfad) end if
    ' Close the object variable.
    Set appWord = Nothing
end function


Harald
_______________________________________________
Coffeehouse Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an