View Single Post
  #2  
Old May 9th, 2008, 11:28 AM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default How to open OS window from a form

This may help:

http://www.mvps.org/access/api/api0002.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Peter Hibbs" wrote in message
...
Access 2000, Win XP

I have a form with a Listbox control which shows a list of files in a
particular folder on the Server PC (via a network). I want to be able
to click a button on the form and open a window on the same folder so
that I can move, copy, delete, etc the files in the folder. The full
pathname to the selected folder is stored in a Text box on the form.

In other words, I want the button to simulate the operation of :-
minimizing the Access window, navigating to the folder on the Server
PC and opening a window on the same folder (which is what I have to do
at the moment if I want to change anything in the folder). To return
to the database I can just click on the Access button on the Task Bar.

What code would I need to do this (if it's even possible).

TIA

Peter Hibbs.