Rules / Guidelines for using Ribbon control?

BlakeMcKenna

Active member
Joined
Oct 27, 2008
Messages
38
Programming Experience
10+
I downloaded the Ribbon control that resides on CodeProject.com. I am trying to use this and am unable to as it errors out. I was wondering if there is any special rules for using this. I wouldn't think so but when I go to show the form that contains the Ribbon control, I provide a Try Catch. When it the code hits the "Form2.Show" statement, it throws an exception but when I look at the innerexception.Message, it says "The operation completed successfully". So, I'm not sure where this is coming from. Below is my form (it just has a Ribbon control) and my code that calls the form. There is NO code in the form with the ribbon.

VB.NET:
    Private Sub AboutToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles AboutToolStripMenuItem.Click
        Try
            frmRibbon.Show()

        Catch ex As Exception
            MsgBox(ex.InnerException.Message)
        End Try
    End Sub
 

Attachments

  • Screenshot.jpg
    Screenshot.jpg
    58.2 KB · Views: 45
Hi
1-Search this term "The operation completed successfully" in the source of RibbonControl which you have got from codeproject
2- take it between try catch
 
Back
Top