I am developing a VB application which has to select word files from a directory and its subdirectories, add certain content and save it. This application has to run as batch without any user intervention. the app encounters problem while opening certain files as it throws alerts/message windows like "file is locked for editing by another user...." or "the document caused serious error the last time it was opened..."
the application halts there.
How do i get around this problem.. i tried out setting
wrdapp.AutomationSecurity = msoAutomationSecurityForceDisable
but of no use.. anyone can u help me