PC Review


Reply
Thread Tools Rate Thread

How to avoid user to enter the Visual Basic Windows?

 
 
=?Utf-8?B?UGF0?=
Guest
Posts: n/a
 
      4th May 2006
Hi all.

Did anyone know is it possible to avoid user to enter the Visual Basic
Windows in a MS Access application? The situation is when i run an MS Access
Application, an error is occured in run-time, then it will automatisch going
to the Visual Basis Windows. My question is are there any way to avoid it?

Best regards,

Pat
 
Reply With Quote
 
 
 
 
John Spencer
Guest
Posts: n/a
 
      4th May 2006
The only way I know is
--Install an error handler in all your visual basic code
--Set Error Trapping (VBA Tools: Options) to Break on Unhandled errors

Or compile the code and make the database an mde. Distribute the mde to the
users, keep the mdb for changes to the database. Of course I am assuming
that you have split the database into a frontend and backend.


"Pat" <(E-Mail Removed)> wrote in message
news:608C7D66-FD4E-4AA1-A030-(E-Mail Removed)...
> Hi all.
>
> Did anyone know is it possible to avoid user to enter the Visual Basic
> Windows in a MS Access application? The situation is when i run an MS
> Access
> Application, an error is occured in run-time, then it will automatisch
> going
> to the Visual Basis Windows. My question is are there any way to avoid it?
>
> Best regards,
>
> Pat



 
Reply With Quote
 
=?Utf-8?B?S2xhdHV1?=
Guest
Posts: n/a
 
      4th May 2006
In the VB editor, Select Tools, Options, General tab and select Break on
UnHandled Errors. Then add error handlers to all your subs and functions.

"Pat" wrote:

> Hi all.
>
> Did anyone know is it possible to avoid user to enter the Visual Basic
> Windows in a MS Access application? The situation is when i run an MS Access
> Application, an error is occured in run-time, then it will automatisch going
> to the Visual Basis Windows. My question is are there any way to avoid it?
>
> Best regards,
>
> Pat

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set a query's [ENTER] criteria with visual basic JEFF Microsoft Access Macros 1 28th Nov 2007 10:24 PM
How to avoid security prompts in Visual Basic programs for Outlook without using the Redemption COM library Michael Bauer Microsoft Outlook VBA Programming 3 30th Nov 2005 06:55 AM
How to avoid security prompts in Visual Basic programs for Outlook without using the Redemption COM library Michael Bauer Microsoft Outlook Form Programming 1 28th Nov 2005 05:39 PM
How to avoid security prompts in Visual Basic programs for Outlook without using the Redemption COM library Michael Bauer Microsoft Outlook Program Addins 1 28th Nov 2005 05:39 PM
The article: How to avoid security prompts in Visual Basic programs for Outlook Maria Microsoft Outlook VBA Programming 0 30th Jan 2004 01:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 PM.