Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign builtin Toolbar Button to Custom coded Toolbar

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
I programmatically build a toolbar. However, i have been unable to find a function or macro to call a builtin toolbar function.

This is the tool bar button for security that sets the security level. (so people don't get the warnings on the application i have them set it to low in 2003). Customers don't have the regular toolbar, so they can't access this feature.

Previously the toolbar was manually created before distribution, but there are occasional problems with this. When coding this solution though, the id tag and the builtin properties are both read only. How would i then add this via code.

The id 3627

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
How are ya markphsd . . .
markphsd said:
[blue]i have been unable to find a function or macro to call a builtin toolbar function.

This is the tool bar button for security that sets the security level.[/blue]

How about the following. The button will have to call a function that executes the DoCmd:
Code:
[blue]   DoCmd.RunCommand acCmdUserAndGroupAccounts
or
   DoCmd.RunCommand acCmdUserAndGroupPermissions[/blue]


Calvin.gif
See Ya! . . . . . .

Be sure to see FAQ219-2884:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top