Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net
Image Controls in VB.Net Image Controls in VB.Net
Image Controls in VB.Net
Go Back  Xtreme Visual Basic Talk > > > Image Controls in VB.Net


Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2006, 04:52 PM
jfk1232 jfk1232 is offline
Regular
 
Join Date: Mar 2004
Posts: 58
Default Image Controls in VB.Net


VB.Net is not supposed to have image controls--only picture controls. However, picture controls are overkill for what I'm doing and image controls would be better. They load pictures faster and use less memory and don't use up GDI handles. I need to have an array of hundreds of them, so I need to be concerned about these things.

Is there a way to have image controls in VB.Net? Perhaps there is a custom control that simulates the image control.
Reply With Quote
  #2  
Old 06-14-2006, 11:39 AM
elnerdo's Avatar
elnerdo elnerdo is offline
Contributor
 
Join Date: Jul 2004
Location: Northern New Jersey
Posts: 490
Default

The solution would be NOT using controls. Look into the System.drawing class. You'll find system.drawing.bitmap. You can draw them with GDI+.

(Just in case, here's a really good tutorial from the tutor's corner about GDI+. Section three involves bitmaps. )
__________________
nerds unite!
Reply With Quote
  #3  
Old 06-14-2006, 03:27 PM
jfk1232 jfk1232 is offline
Regular
 
Join Date: Mar 2004
Posts: 58
Default

Here is a more detailed description of my problem. I have a rectangular shaped "grid" consisting of about 600 "cells". Each individual cell is an image that can change rapidly. I originally was going to have the grid be a giant picturebox that I could Bitblt each new cell picture into. However, the picture box would have to be refreshed everytime a single cell was changed. With many cells changing, this took time. So, I instead made each cell be an image control. Now when a cell changed, just it's one little image control would change. That worked really fast.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net Image Controls in VB.Net
Image Controls in VB.Net
Image Controls in VB.Net
 
Image Controls in VB.Net
Image Controls in VB.Net
 
-->