 |
|
 |
|
Next: Pulling records based of another tables, column
|
| Author |
Message |
External

Since: Oct 13, 2008 Posts: 13
|
(Msg. 1) Posted: Wed Dec 24, 2008 3:50 pm
Post subject: A2K Runtime Crashes on DoCmd.Quit Archived from groups: microsoft>public>access, others (more info?)
|
|
|
Hi;
Using A2K Runtime on XP Pro PC. Have all of the updates for XP and Access
Runtime including SP-3 for both.
The app opens to frmLogin correctly. On that form there are 2 cmd buttons.
Continue & Exit.
Can log in as USER or sa, (System Administrator) but when clicking either
cmd button get Access Runtime Crash.
"Execution of this application has stopped due to a run-time error."
"The application can't continue and will be shut down."
Only has OK button.
The cmdExit OnClick Event is:
Private Sub cmdExit_Click()
DoCmd.Quit
End Sub
Don't understand why would get a run-time error on DoCmd.Quit.
The MDB does work correctly on the machine that created it. Even opening it
as the User in Runtime Version emulation.
This Computer's Shortcut for Runtime test Target: "C:\Program
Files\Microsoft Office\Office\MSACCESS.EXE" "C:\CoDBase\CoDBase.mdb" /WRKGRP
"C:\CoDBase\Secured.mdw" /runtime /excl
Start In: C:\CoDBase\
On computer with only Access Runtime:
Shortcut Target: "C:\Program Files\Microsoft Office\ART\Office\MSACCESS.EXE"
"C:\CoDBase\CoDBase.mdb" /WRKGRP "C:\CoDBase\Secured.mdw" /excl
Start In: C:\CoDBase\
The permissions for frmLogin is:
sa = Open/Run, Read Design, Modify Design & Administer.
For the User: Open/Run
The User has permissions to Open / Run and Open Exclusive for the Current
Database.
Already re-ran Security Wizard. Thought maybe Secured.mdw was corrupt.
Would someone be so kind and point me in the proper direction to overcome
this obstacle?
Thank You for taking the time to read this post.
Andy >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Dec 24, 2008 Posts: 2
|
(Msg. 2) Posted: Wed Dec 24, 2008 6:10 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Andy wrote:
> Hi;
>
> Using A2K Runtime on XP Pro PC. Have all of the updates for XP and Access
> Runtime including SP-3 for both.
>
> The app opens to frmLogin correctly. On that form there are 2 cmd buttons.
> Continue & Exit.
>
> Can log in as USER or sa, (System Administrator) but when clicking either
> cmd button get Access Runtime Crash.
>
> "Execution of this application has stopped due to a run-time error."
> "The application can't continue and will be shut down."
> Only has OK button.
>
> The cmdExit OnClick Event is:
> Private Sub cmdExit_Click()
> DoCmd.Quit
> End Sub
>
> Don't understand why would get a run-time error on DoCmd.Quit.
>
> The MDB does work correctly on the machine that created it. Even opening it
> as the User in Runtime Version emulation.
>
> This Computer's Shortcut for Runtime test Target: "C:\Program
> Files\Microsoft Office\Office\MSACCESS.EXE" "C:\CoDBase\CoDBase.mdb" /WRKGRP
> "C:\CoDBase\Secured.mdw" /runtime /excl
> Start In: C:\CoDBase\
>
> On computer with only Access Runtime:
> Shortcut Target: "C:\Program Files\Microsoft Office\ART\Office\MSACCESS.EXE"
> "C:\CoDBase\CoDBase.mdb" /WRKGRP "C:\CoDBase\Secured.mdw" /excl
> Start In: C:\CoDBase\
>
> The permissions for frmLogin is:
> sa = Open/Run, Read Design, Modify Design & Administer.
>
> For the User: Open/Run
>
> The User has permissions to Open / Run and Open Exclusive for the Current
> Database.
> Already re-ran Security Wizard. Thought maybe Secured.mdw was corrupt.
>
> Would someone be so kind and point me in the proper direction to overcome
> this obstacle?
>
> Thank You for taking the time to read this post.
>
> Andy
I remember having some really wonky conditions in A2K under which the app
would crash when closing, though they weren't identical to your, since I
remember it only occurred when closing the form with the X but would work
fine from a command button.
First of all, try this under XP/2003/2007 if you have any of those
available, just to see if it works there or not. Mine worked under all
future versions and only failed under 2000 (never tried the runtime version,
mind you).
What I would try next are "stupid" workarounds...for instance, from your
Click procedure, call a sub that'll close the form (or maybe all forms),
loop in a DoEvents loop for half a second, then quit. See if there's
anything of that nature that works for you. Failing that, try using the
Windows API to close your app and see if that works (I don't remember
exactly how to do that, but I know it's not hard...I'm sure someone can post
it if you need).
Good luck!
Rob >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 3) Posted: Fri Dec 26, 2008 6:29 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
run away from Jet, it's not reliable enough for every day usage.
Only if you move to SQL Server can you avoid these sorts of headaches.
-Aaron
On Dec 24, 12:50 pm, "Andy" wrote:
> Hi;
>
> Using A2K Runtime on XP Pro PC. Have all of the updates for XP and Access
> Runtime including SP-3 for both.
>
> The app opens to frmLogin correctly. On that form there are 2 cmd buttons.
> Continue & Exit.
>
> Can log in as USER or sa, (System Administrator) but when clicking either
> cmd button get Access Runtime Crash.
>
> "Execution of this application has stopped due to a run-time error."
> "The application can't continue and will be shut down."
> Only has OK button.
>
> The cmdExit OnClick Event is:
> Private Sub cmdExit_Click()
> DoCmd.Quit
> End Sub
>
> Don't understand why would get a run-time error on DoCmd.Quit.
>
> The MDB does work correctly on the machine that created it. Even opening it
> as the User in Runtime Version emulation.
>
> This Computer's Shortcut for Runtime test Target: "C:\Program
> Files\Microsoft Office\Office\MSACCESS.EXE" "C:\CoDBase\CoDBase.mdb" /WRKGRP
> "C:\CoDBase\Secured.mdw" /runtime /excl
> Start In: C:\CoDBase\
>
> On computer with only Access Runtime:
> Shortcut Target: "C:\Program Files\Microsoft Office\ART\Office\MSACCESS.EXE"
> "C:\CoDBase\CoDBase.mdb" /WRKGRP "C:\CoDBase\Secured.mdw" /excl
> Start In: C:\CoDBase\
>
> The permissions for frmLogin is:
> sa = Open/Run, Read Design, Modify Design & Administer.
>
> For the User: Open/Run
>
> The User has permissions to Open / Run and Open Exclusive for the Current
> Database.
> Already re-ran Security Wizard. Thought maybe Secured.mdw was corrupt.
>
> Would someone be so kind and point me in the proper direction to overcome
> this obstacle?
>
> Thank You for taking the time to read this post.
>
> Andy >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Aug 06, 2007 Posts: 399
|
(Msg. 4) Posted: Fri Dec 26, 2008 8:51 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 5) Posted: Sat Dec 27, 2008 8:54 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Please ignore Aaron Kempf's posting as he responds with JET as the
answer even when that would have no resemblance to the
problem.
----------------------------------------------------------------------------------------
Access, however, is not perfect. Performance degrades significantly as
the database size increases. The database is also prone to corruption.
Finally, starting with an Access database has tempted many developers
to do a dangerous thing. Sometimes a single-user application becomes
popular enough that there's a desire for it to be used by multiple
simultaneous users. The temptation is to just move the Access database
file to a network share, copy the application to multiple machines,
and let many users connect simultaneously. Access performance drops
off quickly with multiple users, and it's highly unlikely that an
application that was designed for a single user will work reliably
with concurrent users.
http://msdn.microsoft.com/en-us/library/aa730870(VS.80).aspx
----------------------------------------------------------------------------------------
On Dec 26, 7:51 pm, "Tony Toews [MVP]" wrote:
> "Andy" wrote:
>
> Please ignore Aaron Kempf's posting as he responds with SQL Server and
> ADPs as the answer even when that would have no resemblance to the
> problem.
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Please respond only in the newsgroups so that others can
> read the entire thread of messages.
> Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
> Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/ >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Dec 24, 2008 Posts: 2
|
(Msg. 6) Posted: Tue Dec 30, 2008 12:50 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Tony Toews [MVP] wrote:
> "Andy" wrote:
>
> Please ignore Aaron Kempf's posting as he responds with SQL Server and
> ADPs as the answer even when that would have no resemblance to the
> problem.
>
> Tony
What's funny about this is that in the case I spoke of, I was using an A2K
ADP.
Rob >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 7) Posted: Tue Dec 30, 2008 7:16 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Rob;
Maybe if you knew how to work the worlds most popular database, then
maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
database
On Dec 29, 9:50 pm, Robert Morley
wrote:
> Tony Toews [MVP] wrote:
> > "Andy" wrote:
>
> > Please ignore Aaron Kempf's posting as he responds with SQL Server and
> > ADPs as the answer even when that would have no resemblance to the
> > problem.
>
> > Tony
>
> What's funny about this is that in the case I spoke of, I was using an A2K
> ADP.
>
> Rob >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 13, 2008 Posts: 13
|
(Msg. 8) Posted: Tue Dec 30, 2008 10:39 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Gentlemen;
Thank You all for reading and replying to my post.
Created this mdb front end and mde back using Office 2000 Developer.
Its not that Dbase doesn't run At All. It does run on other machines, (all
Stand Alones).
The Crash happens at the "Log In" frm.
No matter if the User clicks "Continue" or the cmdExit OnClick
Event is:
Private Sub cmdExit_Click()
DoCmd.Quit
End Sub
Access Crashes due to a RunTime Error.
Why? How do I discover what is crashing? What is causing it?
Again Thank You for taking the time to read and reply to my post.
Andy
"a a r o n . k e m p f @ g m a i l . c o m" wrote in
message
Rob;
Maybe if you knew how to work the worlds most popular database, then
maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
database
On Dec 29, 9:50 pm, Robert Morley
wrote:
> Tony Toews [MVP] wrote:
> > "Andy" wrote:
>
> > Please ignore Aaron Kempf's posting as he responds with SQL Server and
> > ADPs as the answer even when that would have no resemblance to the
> > problem.
>
> > Tony
>
> What's funny about this is that in the case I spoke of, I was using an A2K
> ADP.
>
> Rob >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 02, 2003 Posts: 28
|
(Msg. 9) Posted: Tue Dec 30, 2008 10:53 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Andy,
Are you saying that when not on stand alone machines everyone is accessing
the same front end? I think more details are going to be needed to figure
out exactly what your issue is.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
"Andy" wrote in message
> Gentlemen;
>
> Thank You all for reading and replying to my post.
>
> Created this mdb front end and mde back using Office 2000 Developer.
>
> Its not that Dbase doesn't run At All. It does run on other machines,
> (all
> Stand Alones).
>
> The Crash happens at the "Log In" frm.
>
> No matter if the User clicks "Continue" or the cmdExit OnClick
> Event is:
> Private Sub cmdExit_Click()
> DoCmd.Quit
> End Sub
>
> Access Crashes due to a RunTime Error.
>
> Why? How do I discover what is crashing? What is causing it?
>
> Again Thank You for taking the time to read and reply to my post.
>
> Andy
>
>
> "a a r o n . k e m p f @ g m a i l . c o m" wrote
> in message
>
> Rob;
>
> Maybe if you knew how to work the worlds most popular database, then
> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
> database
>
>
>
>
>
>
> On Dec 29, 9:50 pm, Robert Morley
> wrote:
>> Tony Toews [MVP] wrote:
>> > "Andy" wrote:
>>
>> > Please ignore Aaron Kempf's posting as he responds with SQL Server and
>> > ADPs as the answer even when that would have no resemblance to the
>> > problem.
>>
>> > Tony
>>
>> What's funny about this is that in the case I spoke of, I was using an
>> A2K
>> ADP.
>>
>> Rob
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Nov 16, 2008 Posts: 12
|
(Msg. 10) Posted: Tue Dec 30, 2008 6:50 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: microsoft>public>access>forms, others (more info?)
|
|
|
"a a r o n . k e m p f @ g m a i l . c o" wrote:
> Please ignore Aaron Kempf's posting
First smart thing the boy's said in all the time he's been here!
> as he responds with JET as the
> answer even when that would have
> no resemblance to the problem.
But still has no grasp on reality... can't even remember what he posted
himself. Sad, surely sad.
Genl Access >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 13, 2008 Posts: 13
|
(Msg. 11) Posted: Tue Dec 30, 2008 7:02 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: microsoft>public>access, others (more info?)
|
|
|
Gina;
Thank You for reading and replying to my post.
What I mean is that I have installed the app on other computers to test the
installation. All of those machines are stand alones as is the computer
that is getting the Runtime crash.
The computer that the app has been running on for years crashed out and
Windows needed to be re-installed from scratch.
Now, using the same install CD and the Same FE (MDB) and BE (MDE) we are
getting Runtime crashes no matter if we click on cmdContinue to open another
frm or to simply click Exit to shut the app down.
Andy
"Gina Whipp" wrote in message
> Andy,
>
> Are you saying that when not on stand alone machines everyone is accessing
> the same front end? I think more details are going to be needed to figure
> out exactly what your issue is.
>
> --
> Gina Whipp
>
> "I feel I have been denied critical, need to know, information!" - Tremors
> II
>
> "Andy" wrote in message
>
>> Gentlemen;
>>
>> Thank You all for reading and replying to my post.
>>
>> Created this mdb front end and mde back using Office 2000 Developer.
>>
>> Its not that Dbase doesn't run At All. It does run on other machines,
>> (all
>> Stand Alones).
>>
>> The Crash happens at the "Log In" frm.
>>
>> No matter if the User clicks "Continue" or the cmdExit OnClick
>> Event is:
>> Private Sub cmdExit_Click()
>> DoCmd.Quit
>> End Sub
>>
>> Access Crashes due to a RunTime Error.
>>
>> Why? How do I discover what is crashing? What is causing it?
>>
>> Again Thank You for taking the time to read and reply to my post.
>>
>> Andy
>>
>>
>> "a a r o n . k e m p f @ g m a i l . c o m" wrote
>> in message
>>
>> Rob;
>>
>> Maybe if you knew how to work the worlds most popular database, then
>> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
>> database
>>
>>
>>
>>
>>
>>
>> On Dec 29, 9:50 pm, Robert Morley
>> wrote:
>>> Tony Toews [MVP] wrote:
>>> > "Andy" wrote:
>>>
>>> > Please ignore Aaron Kempf's posting as he responds with SQL Server and
>>> > ADPs as the answer even when that would have no resemblance to the
>>> > problem.
>>>
>>> > Tony
>>>
>>> What's funny about this is that in the case I spoke of, I was using an
>>> A2K
>>> ADP.
>>>
>>> Rob
>>
>>
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 02, 2003 Posts: 28
|
(Msg. 12) Posted: Tue Dec 30, 2008 7:15 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Andy,
Let's start with obvious... Are all the patches for Windows and Office
applied? Then check network paths to make sure they are set up the same.
And why are installing a seperate BE, isn't everyone connected to the same
BE?
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
"Andy" wrote in message
> Gina;
>
> Thank You for reading and replying to my post.
>
> What I mean is that I have installed the app on other computers to test
> the installation. All of those machines are stand alones as is the
> computer that is getting the Runtime crash.
>
> The computer that the app has been running on for years crashed out and
> Windows needed to be re-installed from scratch.
> Now, using the same install CD and the Same FE (MDB) and BE (MDE) we are
> getting Runtime crashes no matter if we click on cmdContinue to open
> another frm or to simply click Exit to shut the app down.
>
> Andy
>
>
> "Gina Whipp" wrote in message
>
>> Andy,
>>
>> Are you saying that when not on stand alone machines everyone is
>> accessing the same front end? I think more details are going to be
>> needed to figure out exactly what your issue is.
>>
>> --
>> Gina Whipp
>>
>> "I feel I have been denied critical, need to know, information!" -
>> Tremors II
>>
>> "Andy" wrote in message
>>
>>> Gentlemen;
>>>
>>> Thank You all for reading and replying to my post.
>>>
>>> Created this mdb front end and mde back using Office 2000 Developer.
>>>
>>> Its not that Dbase doesn't run At All. It does run on other machines,
>>> (all
>>> Stand Alones).
>>>
>>> The Crash happens at the "Log In" frm.
>>>
>>> No matter if the User clicks "Continue" or the cmdExit OnClick
>>> Event is:
>>> Private Sub cmdExit_Click()
>>> DoCmd.Quit
>>> End Sub
>>>
>>> Access Crashes due to a RunTime Error.
>>>
>>> Why? How do I discover what is crashing? What is causing it?
>>>
>>> Again Thank You for taking the time to read and reply to my post.
>>>
>>> Andy
>>>
>>>
>>> "a a r o n . k e m p f @ g m a i l . c o m"
>>> wrote in message
>>>
>>> Rob;
>>>
>>> Maybe if you knew how to work the worlds most popular database, then
>>> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
>>> database
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Dec 29, 9:50 pm, Robert Morley
>>> wrote:
>>>> Tony Toews [MVP] wrote:
>>>> > "Andy" wrote:
>>>>
>>>> > Please ignore Aaron Kempf's posting as he responds with SQL Server
>>>> > and
>>>> > ADPs as the answer even when that would have no resemblance to the
>>>> > problem.
>>>>
>>>> > Tony
>>>>
>>>> What's funny about this is that in the case I spoke of, I was using an
>>>> A2K
>>>> ADP.
>>>>
>>>> Rob
>>>
>>>
>>
>>
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 02, 2003 Posts: 28
|
(Msg. 13) Posted: Wed Dec 31, 2008 11:54 am
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Is it possible for you to check the References on a machine it does run on
to the machine it doesn't run on? Do you have Admin rights to this
database?
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
"Andy" wrote in message
Gina;
Thank You.
All updates and patches in place for both Windows XP Pro & Office including
Access Runtime.
There is no network path.
We are trying to Re_Install on a stand alone computer using the same install
CD that originally installed a RunTime version of Access 2000 (ART) and ran
an app that was created using Office Developer 2000.
This particular computer had to be "Re-built". Windows and everything else
was re-installed from scratch about 2 weeks ago.
Only One User. No network involved.
The BE is MDE the FE MDB & Secured.MDW with User Level Permissions.
The Splash Screen displays correctly and the Login frm allows the User to
enter a password. So I know Access Runtime is installed correctly.
Its when the User clicks on either cmdLogin or cmdExit is when the crash
occurs.
The frmLogin has 3 Controls:
txtPwordAsk (User enters the password)
UnBound.
cmdLogin
OnClick:
If Me![txtPwordAsk] = (DLookup("[MyPWord]", "tblMain")) Or Me![txtPwordAsk]
= "*SpecialPWord*" Then
DoCmd.OpenForm "frmMain"
DoCmd.Close acForm, "frmLogin"
Else
Msg = MsgBox("That is not the correct Password." & vbCrLf & _
"Please enter the Password once more.", vbOKOnly + vbInformation,
"OurCompany")
Me![txtPwordAsk] = Null
Me![txtPwordAsk] = Null ' Don't know why this line is here twice.
DoCmd.GoToControl "txtPwordAsk"
End If
cmdExit
OnClick:
DoCmd.Quit
This same code has been used on that re-built stand alone since 2007.
With this current re-install of Windows and all applications when the User
clicks on either cmdButton an Access Runtime Crash occurs.
With or Without PWord typed in when the User clicks on either cmdButton an
Access Runtime Crash occurs and Access shutsdown.
Have seen this same type of crash before when the permissions for a frm were
not granted to the User. Verified the User had Open/Run permissions for
frmLogin. Also gave it Read Design permission. Still crashed in same
places.
What is odd to me is that it is even getting a RunTime crash with: cmdExit
OnClick: DoCmd.Quit
DoCmd.Quit should if nothing else close the app without crashing.
Lady and Gentlemen is there anymore information You might need to help You
help me to overcome this obstacle?
Thank You for taking the time to read this post.
Andy
"Gina Whipp" wrote in message
> Andy,
>
> Let's start with obvious... Are all the patches for Windows and Office
> applied? Then check network paths to make sure they are set up the same.
> And why are installing a seperate BE, isn't everyone connected to the same
> BE?
>
> --
> Gina Whipp
>
> "I feel I have been denied critical, need to know, information!" - Tremors
> II
>
> "Andy" wrote in message
>
>> Gina;
>>
>> Thank You for reading and replying to my post.
>>
>> What I mean is that I have installed the app on other computers to test
>> the installation. All of those machines are stand alones as is the
>> computer that is getting the Runtime crash.
>>
>> The computer that the app has been running on for years crashed out and
>> Windows needed to be re-installed from scratch.
>> Now, using the same install CD and the Same FE (MDB) and BE (MDE) we are
>> getting Runtime crashes no matter if we click on cmdContinue to open
>> another frm or to simply click Exit to shut the app down.
>>
>> Andy
>>
>>
>> "Gina Whipp" wrote in message
>>
>>> Andy,
>>>
>>> Are you saying that when not on stand alone machines everyone is
>>> accessing the same front end? I think more details are going to be
>>> needed to figure out exactly what your issue is.
>>>
>>> --
>>> Gina Whipp
>>>
>>> "I feel I have been denied critical, need to know, information!" -
>>> Tremors II
>>>
>>> "Andy" wrote in message
>>>
>>>> Gentlemen;
>>>>
>>>> Thank You all for reading and replying to my post.
>>>>
>>>> Created this mdb front end and mde back using Office 2000 Developer.
>>>>
>>>> Its not that Dbase doesn't run At All. It does run on other machines,
>>>> (all
>>>> Stand Alones).
>>>>
>>>> The Crash happens at the "Log In" frm.
>>>>
>>>> No matter if the User clicks "Continue" or the cmdExit OnClick
>>>> Event is:
>>>> Private Sub cmdExit_Click()
>>>> DoCmd.Quit
>>>> End Sub
>>>>
>>>> Access Crashes due to a RunTime Error.
>>>>
>>>> Why? How do I discover what is crashing? What is causing it?
>>>>
>>>> Again Thank You for taking the time to read and reply to my post.
>>>>
>>>> Andy
>>>>
>>>>
>>>> "a a r o n . k e m p f @ g m a i l . c o m"
>>>> wrote in message
>>>>
>>>> Rob;
>>>>
>>>> Maybe if you knew how to work the worlds most popular database, then
>>>> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
>>>> database
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Dec 29, 9:50 pm, Robert Morley
>>>> wrote:
>>>>> Tony Toews [MVP] wrote:
>>>>> > "Andy" wrote:
>>>>>
>>>>> > Please ignore Aaron Kempf's posting as he responds with SQL Server
>>>>> > and
>>>>> > ADPs as the answer even when that would have no resemblance to the
>>>>> > problem.
>>>>>
>>>>> > Tony
>>>>>
>>>>> What's funny about this is that in the case I spoke of, I was using an
>>>>> A2K
>>>>> ADP.
>>>>>
>>>>> Rob
>>>>
>>>>
>>>
>>>
>>
>>
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 13, 2008 Posts: 13
|
(Msg. 14) Posted: Wed Dec 31, 2008 1:00 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Yes have Admin rights.
The references are correct. Meaning they are the same as when the Runtime
app was originally installed in 2007.
Visual Basic for Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.8 Library
Microsoft DAO 3.6 Object Library
Microsoft Word 9.0 Object Library
Microsoft Visual Basic for Applications Extensibility 5.3
Andy
"Gina Whipp" wrote in message
> Is it possible for you to check the References on a machine it does run on
> to the machine it doesn't run on? Do you have Admin rights to this
> database?
>
> --
> Gina Whipp
>
> "I feel I have been denied critical, need to know, information!" - Tremors
> II
> "Andy" wrote in message
>
> Gina;
>
> Thank You.
>
> All updates and patches in place for both Windows XP Pro & Office
> including Access Runtime.
>
> There is no network path.
> We are trying to Re_Install on a stand alone computer using the same
> install
> CD that originally installed a RunTime version of Access 2000 (ART) and
> ran
> an app that was created using Office Developer 2000.
>
> This particular computer had to be "Re-built". Windows and everything
> else
> was re-installed from scratch about 2 weeks ago.
>
> Only One User. No network involved.
> The BE is MDE the FE MDB & Secured.MDW with User Level Permissions.
>
> The Splash Screen displays correctly and the Login frm allows the User to
> enter a password. So I know Access Runtime is installed correctly.
>
> Its when the User clicks on either cmdLogin or cmdExit is when the crash
> occurs.
>
> The frmLogin has 3 Controls:
> txtPwordAsk (User enters the password)
> UnBound.
>
> cmdLogin
> OnClick:
> If Me![txtPwordAsk] = (DLookup("[MyPWord]", "tblMain")) Or
> Me![txtPwordAsk] = "*SpecialPWord*" Then
> DoCmd.OpenForm "frmMain"
> DoCmd.Close acForm, "frmLogin"
> Else
> Msg = MsgBox("That is not the correct Password." & vbCrLf & _
> "Please enter the Password once more.", vbOKOnly + vbInformation,
> "OurCompany")
> Me![txtPwordAsk] = Null
> Me![txtPwordAsk] = Null ' Don't know why this line is here twice.
> DoCmd.GoToControl "txtPwordAsk"
> End If
>
> cmdExit
> OnClick:
> DoCmd.Quit
>
> This same code has been used on that re-built stand alone since 2007.
>
> With this current re-install of Windows and all applications when the User
> clicks on either cmdButton an Access Runtime Crash occurs.
>
> With or Without PWord typed in when the User clicks on either cmdButton an
> Access Runtime Crash occurs and Access shutsdown.
>
> Have seen this same type of crash before when the permissions for a frm
> were not granted to the User. Verified the User had Open/Run permissions
> for frmLogin. Also gave it Read Design permission. Still crashed in same
> places.
>
> What is odd to me is that it is even getting a RunTime crash with: cmdExit
> OnClick: DoCmd.Quit
> DoCmd.Quit should if nothing else close the app without crashing.
>
> Lady and Gentlemen is there anymore information You might need to help You
> help me to overcome this obstacle?
>
> Thank You for taking the time to read this post.
>
> Andy
>
>
> "Gina Whipp" wrote in message
>
>> Andy,
>>
>> Let's start with obvious... Are all the patches for Windows and Office
>> applied? Then check network paths to make sure they are set up the same.
>> And why are installing a seperate BE, isn't everyone connected to the
>> same
>> BE?
>>
>> --
>> Gina Whipp
>>
>> "I feel I have been denied critical, need to know, information!" -
>> Tremors
>> II
>>
>> "Andy" wrote in message
>>
>>> Gina;
>>>
>>> Thank You for reading and replying to my post.
>>>
>>> What I mean is that I have installed the app on other computers to test
>>> the installation. All of those machines are stand alones as is the
>>> computer that is getting the Runtime crash.
>>>
>>> The computer that the app has been running on for years crashed out and
>>> Windows needed to be re-installed from scratch.
>>> Now, using the same install CD and the Same FE (MDB) and BE (MDE) we are
>>> getting Runtime crashes no matter if we click on cmdContinue to open
>>> another frm or to simply click Exit to shut the app down.
>>>
>>> Andy
>>>
>>>
>>> "Gina Whipp" wrote in message
>>>
>>>> Andy,
>>>>
>>>> Are you saying that when not on stand alone machines everyone is
>>>> accessing the same front end? I think more details are going to be
>>>> needed to figure out exactly what your issue is.
>>>>
>>>> --
>>>> Gina Whipp
>>>>
>>>> "I feel I have been denied critical, need to know, information!" -
>>>> Tremors II
>>>>
>>>> "Andy" wrote in message
>>>>
>>>>> Gentlemen;
>>>>>
>>>>> Thank You all for reading and replying to my post.
>>>>>
>>>>> Created this mdb front end and mde back using Office 2000 Developer.
>>>>>
>>>>> Its not that Dbase doesn't run At All. It does run on other machines,
>>>>> (all
>>>>> Stand Alones).
>>>>>
>>>>> The Crash happens at the "Log In" frm.
>>>>>
>>>>> No matter if the User clicks "Continue" or the cmdExit OnClick
>>>>> Event is:
>>>>> Private Sub cmdExit_Click()
>>>>> DoCmd.Quit
>>>>> End Sub
>>>>>
>>>>> Access Crashes due to a RunTime Error.
>>>>>
>>>>> Why? How do I discover what is crashing? What is causing it?
>>>>>
>>>>> Again Thank You for taking the time to read and reply to my post.
>>>>>
>>>>> Andy
>>>>>
>>>>>
>>>>> "a a r o n . k e m p f @ g m a i l . c o m"
>>>>> wrote in message
>>>>>
>>>>> Rob;
>>>>>
>>>>> Maybe if you knew how to work the worlds most popular database, then
>>>>> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
>>>>> database
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Dec 29, 9:50 pm, Robert Morley
>>>>> wrote:
>>>>>> Tony Toews [MVP] wrote:
>>>>>> > "Andy" wrote:
>>>>>>
>>>>>> > Please ignore Aaron Kempf's posting as he responds with SQL Server
>>>>>> > and
>>>>>> > ADPs as the answer even when that would have no resemblance to the
>>>>>> > problem.
>>>>>>
>>>>>> > Tony
>>>>>>
>>>>>> What's funny about this is that in the case I spoke of, I was using
>>>>>> an
>>>>>> A2K
>>>>>> ADP.
>>>>>>
>>>>>> Rob
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
External

