CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    54

    About PictureBox

    I'm a newer of VC++.Net,
    I have some ICON in resoure,
    Now i want to display them in a pictureBox,
    so how should i do?

  2. #2
    Join Date
    Aug 2002
    Location
    Kerala
    Posts
    1,183

    Re: About PictureBox

    Code:
    Image^ img = gcnew Bitmap("<path>\\yourIconFile.ico");
    pictureBox1->Image = img;

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