If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
RunCommand acCmdInsertObject ', (Default Folder)
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 |
#2
|
|||
|
|||
RunCommand acCmdInsertObject ', (Default Folder)
"Andy" wrote in message ... 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 |
#3
|
|||
|
|||
RunCommand acCmdInsertObject ', (Default Folder)
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. "Margaret Bartley" wrote in message ... "Andy" wrote in message ... 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 |
Thread Tools | |
Display Modes | |
|
|