473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Picturebox & Imagelist

Hi,

Does anyone know how to assign an image from an imagelist to a picturebox ?

How do dynamicly change the picture to another image of the imagelist ?

Thanx

John
Jul 24 '07 #1
1 8467
"John Devlon" <jo********@hotmail.comha scritto nel messaggio
news:lP********************@phobos.telenet-ops.be...
Does anyone know how to assign an image from an imagelist to a picturebox
?

With the "=" :)

PictureBox1.Image = ImageList1.Images(i)

Or I didn't understand something?

--
Help The New .Net Site! http://www.devbox4.net
Jul 24 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jeff | last post by:
I've seen a couple of posts on the Internet with others having this problem, however, no one seems to have a good answer. I am working on a C# Smart Device application and have been able to...
10
by: Michi | last post by:
Hi Does anybody know how I can display own icons for drag & drop ? thx
2
by: Mad Scientist Jr | last post by:
I have a bitmap (32 pixels high, 8192 pixels wide) that contains 255 images, each 32 pixels wide, that I would like to chop up into individual 32x32 bitmap files. Rather than spending hours in...
1
by: VBTricks.de.vu Webmaster | last post by:
Hello, I created an application (Windows Forms) with a form and an imagelist. Everything works fine under WinXP, but when I try to start the app on Win98, the following error is returned:...
1
by: The Confessor | last post by:
(ellipses in place of code sections which do not deviate from defaults) Private Sub Form_Main_Load(...) Handles MyBase.Load For A = 0 To 16 For B = 0 To 14...
2
by: Hawk | last post by:
private void RetreiveVirtualItem( object sender, RetrieveVirtualItemEventArgs e ) { e.Item = new ListViewItem( e.ItemIndex.ToString() ); } Take this for example; works fine. Now if I want...
4
by: munglet | last post by:
Is there anyway to get a picturebox to recieve focus? I ask because I implemented a "delete" button in a picturebox (due to size constraints), but now due to accessibility reasons I need to be...
4
by: Justin | last post by:
I created a panel. Then I created 4 picturebox's inside that panel. I added an image to each picturebox and I can see the images in my project. However when I run my project I don't see the...
0
by: Phil Stanton | last post by:
I am using a Treeview type menu sustem and need to load various icons I have a form called Icons with a MSComctlLib.ImageListCtrl.2 control on it called ImList The IconTable holds IconNo and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.