Right click in windows explorer => folder ?

boisbaudry

New member
Local time
Today, 12:14
Joined
Oct 10, 2008
Messages
4
Hello,

Under Windows explorer, when I right click on a file, I want that my Access application (which is in a contectual menu) once loaded, give me the path of the file. How can I do ?

Any idea ?
 
what for? what purpose? to copy? opening this from the access file picker? more info!
 
Why don't you just set "display path in the title bar" in your windows explorer options? Otherwise, you'll need to do a registry hack (no, I don't know how to do it).
 
When I right click on a mdb file, in windows explorer, I can load an Access application which can extract the embeded jpeg of this file (an utility of Lebans called ExportOLEtoJpeg).

My only problem is : how to pick up the name of the folder of the mdf file on which I have right clicked.

Nobody launch Access applications from the context menu of Windows explorer ?


Sorry for my english, I hope you can understand me !
 
Last edited:
It is quite difficult to understand what you are doing. If you need to add an application to the context menu, put that application in the user's "Send To" folder.
 
Yes, I'll try to be more clear :

Under windows explorer, I have put, in a context menu, an Access application "Look.mdb".

When I run windows explorer, If I right click on a file, for exemple "test.mdb", it runs Look.mdb (not test.mdb).

My question is : when Look.mdb run, how can I retrieve the full path of test.mdb ? (curdir doesn't work)

Don't you use Access applications in the context menu of windows explorer ?

Thanks,
 
Well, I believe I understand your question now. At least enough to say I don't know how to resolve it.

I'm particularly fond of a registry hack that allows you to right click on a directory in Windows Explorer and open a DOS window in that directory. Maybe you could reverse engineer something like that to figure out how to pass the directory name?
 
Thank you for your response.

In fact, I search a solution using only MSAccess.

I would like to avoid having to use a back door, like Autoit or VbScript.

Some ideas ?
 

Users who are viewing this thread

Back
Top Bottom