By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,300 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

API Browse Folder Dialog - hamgs if open when closing Access

P: n/a
I'm using code from the following web page to open the API Browse Folder
dialog

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

It all works fine. But if the dialog box is open and the user closes Access,
the system just hangs and Access apparantly cannot close. I have to open the
Windows Task Manager and force the closing (and even that takes quite awhile).
I'm not familiar with API coding. Is there someway to bring up this dialog
box modally, so that it has to be closed before the user can do anything else.
Thanks.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 22 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
rdemyan wrote:
I'm using code from the following web page to open the API Browse Folder
dialog

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

It all works fine. But if the dialog box is open and the user closes Access,
the system just hangs and Access apparantly cannot close. I have to open the
Windows Task Manager and force the closing (and even that takes quite awhile).
I'm not familiar with API coding. Is there someway to bring up this dialog
box modally, so that it has to be closed before the user can do anything else.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using Access 2002 & I can't close Access when I have the File
Open/Save dialog box open; it is modal. So how are your users closing
Access when this dialog box is open?
--
MGFoster:::mgf00 <atearthlink <decimal-pointnet
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBRTu/JYechKqOuFEgEQI4hwCeObl9lEe10CpVy3/ooQP2/ZQHw0wAoLtw
Dl0lgNRIpdKMOwG4slCXSS3U
=snBq
-----END PGP SIGNATURE-----
Oct 22 '06 #2

P: n/a
I have A2003.

The API dialog box is called from one of my modal/popup forms. When it is
open, if I click the 'X' in the control box of my modal/popup form, my
modal/popup form closes. If I then click the 'X' in the control box for the
Access container, it tries to close Access. An hourglass appears and
everything hangs.

MGFoster wrote:
>I'm using code from the following web page to open the API Browse Folder
dialog
[quoted text clipped - 7 lines]
>I'm not familiar with API coding. Is there someway to bring up this dialog
box modally, so that it has to be closed before the user can do anything else.

I'm using Access 2002 & I can't close Access when I have the File
Open/Save dialog box open; it is modal. So how are your users closing
Access when this dialog box is open?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 22 '06 #3

P: n/a
rdemyan via AccessMonster.com wrote:
I have A2003.

The API dialog box is called from one of my modal/popup forms. When it is
open, if I click the 'X' in the control box of my modal/popup form, my
modal/popup form closes. If I then click the 'X' in the control box for the
Access container, it tries to close Access. An hourglass appears and
everything hangs.
>MGFoster wrote:
>>I'm using code from the following web page to open the API Browse Folder
dialog
[quoted text clipped - 7 lines]
>>I'm not familiar with API coding. Is there someway to bring up this dialog
box modally, so that it has to be closed before the user can do anything else.
I'm using Access 2002 & I can't close Access when I have the File
Open/Save dialog box open; it is modal. So how are your users closing
Access when this dialog box is open?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It wud seem the simple answer is not to call the File Open/Save dialog
box from a modal Access form.
--
MGFoster:::mgf00 <atearthlink <decimal-pointnet
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBRTvWa4echKqOuFEgEQIZpwCfX5jNWIeZdQDeHIrCS4Ygn+ UM1u0AoNaG
ollMPmAjem5fqiz0pp9t15TC
=Yr38
-----END PGP SIGNATURE-----
Oct 22 '06 #4

P: n/a
It looks like it has more to do with a form being in popup mode.

When I set Modal to False with Popup to True, I still had the same problem.
When I set Modal to False and Popup to False, then the API dialog box is
truly modal and I can't close either the form or Access while it is open.
When I set Modal to True and Popup to False, then the API dialog box is truly
modal and I can't close either the form or Access while it is open.

I'd be curious to know if you see the same behaviour.

Thanks.

MGFoster wrote:
>I have A2003.
[quoted text clipped - 13 lines]
>>Open/Save dialog box open; it is modal. So how are your users closing
Access when this dialog box is open?

It wud seem the simple answer is not to call the File Open/Save dialog
box from a modal Access form.
--
Message posted via http://www.accessmonster.com

Oct 22 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.