04-25-2010, 07:47 PM
Go to the solution Explored and Show all Files.
Expend your form and click .Designer.vb
you get:
Make it into
Now you right click on the references and select add reference.
Go to browse and select your DotNetBar download. (Google It),
Now go to Project>Project Properties. Click Debug and uncheck the check mark.
Now click Resources and Add resourse. Select the DLL DotNetBar2. Now you can drag in Ribbon Control from the tools.
CREDS: Me
I wrote this all myself
Expend your form and click .Designer.vb
you get:
Code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
Code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits DevComponents.DotNetBar.Office2007RibbonForm
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
Now you right click on the references and select add reference.
Go to browse and select your DotNetBar download. (Google It),
Now go to Project>Project Properties. Click Debug and uncheck the check mark.
Now click Resources and Add resourse. Select the DLL DotNetBar2. Now you can drag in Ribbon Control from the tools.
CREDS: Me
I wrote this all myself