Results 1 to 4 of 4

Thread: Form Icon Background

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    8

    Unhappy Form Icon Background

    I have set an image of type .ico to my form.The size is 24x24.It does not have any background,in the sense its transparent.But when my form gets loaded,it gets a black brackground.I have not added this icon into any imagelist.
    i am just doing
    me.icon=app.path & ("someicon.ico")
    in the form load.
    how can this black bkgrd be removed ,so that my icon looks same in the form load as it looks when viewed in any image viewer.
    Plzz help..

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Form Icon Background

    Moved from FAQ forum

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Form Icon Background

    The Icon should be 16x16

    ic ould be because its being squeezed to that size its loosing transparency.

    what app did u use to create it?
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Form Icon Background

    Aslo, 32 bit XP icons are not supported that way.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width