programming4us
programming4us
DESKTOP

Windows 7 Development : GETTING STARTED WITH THE RIBBON (part 2) - Obtaining RibbonLib

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

2. Obtaining RibbonLib

If you look at the PreviewRibbon example code, you'll find that it has a relatively large number of files containing complex code. Writing a COM wrapper for the Ribbon isn't for the faint of heart. With this in mind, you'll probably want to use a pre-written wrapper to make your Ribbon development easier.

After you download the ZIP file, extract it. You'll find .SLN files for both Visual Basic and C#. In addition, both Visual Basic and C# examples are included with the library. The solutions will require conversion for Visual Studio 2010. Simply follow the Visual Studio Conversion Wizard prompts as you normally would to perform the conversion. The conversion should proceed without error.

When you initially attempt to build the library and its examples, you'll be discouraged to see a number of errors (36 of them). The errors aren't due to any coding problem. The problem occurs when you use the latest version of the Windows 7 SDK. Use the following steps to correct the problem:

  1. Right-click an example project entry in Solution Explorer and choose Properties from the context menu. You'll see the Properties window for that project.

  2. Select the Build Events tab as shown in Figure 1. Notice that the Pre-Build Event Command Line field contains entries that compile the XML file containing the Ribbon code into a DLL. You must modify these entries to match the version of the Windows 7 SDK installed on your system .

    Figure 1. The Build Events tab contains the settings you need to change.
  3. Click Edit Pre-Build. You'll see the Pre-Build Event Command Line dialog box shown in Figure 2.

    Figure 2. This dialog box contains the pre - build events for the project.
  4. Change each of the directory entries in the dialog box to match the directory setup on your machine. Be especially careful of the version numbers. The example is configured to use version 7.0 of the Windows 7 SDK.

  5. Click OK.

  6. Choose Build => Build Solution to build the application.


Other  
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 11) - Monitoring performance from the command line
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 10) - Configuring performance counter alerts
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part ) - Viewing data collector reports
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 8) - Collecting performance counter data, Collecting performance trace data
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 7) - Performance logging - Creating and managing data collector sets
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 6) - Resolving disk I/O bottlenecks, Resolving network bottlenecks
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 5) - Resolving performance bottlenecks - Resolving memory bottlenecks
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 4) - Comprehensive performance monitoring - Choosing views and controlling the display
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 3) - Comprehensive performance monitoring - Selecting performance objects and counters to monitor
  •  Windows Server 2012 : Comprehensive Performance Analysis and Logging (part 2) - Establishing performance baselines - Tracking the overall reliability of the server
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us