Since: Oct 13, 2008 Posts: 13
|
(Msg. 15) Posted: Wed Dec 31, 2008 1:04 pm
Post subject: Re: A2K Runtime Crashes on DoCmd.Quit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Note: Microsoft ActiveX Data Objects 2.8 Library was originally Microsoft
ActiveX Data Objects 2.1 Library.
"Andy" wrote in message
>
> Yes have Admin rights.
>
> The references are correct. Meaning they are the same as when the Runtime
> app was originally installed in 2007.
> Visual Basic for Applications
> Microsoft Access 9.0 Object Library
> OLE Automation
> Microsoft ActiveX Data Objects 2.8 Library
> Microsoft DAO 3.6 Object Library
> Microsoft Word 9.0 Object Library
> Microsoft Visual Basic for Applications Extensibility 5.3
>
> Andy
>
> "Gina Whipp" wrote in message
>
>> Is it possible for you to check the References on a machine it does run
>> on to the machine it doesn't run on? Do you have Admin rights to this
>> database?
>>
>> --
>> Gina Whipp
>>
>> "I feel I have been denied critical, need to know, information!" -
>> Tremors II
>> "Andy" wrote in message
>>
>> Gina;
>>
>> Thank You.
>>
>> All updates and patches in place for both Windows XP Pro & Office
>> including Access Runtime.
>>
>> There is no network path.
>> We are trying to Re_Install on a stand alone computer using the same
>> install
>> CD that originally installed a RunTime version of Access 2000 (ART) and
>> ran
>> an app that was created using Office Developer 2000.
>>
>> This particular computer had to be "Re-built". Windows and everything
>> else
>> was re-installed from scratch about 2 weeks ago.
>>
>> Only One User. No network involved.
>> The BE is MDE the FE MDB & Secured.MDW with User Level Permissions.
>>
>> The Splash Screen displays correctly and the Login frm allows the User to
>> enter a password. So I know Access Runtime is installed correctly.
>>
>> Its when the User clicks on either cmdLogin or cmdExit is when the crash
>> occurs.
>>
>> The frmLogin has 3 Controls:
>> txtPwordAsk (User enters the password)
>> UnBound.
>>
>> cmdLogin
>> OnClick:
>> If Me![txtPwordAsk] = (DLookup("[MyPWord]", "tblMain")) Or
>> Me![txtPwordAsk] = "*SpecialPWord*" Then
>> DoCmd.OpenForm "frmMain"
>> DoCmd.Close acForm, "frmLogin"
>> Else
>> Msg = MsgBox("That is not the correct Password." & vbCrLf & _
>> "Please enter the Password once more.", vbOKOnly + vbInformation,
>> "OurCompany")
>> Me![txtPwordAsk] = Null
>> Me![txtPwordAsk] = Null ' Don't know why this line is here twice.
>> DoCmd.GoToControl "txtPwordAsk"
>> End If
>>
>> cmdExit
>> OnClick:
>> DoCmd.Quit
>>
>> This same code has been used on that re-built stand alone since 2007.
>>
>> With this current re-install of Windows and all applications when the
>> User clicks on either cmdButton an Access Runtime Crash occurs.
>>
>> With or Without PWord typed in when the User clicks on either cmdButton
>> an Access Runtime Crash occurs and Access shutsdown.
>>
>> Have seen this same type of crash before when the permissions for a frm
>> were not granted to the User. Verified the User had Open/Run permissions
>> for frmLogin. Also gave it Read Design permission. Still crashed in
>> same places.
>>
>> What is odd to me is that it is even getting a RunTime crash with:
>> cmdExit OnClick: DoCmd.Quit
>> DoCmd.Quit should if nothing else close the app without crashing.
>>
>> Lady and Gentlemen is there anymore information You might need to help
>> You help me to overcome this obstacle?
>>
>> Thank You for taking the time to read this post.
>>
>> Andy
>>
>>
>> "Gina Whipp" wrote in message
>>
>>> Andy,
>>>
>>> Let's start with obvious... Are all the patches for Windows and Office
>>> applied? Then check network paths to make sure they are set up the
>>> same.
>>> And why are installing a seperate BE, isn't everyone connected to the
>>> same
>>> BE?
>>>
>>> --
>>> Gina Whipp
>>>
>>> "I feel I have been denied critical, need to know, information!" -
>>> Tremors
>>> II
>>>
>>> "Andy" wrote in message
>>>
>>>> Gina;
>>>>
>>>> Thank You for reading and replying to my post.
>>>>
>>>> What I mean is that I have installed the app on other computers to test
>>>> the installation. All of those machines are stand alones as is the
>>>> computer that is getting the Runtime crash.
>>>>
>>>> The computer that the app has been running on for years crashed out and
>>>> Windows needed to be re-installed from scratch.
>>>> Now, using the same install CD and the Same FE (MDB) and BE (MDE) we
>>>> are
>>>> getting Runtime crashes no matter if we click on cmdContinue to open
>>>> another frm or to simply click Exit to shut the app down.
>>>>
>>>> Andy
>>>>
>>>>
>>>> "Gina Whipp" wrote in message
>>>>
>>>>> Andy,
>>>>>
>>>>> Are you saying that when not on stand alone machines everyone is
>>>>> accessing the same front end? I think more details are going to be
>>>>> needed to figure out exactly what your issue is.
>>>>>
>>>>> --
>>>>> Gina Whipp
>>>>>
>>>>> "I feel I have been denied critical, need to know, information!" -
>>>>> Tremors II
>>>>>
>>>>> "Andy" wrote in message
>>>>>
>>>>>> Gentlemen;
>>>>>>
>>>>>> Thank You all for reading and replying to my post.
>>>>>>
>>>>>> Created this mdb front end and mde back using Office 2000 Developer.
>>>>>>
>>>>>> Its not that Dbase doesn't run At All. It does run on other
>>>>>> machines,
>>>>>> (all
>>>>>> Stand Alones).
>>>>>>
>>>>>> The Crash happens at the "Log In" frm.
>>>>>>
>>>>>> No matter if the User clicks "Continue" or the cmdExit OnClick
>>>>>> Event is:
>>>>>> Private Sub cmdExit_Click()
>>>>>> DoCmd.Quit
>>>>>> End Sub
>>>>>>
>>>>>> Access Crashes due to a RunTime Error.
>>>>>>
>>>>>> Why? How do I discover what is crashing? What is causing it?
>>>>>>
>>>>>> Again Thank You for taking the time to read and reply to my post.
>>>>>>
>>>>>> Andy
>>>>>>
>>>>>>
>>>>>> "a a r o n . k e m p f @ g m a i l . c o m"
>>>>>> wrote in message
>>>>>>
>>>>>> Rob;
>>>>>>
>>>>>> Maybe if you knew how to work the worlds most popular database, then
>>>>>> maybe- just maybe- you wouldn't be stuck wiht a paperweight-sized
>>>>>> database
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Dec 29, 9:50 pm, Robert Morley
>>>>>> wrote:
>>>>>>> Tony Toews [MVP] wrote:
>>>>>>> > "Andy" wrote:
>>>>>>>
>>>>>>> > Please ignore Aaron Kempf's posting as he responds with SQL Server
>>>>>>> > and
>>>>>>> > ADPs as the answer even when that would have no resemblance to the
>>>>>>> > problem.
>>>>>>>
>>>>>>> > Tony
>>>>>>>
>>>>>>> What's funny about this is that in the case I spoke of, I was using
>>>>>>> an
>>>>>>> A2K
>>>>>>> ADP.
>>>>>>>
>>>>>>> Rob
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
> >> Stay informed about: A2K Runtime Crashes on DoCmd.Quit |
|
| Back to top |
|
 |  |
