Results 1 to 10 of 10

Thread: ActiveX icon properrty

  1. #1

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    ActiveX icon properrty

    I am trying to make an Icon property for my ActiveX control but I have a problem : I make the property and I have it "As Picture". Then when the common dialog is shown it is supports and shows all picture files. All I want to show is ico and cur files. I tried to put it "As Icon" but there isn't that type.

    Thanks


    Has someone helped you? Then you can Rate their helpful post.

  2. #2

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    I don't mean the toolboxbitmap. I want to make my own property "As Icon" or something like that...


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    I know I am impatient

    bump


    Has someone helped you? Then you can Rate their helpful post.

  4. #4

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171


    Has someone helped you? Then you can Rate their helpful post.

  5. #5

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Anyone? Anything? Please?


    Has someone helped you? Then you can Rate their helpful post.

  6. #6
    Hyperactive Member
    Join Date
    May 2003
    Posts
    401
    Probably, u must set filter for the Filter Property of common dialog box before u show it...set the filter to "*.ico"
    This might help...
    Enjoy!!!
    apps_tech

  7. #7

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Unfortunatelly I don't make the common dialog to set a filter... When you do something like this :

    VB Code:
    1. Public Property Get Icon() As Picture
    2.     Set Icon = m_Icon
    3.     Set Picture1.Picture = m_Icon
    4. End Property
    5.  
    6. Public Property Set Icon(ByVal New_Icon As Picture)
    7.     Set m_Icon = New_Icon
    8.     Set Picture1.Picture = m_Icon
    9.     PropertyChanged "Icon"
    10. End Property

    and I have it "As Picture" the common dialog automatically is created and has a filter for all picture files. I want to limit that to ico and cur files.

    Thanks


    Has someone helped you? Then you can Rate their helpful post.

  8. #8

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Should I assume this isn't possible???


    Has someone helped you? Then you can Rate their helpful post.

  9. #9
    Hyperactive Member
    Join Date
    May 2003
    Posts
    401
    Originally posted by manavo11
    Should I assume this isn't possible???
    Well, I have no more ideas...I tried couple of ways but did not work...I think it is not possible....
    Enjoy!!!
    apps_tech

  10. #10

    Thread Starter
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Unfortunatelly neither do I have any... Since I can't declare it As Icon that I would like... . I am still open to suggestions though...


    Has someone helped you? Then you can Rate their helpful post.

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