Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, November 22, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > Visual Basic.Net > Graphics & Charts
Search:
What's New - What's Hot


An Observer Pattern and an Extended ListView Event Model        
Total Hits: 55  |  Today: 0 Author: Simon Segal.       Rating:  
Read Reviews | Write Review |   Your Rating: 

In a recent project I required Data Access Classes to have the ability to implement the observer pattern, subscribing to a set of events that are triggered after new ListViewItems had been added to and removed from a ListView. Essentially the ListView was to behave as the Subject and the Data Access class as the Observer, this would inturn facilitate the persistance of the ListViewItem contents to a SQL Server Database, maintaining a record of the current contents (ListViewItems) of the ListView...

Chart Success: Second Helpings of Pie. Part 3        
Total Hits: 62  |  Today: 1 Author: Ged Mead       Rating:  
Read Reviews | Write Review |   Your Rating: 

Because these articles are aimed at showing you how to use the Graphics Classes, I will skim over most of the non-graphics stuff wherever I can. So, to help shortcut the process of creating the Windows Form and its controls, I have included a project containing a skeleton form (i.e. it contains the controls, but none of the graphics code). You will find it in the folder named "Skeleton" in the attached zip file....

Create a GUI for an FTP Client with VB.NET        
Total Hits: 279  |  Today: 1 Author: Paul Kimmel       Rating:  
Read Reviews | Write Review |   Your Rating: 

This column presents an assortment of skills you might need to complete the Windows FTP solution or similar kinds of applications. It further explores the TcpClient namespace and using new controls in Visual Studio .NET 2005....

Screen Capturing a Form in VB.NET        
Total Hits: 38  |  Today: 0 Author: Mike Gold       Rating:  
Read Reviews | Write Review |   Your Rating: 

In most cases, GDI+ speeds up your programming of Graphics because (1) It is not a thin veneer over the Windows SDK (2) It makes sense. However, whenever you lose granularity to create a simpler to use architecture, you tend to lose some functionality. Form Capture is one of these cases. In the cases where you say to yourself: "Hey! I could do that in GDI, why can't I do that in GDI+??". The answer is you can....

VB.NET Wav file graphical viewer control        
Total Hits: 43  |  Today: 0 Author: Quenchmaster       Rating:  
Read Reviews | Write Review |   Your Rating: 

Firstly, I would like to acknowledge that the some of the methods for this control came from Steve McMahon's (http://www.vbaccelerator.com/) VB6 version, so, all the credit for the idea goes to him. The contribution I have made is to update the code for use in VB.NET 2003 and introduce a few additional elements. I should also mention that the WaveFile class used in the control is an extension of the one written by The KPD-Team....

GUI Observer - Using the Observer pattern to handle data updates to complex linked controls        
Total Hits: 32  |  Today: 0 Author: ChrisLee1.       Rating:  
Read Reviews | Write Review |   Your Rating: 

I searched for a long time to find an existing pattern/process/solution on the web to a long standing issue I have.

When writing a WinForms application (or VB6 or below, for that matter), the IDE encourages you to place a lot of code and logic in (or triggered from) control events. This is not (in my experience and opinion) a good solution, events can often be triggered for reasons the programmer didn't initially anticipate and lead to all sorts of problems. Also, it doesn't feel very obj...

.NET Event Handling using the Template Method Design Pattern        
Total Hits: 62  |  Today: 0 Author: Kevin McFarlane.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Microsoft .NET event handling, in common with typical object-oriented frameworks, is implemented using the well-known Observer design pattern. (See the book, Design Patterns, by Gamma et al., Addison-Wesley, 1995, pp325-330). This article describes how to enhance .NET event handling with the Template Method design pattern. The discussion and code snippets are in C# but the summary sample is implemented in both C# and Visual Basic .NET....

Graphical grid component        
Total Hits: 369  |  Today: 0 Author: CodeProject       Rating:  
Read Reviews | Write Review |   Your Rating: 

GraphicGrid is a control for your .NET applications that makes graphical grid manipulation easier. GraphicalGrids can be used for a wide range of tasks including graphing applications and games just to name a few.
GraphicGrid divides up its workspace and allows you to control what you want to place in the individual cells of your grid. You can populate some or all of them with pictures, colors or even graphical text while leaving others blank. GraphicGrid also allows you to load an image on t...

HOW TO: Save a .gif File with a New Color Table By Using Visual Basic .NET (Q319591)        
Total Hits: 1153  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

The CompuServe Graphics Interchange Format (GIF) is designed with a maximum of 256 colors that are arranged in a color table. To make common modifications to a .gif image file, you must change a custom color table. However, when System.Drawing edits an Image object and is then asked to save the image with the GIF encoder, the resulting .gif file contains a halftone color table....

