Results 1 to 6 of 6
  1. #1
    Canaglia is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Posts
    3

    startup view

    Hi all,

    I'm new in this forum
    but I have a little problem with my db....
    on the startup i like that appear only the welcome splash screen (my first form), without all access menù, because many person open the program....
    It's possible?



    Thank you
    Ste

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Click on the Office Button (Upper Left Corner). Click on Access Options (bottom of window). Select Current Database. Select the Form you wish to have open in the Application Options. In the Navigation Section, uncheck Dispaly Navigation Pane. In the Ribbon and Toolbar section uncheck the three check boxes.

    Alan

  3. #3
    Canaglia is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Posts
    3
    Thank you Alan and sorry for my english...

    with this solution my opening form appiar in the popup style but in background still persist access without navigation pane and ribbon...
    I prefer that appear only the form. Is it posisble?

    Ste

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Look at this link. If you download the attachment, the second item in the first column may be what you are looking for. You will have to reverse engineer this to determine how it is done.

    https://www.accessforums.net/code-re...ples-7540.html

    Alan

  5. #5
    Canaglia is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Posts
    3
    Hi...

    The corporate VPN prevents the downloads of the file...
    I can't look it inside...
    Is there a solution?

    Ste

  6. #6
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Here is an onload event for the form that you will open as your splash or first form when you launch Access. I took it from the file referenced. I did not build this and cannot take credit for it. It is a product of PKStormy. If you have specific questions, you may want to PM him and ask him to look at this thread.

    Code:
    Private Sub Form_Load()
    'Removing caption bar code
    Dim fi As FormInfo
    Set fi = New FormInfo
    Set fi.Form = Me
    '*** Rem out below for testing
    fi.ShowCaptionBar = False
    DoCmd.Maximize
    End Sub
    Here is an alternative listed in the same file:
    Code:
    Private Sub Form_Load()
    'Removing all access information code
    
    Call Module2.fSetAccessWindow(2)
    
    End Sub
    and here is the Module2 that is called in the above code.

    Code:
    Option Compare Database
    Option Explicit
    Global Const SW_HIDE = 0
    Global Const SW_SHOWNORMAL = 1
    Global Const SW_SHOWMINIMIZED = 2
    Global Const SW_SHOWMAXIMIZED = 3
    Private Declare Function apiShowWindow Lib "USER32" _
    Alias "ShowWindow" (ByVal hWnd As Long, _
    ByVal nCmdShow As Long) As Long
    Function fSetAccessWindow(nCmdShow As Long)
    Dim loX As Long
    Dim loForm As Form
    On Error Resume Next
    Set loForm = Screen.ActiveForm
    If err <> 0 Then
    loX = apiShowWindow(hWndAccessApp, nCmdShow)
    err.Clear
    End If
    If nCmdShow = SW_SHOWMINIMIZED And loForm.Modal = True Then
    MsgBox "Cannot minimize Access with " _
    & (loForm.Caption + " ") _
    & "form on screen"
    ElseIf nCmdShow = SW_HIDE And loForm.PopUp <> True Then
    MsgBox "Cannot hide Access with " _
    & (loForm.Caption + " ") _
    & "form on screen"
    Else
    loX = apiShowWindow(hWndAccessApp, nCmdShow)
    End If
    fSetAccessWindow = (loX <> 0)
    End Function

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with startup
    By Tari in forum Programming
    Replies: 5
    Last Post: 03-07-2011, 05:07 PM
  2. Replies: 1
    Last Post: 10-24-2010, 11:32 AM
  3. Switchboard at startup
    By jamie c in forum Access
    Replies: 10
    Last Post: 03-04-2010, 12:16 PM
  4. startup problem
    By Eric1066 in forum Access
    Replies: 3
    Last Post: 12-07-2009, 10:01 AM
  5. Unable to view objects in (startup) Form
    By sdondeti in forum Forms
    Replies: 0
    Last Post: 11-10-2009, 04:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums