• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

MS Access 2007 Elimination of The Ribbon at runtime

I am attempting to hide The Ribbon of MS Access 2007 at run-time. In the memo field of USysRibbons table field RibbonXml I use the following:

<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="True">

I get an error at run-time in "Line 1, Column 15 - illegal character" . I cannot seem to find an error in the above string. Any other suggestions for hiding The Ribbon at run-time would be appreciated.
0
jbotts
Asked:
jbotts
  • 3
  • 2
  • 2
  • +1
1 Solution
 
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Here's a link with a good tutorial on hidding the ribbon:

http://www.access-freak.com/tutorials.html#Tutorial05

Jim.
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:

True > true ... lower case ... and it's case sensitive.

<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="true">
0
 
Rey Obrero (Capricorn1)Commented:

try this


<customUIxmlns="http://schemas.microsoft.com/2006/01/customui"><ribbon startFromScratch="True">



here is the error
----------------------------------------------------------------v---------------v---
<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="True">
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
BTW, looks like you dropped the word "Office" from your string.  Should be:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

Jim.
0
 
Rey Obrero (Capricorn1)Commented:


try this


<customUIxmlns="http://schemas.microsoft.com/office/2006/01/customui"><ribbon startFromScratch="True">
0
 
Rey Obrero (Capricorn1)Commented:
sorry typo

try this


<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"><ribbon startFromScratch="True">
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Straight from the USysRibbons table:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
 <ribbon startFromScratch="true">
0
 
jbottsAuthor Commented:
The code that worked:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
      <ribbon startFromScratch="true">
      </ribbon>
</customUI>
Had to have the closing of the root element as well as the ribbon element.
The recommended link was right on.
Thanks so much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now