G
Garry
I have written a VB program to could the number of words in a Microsoft word
document.
The program works fine on development pc's, but when I installed on a test
machine, it crashes.
In VB, I am including Microsoft word 11.0 object library.
The VB prorgam is :
dim wordapp as new word.application
dim worddoc as new word.document
set worddoc=wordapp.documents.open (MyfileName, , True)
display (worddoc.Words.count-1)
It crashs on the set line.
Any ideas please.
thanks
Garry
document.
The program works fine on development pc's, but when I installed on a test
machine, it crashes.
In VB, I am including Microsoft word 11.0 object library.
The VB prorgam is :
dim wordapp as new word.application
dim worddoc as new word.document
set worddoc=wordapp.documents.open (MyfileName, , True)
display (worddoc.Words.count-1)
It crashs on the set line.
Any ideas please.
thanks
Garry