RunCommand acCmdInsertObject ', (Default Folder)

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi;

Using A2K.


Have this code in the "On Dbl Click" Event of an "OLE Object" type Control:

RunCommand acCmdInsertObject ' Opens "Insert Picture From File" Dialog
Box.

It would be easier for the Users if the Dialog Box opened directly to the
folder where the JPGs are stored and for them to be automatically linked.

Would someone be so kind and point me in the right direction to find this
answer?

Thank You for taking the time to read this post.

Andy
 
Andy said:
Using A2K.
Have this code in the "On Dbl Click" Event of an "OLE Object" type
Control:

RunCommand acCmdInsertObject ' Opens "Insert Picture From File" Dialog
Box.

It would be easier for the Users if the Dialog Box opened directly to the
folder where the JPGs are stored and for them to be automatically linked.

Would someone be so kind and point me in the right direction to find this
answer?

Why do you need to open the dialogue box?
Why don't you just get the path with a FileOpen dialogue box, which can
specifiy the path, and then embed the object with code.

Arvin Meyer has an example:
http://www.dbforums.com/archive/index.php/t-561556.html
 
Margaret;

Thank You.

Andy

PS. I apologize for the belated Thank You. Have been overcoming other
computer obstacles and just got to Your Reply today 05/10/08 11:25pm local
time.
 
Back
Top