Determine if an Image has an Alpha Channel        
Total Hits: 343  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This will load a picture and check if the picture has an alpha channel, and display true in the messagebox if it does or false if it does not....

Resizing batch images        
Total Hits: 47  |  Today: 0 Author: reza shirazi       Rating:  
Read Reviews | Write Review |   Your Rating: 

This application get the source folder of images/photos in jpeg format and resize them into specific size and save them into destination directory.
User can checked crop setting for croping images before resize them....

FastPixel - A much faster alternative to Bitmap.SetPixel        
Total Hits: 67  |  Today: 0 Author: AndrewVos       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have been working on some graphics code lately, and have been quite irritated with SetPixel and its performance overheads. There is an alternative though: Lock the bitmap and interact directly with with an array of bytes each representing R, G or B (and sometimes A, depending on whether it's an alpha bitmap or not)....

A class to parse graphical fonts        
Total Hits: 17  |  Today: 1 Author: Matthew Hazlett       Rating:  
Read Reviews | Write Review |   Your Rating: 

Add graphical fonts to your applications and games. If the user who is using your game doesn't have the fonts needed, Windows tries to calculate the best match, but why? You can use graphical fonts.

A free font image builder is located here.

This is a VB.NET class that will parse those fonts and return a string (actually a bitmap representation or your string). It has other methods such as getCell but mostly what it will be used for is building strings....

Building a CD Player Using VB.NET Part 2        
Total Hits: 69  |  Today: 0 Author: Steven Mandel       Rating:  
Read Reviews | Write Review |   Your Rating: 

In the first part of this article, I mentioned that my goal in building a CD player using VB.NET was to accomplish four things. The first two, to show you how to use the Windows API function in VB.NET and to build a library of CD Audio methods were accomplished in part 1. In part 2, we will build a CD player and I will show you how to build a button array that will be attached to a group box....

Chart Success: GDI+ Graphics At Work. Part 2        
Total Hits: 83  |  Today: 0 Author: Ged Mead       Rating:  
Read Reviews | Write Review |   Your Rating: 

In Part 1 we created a Pie Chart by drawing directly on to the surface of the form using the form’s Graphics object. In this article, we are going to create a Bar Chart, again based on some notional sample data - sales figures from six European countries. However, this time we will draw the Bar Chart inside a PictureBox control....

Chart Success Part 5 - Line Graph        
Total Hits: 63  |  Today: 0 Author: Ged Mead       Rating:  
Read Reviews | Write Review |   Your Rating: 

As in the previous articles, the chart will be displayed in a PictureBox control. Although it would be easy - easier in some ways - to simply plaster the chart onto the surface of the form itself, I think it is more realistic to house it inside some kind of container control because a chart is most often just one part of a range of information displayed to the user. It also lends itself more easily to the situation where you want to take user input on screen and to use that data directly to ...

How to convert image to other extension and reduce its size in .NET 2.0.        
Total Hits: 290  |  Today: 1 Author: DevASP       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this simple article you will learn that how you can convert image to other extension and reduce its size.
Simply just create New Project of console application in VB.
Drag two text box, two radio buttons, two buttons, and two image boxes on form....

Make your image Viewer with PictureBox control and ImageList control in VB.Net        
Total Hits: 6341  |  Today: 1 Author: DevASP       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this simple article you will learn to work with Image List Control and able to make your image viewer.
Create New Project in VB.net. Drag a ImageList control from tool box and place on form and now drag and drop a button and a Picture Box on form1. Now go to properties of the image list and using property collection ADD picture which u want to show in your image viewer....

Creating a Visual Web Page Template        
Total Hits: 74  |  Today: 0 Author: Lynn Torkelson       Rating:  
Read Reviews | Write Review |   Your Rating: 

Web developers moving to ASP.NET face the problem of creating a Web page template to enforce a consistent look and feel across a Web site. When your organization or customer wants to tweak the appearance of a site, you don't want to go through large numbers of Web pages to make identical changes. You want to change a single template used by all of your Web pages.

With the inheritance capability built into the .NET languages, you have several choices available to you for creating such a te...

Applying a Color Wash to Images        
Total Hits: 253  |  Today: 0 Author: Gavin Harriss       Rating:  
Read Reviews | Write Review |   Your Rating: 

Ever had a web site that needs branding for individual customers but found the presence of image elements complicates the process as you can't adjust their color from a simple style sheet? Wouldn't it be nice to use a base set of grayscale images and automatically apply a color wash to them to bring them in line with the customer's color scheme without fiddling with a graphics package?...


1  2  3  4  5  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net