Visual Studio 2005 - Recreate Border tab of Format function

Posted on 2006-04-24
Last Modified: 2008-02-26

I have to recreate the Border tab of the Format function of Excel on a Visual Studio 2005 Windows form.
My biggest difficulty is recreating the bvuttons woth the pictures on them.
Does anyone have any idea how to do this?

Thanks in advance
Question by:murbro
    LVL 44

    Expert Comment

    Hello murbro,

    this is not meant to answer your question but it seems related to the other one about the color dialog, maybe it would be interesting to look at the open xml format behind excel xmlss it exposes all the properties of normal excel workbooks

    for a sample you could download this project >

    just as a backgrounder

    Author Comment

    Thanks very much. Will have a look..
    LVL 96

    Expert Comment

    by:Bob Learned
    You can recreate the dialog, by using something as simple as Micro$oft Paint, and copying/pasting/selecting, and then save the images into a .gif file.


    Author Comment

    Hi Bob

    Would you be able to elaborate on that a bit. To create a button like one in the Border tab, I need a picture of that.
    How would I get that.


    LVL 96

    Accepted Solution

    1) Open Excel
    2) Show the Border tab
    3) Press the <PrtScn> button to copy the screen to clipboard
    4) Open Paint
    5) Paste the image into Paint
    6) Select the region that has the picture that you want to use
    7) Copy that region
    8) Paste into a new image
    9) Resize the image using the sizing handles
    10) Save the file as a .gif


    Author Comment

    Excellent. Thanks very much Bob. Really appreciate the help

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    This video discusses moving either the default database or any database to a new volume.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now