[AccessD] Open and Close Apps

Tony Septav iggy at nanaimo.ark.com
Sun Dec 4 12:49:56 CST 2005


Hey All
No biggy, I am just curious, if anyone else has run  into this.

I have a form in an Access application, that allows the user to browse 
through the folders on a drive and select a file and then click a view 
button to open the appropriate application and view the file. The 
opening and closing of an application/file uses the basic logic supplied 
by Dev Ashish  on his site fHandle (Win_Normal) and FCloseApp.

To avoid clutter on the task bar I have the program OnClick of the View 
button, close the previously viewed file and open the new selected file 
for viewing.

Everything works fine (I have done numerous tests opening and closing 
all types of files). Except for sometimes,  when I  am working with Word 
Documents,

Opened  and displayed on the Task Bar - MyWord1.Doc
New file selected MyWord2.Doc.
The program closes the MyWord1.Doc and then opens and  mysteriously 
closes Word2.Doc.
If I then select MyWord3.Doc , it gets opened up and (somtimes not 
always) displayed  as a tiny frame window in the upper left corner of 
the desktop and  I have to click and drag to resize it to view the contents.

The only thing I can think of that may cause this is sometimes if I 
click on a Word Document displayed on the task bar, it will occasionally 
(very rare) display a message asking if I want to revert to (something 
like) the previous version.






More information about the AccessD mailing list