| Related Topics: | DoCmd Find and Replace - Does anyone know a VB DoCmd for Find and Replace in an entire table? I need to search for N/A and replace it with Undefined on a table. Thanks
DROP TABLE vs DoCmd.DeleteObject acTable - My client has a db I am working that uses temp tables. During an update procedure, I had the code If fTableExists(tempTblName) = True Then DoCmd.DeleteObject acTable, tempTblName Then I thought of using: If fTableExists(tempTblName) = True Then..
DoCmd.OpenReport suddenly failing, macro OpenReport succeeds - This is weird. This database has worked ok for years, now suddenly in some VBA code a DoCmd.OpenReport is failing, the error handler there doesn't get hit, but the macro that called that VBA function gets an Action Failed in RunCode. If I open the..
DoCmd.OpenForm from selection in Listbox not Primary Key - Hi, I have 2 Tables and 3 Forms. 1st table is called Invoices and second table is called Payments In. Both have primary keys and Payments In has a field which is linked to the Invoice Primary Key. For both tables I have created forms with listboxes..
Sort form datasheet attempt crashes Access 2003 (error 345.. - 'add one textbox to form1 with Control Source property = ID 'copy/paste the form_load code below: 'Then open the form and then attempt to sort the datasheet 'crashes 2003, error 3450 Access 2007 - I can't find much info on this... - Can someone explain.. |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|