How to work with a file through the VBScript?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
nesnera
Newbie
Newbie
Posts: 3
Joined: Sat Aug 09, 2008 3:19 am

How to work with a file through the VBScript?

Post by nesnera »

I have same script with generates a MS Word document based on a data in a Lotus Notes database. I can run Word from Lotus Notes well but I have a problem to open a Word document. This code

Code: Select all

Set myDoc = myWord.Documents.Open("C:\windows\temp\test.doc")
causes this error prompt. ("Could not open macro storage." or so ;?)).

Do you have any idea what is wrong? Bash command

Code: Select all

wine "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" "C:\windows\temp\test.doc"
works well :?
Locked