S
Srini
hi all
I am trying to create a word document , using Microsoft Word 9.0 Object
Library.(MSWORD9.olb). I made a setup file of VB application with follwing
code, using deployment and setup wizard of visual studio.
Dim objApp As Word.Application
Set objApp = New Word.Application
'Start a new Normal template document
Documents.Add
'Format document heading
The code works fine on a system which got Microsoft Word 2000 installed,
whereas when i run this code on a clean system without Microsoft Office /
Word 2000 it gives out error message saying cannot create object of Activex
Component. When i do a research on this problem, i came across this info
saying
"The Package and Deployment Wizard does not recognize the *.olb file
extension as a type library and incorrectly assumes it to be a binary
executable"
from here
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q249/8/43.asp&NoWebContent=1
I need to create a word document on a system where MS - Office will not be
there. How do i do this ? Any help is appreciated
Thanks
Srinivas
I am trying to create a word document , using Microsoft Word 9.0 Object
Library.(MSWORD9.olb). I made a setup file of VB application with follwing
code, using deployment and setup wizard of visual studio.
Dim objApp As Word.Application
Set objApp = New Word.Application
'Start a new Normal template document
Documents.Add
'Format document heading
The code works fine on a system which got Microsoft Word 2000 installed,
whereas when i run this code on a clean system without Microsoft Office /
Word 2000 it gives out error message saying cannot create object of Activex
Component. When i do a research on this problem, i came across this info
saying
"The Package and Deployment Wizard does not recognize the *.olb file
extension as a type library and incorrectly assumes it to be a binary
executable"
from here
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q249/8/43.asp&NoWebContent=1
I need to create a word document on a system where MS - Office will not be
there. How do i do this ? Any help is appreciated
Thanks
Srinivas