Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
developer
active.documents
automation
binary.file_format
clipboard.dde
com.add_ins
hosting.controls
internet_other
office.sdks
officedev
officedev.other
outlook.forms
outlook.vba
smarttags
vba
web.components
  
 
date: Wed, 21 May 2008 05:48:01 -0700,    group: microsoft.public.office.developer.vba        back       


Repressing Word alerts   
Hi all,
I'm developing an application that reads downloaded .doc files from the 
filesystem.  Occasionally one of these files, when attempting to open with 
word, cause it to crash.  This leads to 2 situations in which I get alerts:

1.When word crashes and asks what to do (alert asks if to send error report 
and if to restart word?)
2.If I try opening the file again at a later time (alert asks if I really 
want to open this file, which causes "serious damage" last time it was opened)

  I would like to know if I can somehow repress these alerts, preferrably by 
giving them predetermined answers.

  I am using VS2008 with framework 3.5 (though I don't think that makes much 
of a difference), and am working with the Microsoft office Primary Interop 
Assembly (path ends in Visual Studio Tools for 
Office\PIA\Office12\Microsoft.Office.Interop.Word.dll).  I'm working in a 
class library.
date: Wed, 21 May 2008 05:48:01 -0700   author:   joniba

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us