Results 1 to 2 of 2
  1. #1
    Madmax is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    80

    autoexec--currentproject.istrusted

    Need a little help. trying to setup an autoexec.

    Would like a splash screen for it but never have set one up.

    Also, before the form comes up I would like it to hide the ribbon and files on the left.

    Lastly, I need it to check the current project to see if it is trusted. Unfortunately, All I found was currentproject.istrusted; which to me looks like vba code which isnt trusted. I tried putting it under condition but it puts brackets around it like it is fields.



    Can someone give me some ideas on how to set this up right?


    Okay nevermind on the currentproject part I got that. just need the ribbon and files hiding and splash screen

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    51,728
    You can hide the ribbon and navigation pane and turn off shortcut menus and set default form with project options.

    Another approach for splash form http://allenbrowne.com/ser-53.html

    Regarding IsTrusted:
    http://blogs.msdn.com/b/thirdoffive/...16/700615.aspx
    http://msdn.microsoft.com/en-us/libr...ffice.10).aspx

    I tested an AutoExec macro with the above code and it does work.

    Be aware that holding the shift key as project opens will bypass all of this.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Help Stopping AutoExec Macro
    By drewetzel in forum Access
    Replies: 2
    Last Post: 10-03-2011, 10:51 AM
  2. Autoexec
    By Madmax in forum Programming
    Replies: 2
    Last Post: 07-12-2011, 11:33 AM
  3. AutoExec Mistake
    By HawkGuru in forum Programming
    Replies: 1
    Last Post: 04-23-2011, 04:48 AM
  4. Use of CurrentProject.Path in export code
    By gg80 in forum Programming
    Replies: 1
    Last Post: 08-02-2010, 08:51 PM
  5. Using parameter in autoexec macro
    By lchurch in forum Queries
    Replies: 0
    Last Post: 03-04-2009, 06:22 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