Will I be able to get rid of any systems menu's when I generate a run time application ? I want to be able to do a runtime application that shows nothing but the application screens. If this can be done, I would appreciate any help.
Have you went to the ToolBar Customized box and unchecked all toolbar and menu. And make sure that on the property window for the form that the menu and toolbar selection are blank. Try that an see what happens. I have set up menu and toolbar for my programs and deleted the normal toolbars and menu.
Add the following code to the load event of your start-up form:<br>
<br>
Dim i As Integer<br>
<br>
For i = 1 To CommandBars.Count<br>
If CommandBars(i).Visible = True _<br>
And CommandBars(i).Name <> "Menu Bar" Then<br>
CommandBars(i).Visible = False<br>
End If<br>
Next i<br>
<br>
Hope this helps
This wasn't as easy as I thought it would be. Access displays the form view toolbar by default - even though the above code turns its visible property off. The only way I could find to turn it off in code was to create a macro that uses the "ShowToolbar" action. Toolbar name should be "Form View", Show = No.<br>
<br>
Execute the macro from the load event i.e. DoCmd.RunMacro "FormViewToolBarOff"<br>
<br>
Any better ideas let me know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.