Is there a way to tell access to only display the forms/reports without displaying the access window itself (the "shell" window that the access forms populate inside of).
相关问题
- Laravel Option Select - Default Issue
- HTML form is not sending $_POST values
- How to use Control.FromHandle?
- Error handling only works once
- JFX scale image up and down to parent
相关文章
- Show a different value from an input that what wil
- Algorithm for maximizing coverage of rectangular a
- How can I detect/watch “dirty-status” of an angula
- Is there a way to hide the new HTML5 spinbox contr
- Unregister a XLL in Excel (VBA)
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- PropertyGrid - Possible to have a file/directory s
- Programming a touch screen application with SWING
Yes, you can. See "Setting Startup Options" from Basics for Building Microsoft Office Access 2003 Runtime-Based Solutions.
To do so, I take advantage of a piece of code written by some clever guys and available on the net (I think it was originally written by Terry Kreft?) and referring to some windows API.
I have first this:
and that
When starting my program, I will then call the function this way
The screen will 'flicker' a little bit, and the main window will appear briefly, then disappear. My focussed window will then be displayed alone.
No. Access is a classic Multiple Document Interface (MDI) where all the child windows are inside a parent window.
However, Access does have a lot of ways you can change the Parent Window Menu's and Toolbars. You can create your own menu and toolbar layouts that only have what you want in them. Google creating menu bars and toolbars in Access and it should point you in the right direction.
EDIT:
JP nailed it.... My brain forgot that little nugget....
If you create an MDE and run it under the Access Runtime, it will execute your program stripped of (most, if not all of) the Access GUI.
This is by design. The Access Runtime is intended to allow you to distribute a copy of your application, while depriving your users of the regular Access trappings.
Actually, most of the posts here are rather old and based on much older versions of Access. Since 2007 you can hide the interface with just a few mouse clicks and ONE LINE of code. Under file-Options->current database
Choose tabbed documents, choose hide document tabs. Un-check show navigation pane and also if you want to display the status bar.
Then in your startup form on load place this one line of code:
The result is this:
So all these wild solutions with API, whacks of code etc. is not required unless one is looking to increase world poverty.
Just a few mouse clicks and one line of code to hide the Access UI been possible for the last 3 versions (2007 onwards).