First of all you have to add bookmark in word document at the location you want your image to be inserted. Then use the following code:
myoleobject = CREATE OLEObject
myoleobject1 = CREATE OLEObject
myoleobject2 = CREATE OLEObject...
If you execute the following command then I master transaction log will not be used.
exec sp_diskdefault 'master', 'defaultoff'
exec sp_diskdefault 'your_db_name', 'defaulton'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.