Results 1 to 6 of 6

Thread: Peeps

  1. #1

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334
    What are the required dimensions, properties etc of an icon for me to be able to turn it into a forms icon?

    I ask because I have a 32x32 bitmap (609.ico) that when I try to set as the main icon the error 'invalid property value' is returned.
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    to my knowledge, it needs to be an .ico
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Guest
    It's probably not in Icon format, however, you can use a conversion process to convert it.

    Make a Form with a PictureBox, ImageList and a CommandButton

    Code:
    Private Sub Command1_Click()
    
        ImageList1.ListImages.Add 1, "Icon", Picture1.Picture
        Set Form1.Icon = ImageList1.ListImages.Item(1).ExtractIcon
    
    End Sub

  4. #4

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Cheers

    Thanks megatron,

    however - icon format?
    I thought that anything with .ico was an icon?

    Please enlighten me!
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  5. #5
    Guest
    An Icon is a Bitmap, but the format is slightly different. An Icon consists of an Image (bitmap) combined with an ImageMask to form transparent areas on it, whereas a normal bitmap does not.

  6. #6

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    ICONS

    Can I export the image in a picbox to another picbox as an icon and then save it as such?
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



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