Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Changing the directory of an Open/Save dialog from ANOTHER app ?

This question is kinda hard: I need to change the directory of an Open/Save dialog (standard Windows dialogs) of an other running application (so NOT my own). Is this possible ?
0
dms@
Asked:
dms@
1 Solution
 
ronit051397Commented:
OpenDialog.InitialDir:='c:\something...';
0
 
dms@Author Commented:
That's not what I mean. I want to change the directory of an open/save dialog box of an OTHER application than my own !
0
 
mirek071497Commented:
This other application is You'r ?

If both is You'r you can send message to the other.

If the second is not you'r then this is possible only for some application and for only some users (Win NT you must have Debug privilages).
This is dangerous for the other application so i think that you'r problem need be resolved in another way.
0
 
iainmageeCommented:
I'm not sure exactly what you mean. Do you want to change the directory while the Open dialog is actually open. Or do you just want to set a default directory for the dialog.

If it's the former (which I suspect it is) then one way is to use a keyboard hook in order to actually send characters to the open dialog box. I've recently done this under a slightly different scenario, where I was sending a telephone number and settings to a comms package. You can send control codes to activate menus etc etc.

It's not going to be easy though, and I think the 'try another way' comment from mirek might be worth considering ;-)

Good luck though,

Iain
0
 
dms@Author Commented:
How can I send characters to the dialogbox by a keyboardhook ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now