I am getting an error "could not open macro storage" when trying to open a docx file using vb.net (3.5). It works on some machines but not others. For example it errors on a windows 7 machine running office 2010.
Heres the line of code that causes the problem:-
I have tried:
1. Renaming the normal.dotm file.
2. Running my program as administrator.
3. Moving the docx file onto the local machine.
None of this has worked.
Any ideas?
Heres the line of code that causes the problem:-
VB.NET:
pDoc = mWordApp.Documents.Add(pFilepath)
I have tried:
1. Renaming the normal.dotm file.
2. Running my program as administrator.
3. Moving the docx file onto the local machine.
None of this has worked.
Any ideas?