Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT] DotNetBar on programs
#1
Go to the solution Explored and Show all Files.

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
Make it into
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 Big Grin
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] How to make a simple WebBrowser in VB 2010! [TUT] - [ Pictures] Statics 95 56,369 10-07-2012, 06:56 AM
Last Post: a99
  Ideas for making some new programs? XDarkCoder 2 909 10-01-2012, 10:39 AM
Last Post: XDarkCoder
  Icon Websites? (Looking for Icons for Programs) AceInfinity 14 4,758 09-08-2012, 04:20 PM
Last Post: spesificrelax
  [TUT]Auto-Update System[TUT] HB Virus 3 2,208 01-07-2012, 02:21 PM
Last Post: Mastermrz
  [TUT]Enable and Disable TaskManger in vb.net [TUT] HB Virus 4 2,927 12-19-2011, 10:10 AM
Last Post: euverve

Forum Jump:


Users browsing this thread: 1 Guest(s)