Excel workbook project in VS2010

Discussion in 'Programming General' started by PixxelJunk, Jun 5, 2011.

Excel workbook project in VS2010
  1. Unread #1 - Jun 5, 2011 at 7:27 AM
  2. PixxelJunk
    Joined:
    Jun 4, 2011
    Posts:
    57
    Referrals:
    0
    Sythe Gold:
    0

    PixxelJunk Member

    Excel workbook project in VS2010

    I'm making an excel workbook with code that downloads the entire grand exchange database from the official website. So far, this works pretty good but now I'm stuck on one of the simplest things I can think of, yet can't figure out how to do it.

    I want to show a form with a progress bar and accompanied labels, but I can't figure out how to make the form show >_< you'd think that a simple "form1.show()" would do the trick, but it keeps giving me reference errors (Reference to a non-shared member requires an object reference.)... How do I make these object references?

    EDIT: I've found it, apparently I had to dim a new instance of my form, then show that... Complicated stuff.


    EDIT2:New question, does anyone know how to make a picturebox control (on a worksheet, not on a form) transparent so that it shows the cell color lying underneath it?

    I'm stuck with this:

    [​IMG]
     
  3. Unread #2 - Jun 15, 2011 at 1:11 PM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    Excel workbook project in VS2010

    As for your form issue, you better set a delimiter or else you could run into some strange issues when multiple instances of your forms are opened.

    With the picturebox, setting its "BackColor" property to "Transparent" in the "Web" tab of the color palette should give you what you're looking for. If not, then instead of using a picturebox use a label with its "BackColor" property set to "Transparent", that would definitely work. You'd have to tweak a few other properties however to match what you're looking for (as in image centering, etc.).
     
< 135m RSGP For help with JavaScript homework! | Need help with java on computer >

Users viewing this thread
1 guest


 
 
Adblock breaks this site