dbTalk Databases Forums  

Toolbar / Ribbon

comp.databases.ms-access comp.databases.ms-access


Discuss Toolbar / Ribbon in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bsn
 
Posts: n/a

Default Toolbar / Ribbon - 01-29-2011 , 08:35 PM






Hi NG

Access Runtime 2010

I looked a lot on the internet, but did not find the answer...

Can self made toolbar or ribbon be used in Access Runtime 2010...???

greeting
Bjarne

Reply With Quote
  #2  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-30-2011 , 12:00 AM






?"bsn" wrote in message
news:4d44ce6e$0$56796$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
Hi NG

Access Runtime 2010

I looked a lot on the internet, but did not find the answer...

Can self made toolbar or ribbon be used in Access Runtime 2010...???

greeting
Bjarne
Yes, you most certainly can do this. If you have a test machine with the
runtime, then try the ribbon example I have here:

http://www.kallal.ca/Ribbon/ribbon.htm

I also have a report sample here that should just work + run if you placed
it on a machine with runtime:

http://www.kallal.ca/msaccess/DownLoad.htm

From above, try 4th from last: Access 2007 report ribbon example (with PDF
and email

And, last one:
Access 2010 report example -


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
  #3  
Old   
bsn
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-30-2011 , 02:07 AM



"Albert D. Kallal" skrev i meddelelsen
news:d871p.51788$8_2.28918 (AT) newsfe17 (DOT) iad...

?"bsn" wrote in message
news:4d44ce6e$0$56796$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
Hi NG

Access Runtime 2010

I looked a lot on the internet, but did not find the answer...

Can self made toolbar or ribbon be used in Access Runtime 2010...???

greeting
Bjarne
Yes, you most certainly can do this. If you have a test machine with the
runtime, then try the ribbon example I have here:

http://www.kallal.ca/Ribbon/ribbon.htm

I also have a report sample here that should just work + run if you placed
it on a machine with runtime:

http://www.kallal.ca/msaccess/DownLoad.htm

From above, try 4th from last: Access 2007 report ribbon example (with PDF
and email

And, last one:
Access 2010 report example -

------------------------------------------------------------------------------------

thx for answer Albert
I´m new to Access 2010 - a lot have changed since Access 2003...:-(
Can you tell in short way, to get ribbon or toolbar to the runtime...???
Maybee I then better understand the code...
A lot of code - i´l try look into it...
Maybee i come back later...;-)
Bjarne

Reply With Quote
  #4  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-30-2011 , 03:15 AM



?"bsn" wrote in message
news:4d451c50$0$56795$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
I´m new to Access 2010 - a lot have changed since Access 2003...:-(
Can you tell in short way, to get ribbon or toolbar to the runtime...???
Maybee I then better understand the code...
Actually, the last example has and needs no code at all, but just a ribbon.
(you could even delete the code module).

So, the ribbon definition is created and placed into a table, and then
travels with the application (including the runtime).

To create a ribbon, you thus need to first create a table in access to hold
the ribbons.

Here is a good starting point:
http://office.microsoft.com/en-us/ac...010211415.aspx

and

http://msdn.microsoft.com/en-us/library/bb187398.aspx


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
  #5  
Old   
bsn
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-30-2011 , 07:53 PM



"Albert D. Kallal" skrev i meddelelsen
news:U_91p.42271$ZS4.30956 (AT) newsfe07 (DOT) iad...

?"bsn" wrote in message
news:4d451c50$0$56795$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
I´m new to Access 2010 - a lot have changed since Access 2003...:-(
Can you tell in short way, to get ribbon or toolbar to the runtime...???
Maybee I then better understand the code...
Actually, the last example has and needs no code at all, but just a ribbon.
(you could even delete the code module).

So, the ribbon definition is created and placed into a table, and then
travels with the application (including the runtime).

To create a ribbon, you thus need to first create a table in access to hold
the ribbons.

Here is a good starting point:
http://office.microsoft.com/en-us/ac...010211415.aspx

and

http://msdn.microsoft.com/en-us/library/bb187398.aspx

---------------------------------------------------------------------------------------------------

Thx again...
I´ve been there...
Created the table(UsysRibbons), and put some xml code about Ribbon in...

I can´t find out how the database is told to use the table to make ribbon...

When i look in File_Options_CurrentDB no ribbons shows up there...

Thx for ur patience...

Bjarne

Bjarne

Reply With Quote
  #6  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-31-2011 , 12:27 AM



?"bsn" wrote in message
news:4d46162a$0$56784$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
Thx again...
I´ve been there...
Created the table(UsysRibbons), and put some xml code about Ribbon in...

I can´t find out how the database is told to use the table to make
ribbon...
It should appear in the combo box drop down to specify the ribbon once you
create the ribbons in that ribbons table.

You do have to exit + reload access (just exit your application, and then
reenter) before any new ribbon will show up in the combo box selection of
ribbons.

You can also specify a ribbon for a form or report. Simply open the
form/report in design mode. You should see a ribbon drop down in the "other"
tab of the form/report properties that lets you select from the list of
ribbons. Try downloading the sample I have here:

http://www.kallal.ca/msaccess/DownLoad.htm

grab the one:
Access 2010 report example
direct link:http://www.kallal.ca/msaccess/RibbonReportPDF2.zip

If you look at the above, note the USYSRibbons table. Take a look at how it
is setup. Then open up a report in design mode, and note the settings in the
other tab of the property sheet for that report.


Using file - options, currentDB, you should see the list of ribbons appear
in the drop down (that list comes from the USYSRibbons table). So, this
combo box setting is to specify an ribbon for the whole application as
opposed to one for each form (or report).

For each form or report, you use the property sheet in the other tab.
(however you should see the same dropdown of possible ribbon choices that
exist in the USYSRibbons table. So, take a look at the sample ribbons in the
above download to see how they are setup.

And, a great ribbon reference for access can be found here:
http://www.accessribbon.de/en/index....bon_Attributes

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
  #7  
Old   
bsn
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-31-2011 , 04:27 AM



"Albert D. Kallal" skrev i meddelelsen
news:CDs1p.6244$lO1.736 (AT) newsfe11 (DOT) iad...

?"bsn" wrote in message
news:4d46162a$0$56784$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
Thx again...
I´ve been there...
Created the table(UsysRibbons), and put some xml code about Ribbon in...

I can´t find out how the database is told to use the table to make
ribbon...
It should appear in the combo box drop down to specify the ribbon once you
create the ribbons in that ribbons table.

You do have to exit + reload access (just exit your application, and then
reenter) before any new ribbon will show up in the combo box selection of
ribbons.

<SNIP>

Using file - options, currentDB, you should see the list of ribbons appear
in the drop down (that list comes from the USYSRibbons table). So, this
combo box setting is to specify an ribbon for the whole application as
opposed to one for each form (or report).

For each form or report, you use the property sheet in the other tab.
(however you should see the same dropdown of possible ribbon choices that
exist in the USYSRibbons table. So, take a look at the sample ribbons in the
above download to see how they are setup.

And, a great ribbon reference for access can be found here:
http://www.accessribbon.de/en/index....bon_Attributes

--------------------------------------------------------------------------------------------------------

Hi Albert...
Thx again...

My ribbon occured now - must have been very late night yesterday...:-)
I work further with this, and will study some XML and ACCESS 2010...

Maybee i get back later...
Bjarne

Reply With Quote
  #8  
Old   
bsn
 
Posts: n/a

Default Re: Toolbar / Ribbon - 01-31-2011 , 11:43 AM



"bsn" skrev i meddelelsen
news:4d468e86$0$56777$edfadb0f (AT) dtext02 (DOT) news.tele.dk...



"Albert D. Kallal" skrev i meddelelsen
news:CDs1p.6244$lO1.736 (AT) newsfe11 (DOT) iad...

?"bsn" wrote in message
news:4d46162a$0$56784$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

Quote:
Thx again...
I´ve been there...
Created the table(UsysRibbons), and put some xml code about Ribbon in...

I can´t find out how the database is told to use the table to make
ribbon...
It should appear in the combo box drop down to specify the ribbon once you
create the ribbons in that ribbons table.

You do have to exit + reload access (just exit your application, and then
reenter) before any new ribbon will show up in the combo box selection of
ribbons.

<SNIP>

Using file - options, currentDB, you should see the list of ribbons appear
in the drop down (that list comes from the USYSRibbons table). So, this
combo box setting is to specify an ribbon for the whole application as
opposed to one for each form (or report).

For each form or report, you use the property sheet in the other tab.
(however you should see the same dropdown of possible ribbon choices that
exist in the USYSRibbons table. So, take a look at the sample ribbons in the
above download to see how they are setup.

And, a great ribbon reference for access can be found here:
http://www.accessribbon.de/en/index....bon_Attributes

--------------------------------------------------------------------------------------------------------

Maybee i get back later...
And here I am...
Are not getting all my buttons(controls) on the ribbon...
I´v put an "x" in front of controles that are missing in runtime...

My xml

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
<tabs>
<tab idMso="TabCreate" visible="false" />
<tab id="dbCustomTab" label="Diverse værktøjer" visible="true">
<group id="dbCustomGroup" label="EasyAdmin">
<control idMso="MailMergeGoToFirstRecord" label="Til første post"
size="large" enabled="true"/>
<control idMso="MailMergeGoToPreviousRecord" label="Til forrige post"
size="large" enabled="true"/>
<control idMso="MailMergeGoToNextRecord" label="Til næste post"
size="large" enabled="true"/>
x<control idMso="MailMergeGoToLastRecord" label="Til sidste post"
size="large" enabled="true"/>
<control idMso="GoToNewRecord" label="Indsæt ny post" size="large"
enabled="true"/>
<control idMso="FindDialog" label="Søg på et felt" size="large"
enabled="true"/>
<control idMso="Copy" label="Kopiér" size="large" enabled="true"/>
<control idMso="Paste" label="Indsæt" size="large" enabled="true"/>
<control idMso="SortDown" label="Sortér en kolonne faldende"
size="large" enabled="true"/>
x<control idMso="AdpOutputOperationsSortAscending" label="Sortér en
kolonne stigende" size="large" enabled="true"/>
x<control idMso="RecordsDeleteRecord" label="Slet en post - kan ikke
fortrydes" size="large" enabled="true"/>
<control idMso="Undo" label="Fortryd" size="large" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

/My xml
Do u have a hint for this problem...???
Bjarne

Reply With Quote
  #9  
Old   
bsn
 
Posts: n/a

Default Re: Toolbar / Ribbon - 02-04-2011 , 09:13 AM



"bsn" skrev i meddelelsen
news:4d46f4c4$0$56786$edfadb0f (AT) dtext02 (DOT) news.tele.dk...

SNIP

Maybee i get back later...
And here I am...
Are not getting all my buttons(controls) on the ribbon...
I´v put an "x" in front of controles that are missing in runtime...

My xml

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
<tabs>
<tab idMso="TabCreate" visible="false" />
<tab id="dbCustomTab" label="Diverse værktøjer" visible="true">
<group id="dbCustomGroup" label="EasyAdmin">
<control idMso="MailMergeGoToFirstRecord" label="Til første post"
size="large" enabled="true"/>
<control idMso="MailMergeGoToPreviousRecord" label="Til forrige post"
size="large" enabled="true"/>
<control idMso="MailMergeGoToNextRecord" label="Til næste post"
size="large" enabled="true"/>
x<control idMso="MailMergeGoToLastRecord" label="Til sidste post"
size="large" enabled="true"/>
<control idMso="GoToNewRecord" label="Indsæt ny post" size="large"
enabled="true"/>
<control idMso="FindDialog" label="Søg på et felt" size="large"
enabled="true"/>
<control idMso="Copy" label="Kopiér" size="large" enabled="true"/>
<control idMso="Paste" label="Indsæt" size="large" enabled="true"/>
<control idMso="SortDown" label="Sortér en kolonne faldende"
size="large" enabled="true"/>
x<control idMso="AdpOutputOperationsSortAscending" label="Sortér en
kolonne stigende" size="large" enabled="true"/>
x<control idMso="RecordsDeleteRecord" label="Slet en post - kan ikke
fortrydes" size="large" enabled="true"/>
<control idMso="Undo" label="Fortryd" size="large" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

/My xml
Do u have a hint for this problem...???

--------------------------------------------------------------------------------------------
Problem solved - syntax errors...

MailMergeGoToLastRecord = MailMergeGotToLastRecord
AdpOutputOperationsSortAscending = SortUp

Bjarne

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.