| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#11
|
| Tom, The only what I can say now is Lyle is a little bit frustrated and he needs professional help and we are not able to help him. Kind regards, Simon "Tom van Stiphout" news:6lc9b450pn816rc5fiefg9p30c2ifj1r5f-at-4ax.com... > On Tue, 26 Aug 2008 07:05:31 +0200, "Simon van Beek" > > > Hi Simon, > I would phrase it a bit more elegantly than Lyle, but I do feel he is > right on the substance. It is REALLY unusual to require this sort of > functionality; there usually is a MUCH better and more compatible > alternative. > I hope you won't be offended and will take the criticism to heart. > Perhaps you will post a new message that starts with: "I want to do > ABC and the best way I can think of doing that is to diable the Close > Application button. Can you suggest better alternatives?" > > -Tom. > Microsoft Access MVP > > >>Tom, >> >>I try to accomplish that users can't close the application with this >>button >>[x] but >>they have to close the application via a form. >> >>-Simon >>"Tom van Stiphout" >>news:dvp6b4d95esjkoho5f5kna4k9u7b2dksii-at-4ax.com... >>> On Tue, 26 Aug 2008 00:13:06 +0200, "Simon van Beek" >>> >>> >>> That's not impossible, but not easy either. What are you trying to >>> accomplish? That users can't close your app? There are other ways to >>> do that (e.g. see Cancel argument of Form_Unload). Remember some of >>> them will use Task Manager to nuke your app if you go down that way. >>> You can intercept that as well, but at an even higher cost. >>> >>> So what are you really trying to accomplish? >>> >>> -Tom. >>> Microsoft Access MVP >>> >>> >>>>Dear reader, >>>> >>>> >>>> >>>>By opening an application I get always the main Access window with the >>>>closing cross [x] in the above right corner. Is there a possibility to >>>>make >>>>this closing cross invisible? >>>> >>>>All the settings in the Start-up form under Tools are disabled but the >>>>closing cross in the above right corner is still visible. >>>> >>>> >>>> >>>>Thanks for any help. >>>> >>>>Kind regards, >>>> >>>>Simon >>>> >> |
|
#12
|
| Speaking of "professional" help someone wrote EnableTitleBarControls and DisableTitleBarControls procedures and published them in CDMA back in the previous century. http://groups.google.com/group/comp....a49834e9e666a1 Oh, what a dilemma this is! He wrote EnableCloseButton and DisableCloseButton procedures too. http://groups.google.com/group/comp....49d160dcdcb973 Who could it have been? They're not exactly what you want as they act on the Access window instead of a form but they could easily be modified by anyone who wasn't bone-dead lazy and bucket-of-rocks stupid, to meet your request. I guess that explains why I didn't suggest them earlier. Did I mention that the procedure writer said in the same thread, "I have no idea why anyone Would_Want to do this. (I'm assuming there must be some way to close, so why not let Access do it in what appears to be a safe way)"? Right now in 2008 the bucket-of-rocks stupid hypothesis seems promising. On Aug 27, 1:48*am, "Simon van Beek" > Tom, > > The only what I can say now is Lyle is a little bit frustrated and he needs > professional help and we are not able to help him. > > Kind regards, > > Simon > > "Tom van Stiphout" > > > > > On Tue, 26 Aug 2008 07:05:31 +0200, "Simon van Beek" > > > > > Hi Simon, > > I would phrase it a bit more elegantly than Lyle, but I do feel he is > > right on the substance. It is REALLY unusual to require this sort of > > functionality; there usually is a MUCH better and more compatible > > alternative. > > I hope you won't be offended and will take the criticism to heart. > > Perhaps you will post a new message that starts with: "I want to do > > ABC and the best way I can think of doing that is to diable the Close > > Application button. Can you suggest better alternatives?" > > > -Tom. > > Microsoft Access MVP > > >>Tom, > > >>I try to accomplish that users can't close the application with this > >>button > >>[x] but > >>they have to close the application via a form. > > >>-Simon > >>"Tom van Stiphout" > >>news:dvp6b4d95esjkoho5f5kna4k9u7b2dksii-at-4ax.com... > >>> On Tue, 26 Aug 2008 00:13:06 +0200, "Simon van Beek" > >>> > > >>> That's not impossible, but not easy either. What are you trying to > >>> accomplish? That users can't close your app? There are other ways to > >>> do that (e.g. see Cancel argument of Form_Unload). Remember some of > >>> them will use Task Manager to nuke your app if you go down that way. > >>> You can intercept that as well, but at an even higher cost. > > >>> So what are you really trying to accomplish? > > >>> -Tom. > >>> Microsoft Access MVP > > >>>>Dear reader, > > >>>>By opening an application I get always the main Access window with the > >>>>closing cross [x] in the above right corner. Is there a possibility to > >>>>make > >>>>this closing cross invisible? > > >>>>All the settings in the Start-up form under Tools are disabled but the > >>>>closing cross in the above right corner is still visible. > > >>>>Thanks for any help. > > >>>>Kind regards, > > >>>>Simon |
|
#13
|
| What a long winded tale this is. The reason that I have stopped the normal closing of a form (& Database) is that I am using Peters "ShrinkerStretcher to resize a form and it's controls. If I have modified a form in design view, switched to form view and save the form, the size of every control gets changed. So it is essential that a modified form can only be closed and saved from desigh view, not form view. Maybe you did in in anticipation of things to come. Phil "lyle fairfield" news:a3fd6e4d-d9fc-48ee-889d-38a7f42b8eb5-at-56g2000hsm.googlegroups.com... Speaking of "professional" help someone wrote EnableTitleBarControls and DisableTitleBarControls procedures and published them in CDMA back in the previous century. http://groups.google.com/group/comp....a49834e9e666a1 Oh, what a dilemma this is! He wrote EnableCloseButton and DisableCloseButton procedures too. http://groups.google.com/group/comp....49d160dcdcb973 Who could it have been? They're not exactly what you want as they act on the Access window instead of a form but they could easily be modified by anyone who wasn't bone-dead lazy and bucket-of-rocks stupid, to meet your request. I guess that explains why I didn't suggest them earlier. Did I mention that the procedure writer said in the same thread, "I have no idea why anyone Would_Want to do this. (I'm assuming there must be some way to close, so why not let Access do it in what appears to be a safe way)"? Right now in 2008 the bucket-of-rocks stupid hypothesis seems promising. On Aug 27, 1:48 am, "Simon van Beek" > Tom, > > The only what I can say now is Lyle is a little bit frustrated and he > needs > professional help and we are not able to help him. > > Kind regards, > > Simon > > "Tom van Stiphout" > messagenews:6lc9b450pn816rc5fiefg9p30c2ifj1r5f-at-4ax .com... > > > > > On Tue, 26 Aug 2008 07:05:31 +0200, "Simon van Beek" > > > > > Hi Simon, > > I would phrase it a bit more elegantly than Lyle, but I do feel he is > > right on the substance. It is REALLY unusual to require this sort of > > functionality; there usually is a MUCH better and more compatible > > alternative. > > I hope you won't be offended and will take the criticism to heart. > > Perhaps you will post a new message that starts with: "I want to do > > ABC and the best way I can think of doing that is to diable the Close > > Application button. Can you suggest better alternatives?" > > > -Tom. > > Microsoft Access MVP > > >>Tom, > > >>I try to accomplish that users can't close the application with this > >>button > >>[x] but > >>they have to close the application via a form. > > >>-Simon > >>"Tom van Stiphout" > >>news:dvp6b4d95esjkoho5f5kna4k9u7b2dksii-at-4ax.com... > >>> On Tue, 26 Aug 2008 00:13:06 +0200, "Simon van Beek" > >>> > > >>> That's not impossible, but not easy either. What are you trying to > >>> accomplish? That users can't close your app? There are other ways to > >>> do that (e.g. see Cancel argument of Form_Unload). Remember some of > >>> them will use Task Manager to nuke your app if you go down that way. > >>> You can intercept that as well, but at an even higher cost. > > >>> So what are you really trying to accomplish? > > >>> -Tom. > >>> Microsoft Access MVP > > >>>>Dear reader, > > >>>>By opening an application I get always the main Access window with the > >>>>closing cross [x] in the above right corner. Is there a possibility to > >>>>make > >>>>this closing cross invisible? > > >>>>All the settings in the Start-up form under Tools are disabled but the > >>>>closing cross in the above right corner is still visible. > > >>>>Thanks for any help. > > >>>>Kind regards, > > >>>>Simon |
|
#14
|
| On Aug 27, 6:51*am, lyle fairfield > Speaking of "professional" help someone wrote EnableTitleBarControls > and DisableTitleBarControls procedures and published them in CDMA back > in the previous century.http://groups.google.com/group/comp..../msg/96a49834e... > > Oh, what a dilemma this is! He wrote EnableCloseButton and > DisableCloseButton procedures too.http://groups.google.com/group/comp..../msg/6149d160d... > > Who could it have been? It wasn't this James. C.f.: http://groups.google.com/group/comp....54712169e1eafe "I found some code somewhere (perhaps Jeff's site), " Even though I posted to CDMA in 1994, http://groups.google.com/group/comp....7bff5d5affd8b8 the code I found was implemented after 1999. James A. Fortune CDMAPoster-at-FortuneJames.com |
![]() |
| Thread Tools | |
| Display Modes | |