473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Get Access to Open a Window and Wait for Editing to be Complete?

Hi,

I am creating an image-management database. I want my users to be able
to double-click on an image (a preview of what exists in a network
subfolder), and for the code to open the image in its associated
application (say, Microsoft Photo Editor), then wait for the user to
close the window before continuing code execution. I know I can shell
out to whatever application I need, but Shell doesn't seem to have a
"wait" mode on it. I want this to work similar to when you open an
Access window as a dialog box (and the code waits until the dialog box
is closed before executing the next line). That way the database knows
who has last edited the image, and when the image was last edited. Can
anyone tell me how or if this is possible?

Thank you!

Apr 19 '06 #1
2 1868
"AccessPro" <lo*******@bellsouth.net> wrote in
news:11*********************@e56g2000cwe.googlegro ups.com:
I am creating an image-management database. I want my users to be
able to double-click on an image (a preview of what exists in a
network subfolder), and for the code to open the image in its
associated application (say, Microsoft Photo Editor), then wait
for the user to close the window before continuing code execution.
I know I can shell out to whatever application I need, but Shell
doesn't seem to have a "wait" mode on it. I want this to work
similar to when you open an Access window as a dialog box (and the
code waits until the dialog box is closed before executing the
next line). That way the database knows who has last edited the
image, and when the image was last edited. Can anyone tell me how
or if this is possible?


One solution would be ShellWait():

http://www.mvps.org/access/api/api0004.htm

This uses Windows API calls to do the job.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Apr 20 '06 #2
Thanks! I knew I couldn't be the first person to need to solve this
problem.

Apr 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matt | last post by:
My problem is when the user click the submit button, it will launch another new window for the request page. I want to confirm we cannot use JavaScript open window functions to open a request page?...
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
0
by: lauren quantrell | last post by:
I have an Access 2000 application and I am using ShowWindow to hide the MS Access application window. Works fine as long as there is a popup form open all the time. The problem is when I want to...
3
by: Grey | last post by:
I know I need to use client side script to open new window, window.open("URL"). However, the URL in the function is dinamically generated by server side. How can I open window in client side, but...
4
by: gabe | last post by:
i have a solution to gather the text in each window that is open, but would rather use only managed code rather than unmanaged code my current solution relies on. The purpose is to get the text in...
1
by: Alejandro Vidal | last post by:
Hi, I have a curius problem, I hava a flash in a html page. In flash I have a button to open a pop up with this code: getURL...
1
by: peerraghu | last post by:
hi i am creating travels project using .net and c# and iam new to java scripts i want to open new window with in the same page after clicking the image i have wreiten code just look at this ...
1
by: chrisdev3 | last post by:
How can I open the Access Options Window from "Office Button" in MSAccess 2007 ? I have a runtime of MSAccess and I need to Add New Location in Trusted Locations tab. Thanks a lot in advance.
1
mageswar005
by: mageswar005 | last post by:
Hello, In My Application i have open the PDF file from javascript open.window function.In This scenario i want to control / Hide the PDF Toolbar from open.window function. My Current code is...
1
by: hcoulange | last post by:
I am trying to open a window inside a DIV or a table cell. In the stylesheet I put a #container and a #jx, In my page I have first a div id=container and another DIV call jx the first with position...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.