CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2000
    Posts
    175

    form icon does not load...

    I have created a .ico file (from a .tif file) and tried to load as an icon in my form. But it gives an error message 'Invalid property value'. Could that be due to the different dimensions of the icon? or is there a different way to create/save .ico files? Please respond..


  2. #2
    Join Date
    May 2000
    Posts
    40

    Re: form icon does not load...

    you can only use .ico file for icon
    You may want to download some tools to create icon or even just download it from the web

    -t-


  3. #3
    Guest

    Re: form icon does not load...

    Icon files are no different than BMP files in there content.

    If you use Paint and create a 32X32 image and save as 16 or 256 Color BMP (16 is the prefered)
    And name it with and .ico extension, then it should be fine.

    The size of the file and the color depth that the TIF was converted to may be an issue.

    Hope that helps.


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

Featured