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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Office XP Developer-How to retain toolbars?

Status
Not open for further replies.

whill1

Technical User
Feb 14, 2004
46
US
I have an Access application that I have been working on for quiet some time. My problem is that when I run the package and deploy wizzard to create the stand alone version, the toolbars at the top change to a very basic set (menu,edit,view,tools and help)and the toolbars that normally appear when I navigate through forms, reports, etc... do not appear. How can I retain the default toolbars after I assemble the program?
Thanks to All
Whill1
 
You need to create custom toolbars and menubars and reference them via the properties of the forms/reports.
 
When writing command bars you'll probably want to use more icons then are listed with Access. I'm self promoting my FAQ because it never gets read, but i think this faq would be helpful in not only getting you the icons you need, but in learning how to program custom command bars.

I forgot how to set a link in here.But you can find this faq in this specific forum.

List CommandBar And ToolBar Icons faq705-5152

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Thanks You two!!!As for Icons-Up to this point the default Icons have been more than sufficient, but thanks for the tip for locating and using others.
I know how to create menus, but I do not know how to reference them via the properties of the forms/reports.
I am assumming that each form/report will have to have it's own reference.
how is the best way to create this reference?
Thanks again!!
whill1
 
You can open the toolbar when the form opens by putting it in the properties window of the Access form when viewing it design view.

Or you can do it through code.

docmd.showtoolbar "toolbarname", acToolbarNo or acToolbarYes

I do it through code. Except for reports. But i have not reasons for the latter.

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Thank You,
I will try both and let you know how things work. I really appreciate all your help!!!
Sincerely,
whill1
 
Whill1

I forgot to mention this. THe code from the icon toolbar i created, it came from microsoft.

I dont' remember the link. But i think if you search on this site for example databases.. and toolbars.. you'll find the code.

The code shows you how to create a toolbar from scratch. The best thing to do next would create a table or two to manage your toolbars.

In my applications I create toolbars on the fly a lot. It's faily helpful.

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top