Results 1 to 6 of 6

Thread: is that possible to have ms access application uses full-screen size

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    is that possible to have ms access application uses full-screen size

    hi,
    i wonder is that possible for us, as a ms access user to use full-screen size :?
    so that our ms access application wouldn't display any ms access menu or toolbar and others who use it don't know we are develop it using ms access.

    and what is the best way or tips to prevent our application being modify by the end users? or made them unable to delete our query, table, report?

    thanks in advance

  2. #2
    Addicted Member
    Join Date
    Jan 2002
    Location
    Glasgow, Scotland
    Posts
    202

    Re: is that possible to have ms access application uses full-screen size

    you can disable the toolbar, and a majority of the menu bar options using the 'Startup Options'

    you can also code these options to prevent the user from getting into the database window.

    further to that, you can create an MDE file to compile and lock any code.

    theres a few good articles on MS.com about securing your database have a look over there.

    probably the best way to do this is to set up user level security which allows you to set permissions at a group level.
    http://support.microsoft.com/default...b;en-us;132143
    if you fail to plan, you plan to fail

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: is that possible to have ms access application uses full-screen size

    thanks,

  4. #4
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: is that possible to have ms access application uses full-screen size

    Assuming you have no custom menu and you want access with a form already set in the start up options...

    Add a reference to MS Office objects and use the following code...

    Code:
    Public Sub SetToolBarStatus(ByVal blnEnable As Boolean)
        Dim cmdBar As CommandBar
        
        On Error Resume Next
        
        For Each cmdBar In Application.CommandBars
            If Len(cmdBar.Name) > 2 Then
                If cmdBar.Name <> "Menu Bar" and cmdBar.Name <> " " Then cmdBar.Enabled = blnEnable
            End If
        Next
    
    End Sub
    Note it gets rid of all menus bars and pop up menus...

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: is that possible to have ms access application uses full-screen size

    hi encniv
    but where should i place your SetToolBarStatus sub?
    i place it in a Module
    and i call it on the form which i set start-up (form_Load) event.
    but i still able to see menu :?

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: is that possible to have ms access application uses full-screen size

    btw, i tried SetToolBarStatus(False) and SetToolBarStatus(True) em... but still the same? kind to enlight me a bit?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width