Cindy
Mon May 09 12:33:53 CDT 2005
Hi Ahmad,
> I have seen that sometimes there is a document Opened into Word and Word
> Crashes due to any reason and when I run a new instance of Word I can see a
> Docable window with Caption "Document Recovery" displayed on left hand side
> of the document. I want to know:
>
> 1: What type of window is this?
> 2: Can I access it?
> 3: Can I create my own docable window like this one using VBA.
>
Such a window is called a "task pane". Word 2002 and 2003 use these for a
number of tasks, such as Styles and Formatting and MailMerge.
You can't access this particular task pane, although you can display and, to a
limited extent, work with some of the other built-in ones. You should find an
article on this at the word.mvps.org site. Author is Steve Hudson.
You cannot create your own task panes using VBA. You can create a "Document
actions" taskpane as part of a SmartDocument solution (search that on msdn),
which requires programming a COM DLL using classic VB, .NET, Delphi or
something similar. I think you can create them using the Information Bridge
(also MSDN) and with VSTO 2005 (currently in beta).
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)