CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    France
    Posts
    39

    Putting a picture in an ActiveX

    How can i put a picture of an imagelist
    in a pictureBox of my activeX

    i have create a sub:

    public sub Picture(pic as PictureBox)



    but it's not running

    Please Help me


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Putting a picture in an ActiveX

    The question is not clear!..

    Anyway, if you want a VB control in the Public interface of your activeX, then try defining it as Object

    public sub Picture(pic as Object)




    RK

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