|
|
|
|
|
Total Hits: 400 | Today: 0 |
Author: http://www.vbaccelerator.com
|
Rating:
|
|

One basic technique for counting the colours in an image would be to create an array or collection to hold the colours and then start counting from the start of the image. However, consider what happens then if you load a 1280 x 1024 pixel image. Firstly, you have 1.3 million pixels to check, and secondly for every single one you need to check whether that colour has been counted before. With an array, that would potentially mean you could have to perform somewhere around 400 billion checks, and...
|
|
|
|
Total Hits: 350 | Today: 0 |
Author: http://www.vbaccelerator.com
|
Rating:
|
|

To apply a brightness filter you simply add a fixed amount to every pixel in the image and then clamp the result to ensure it remains in the range 0 - 255. To apply a contrast filter, you determine if a pixel is lighter or darker than a threshold amount. If it's lighter, you scale the pixel's intensity up otherwise you scale it down. In code this is done by subtracting the threshold from a pixel, multiplying by the contrast factor and adding the threshold value back again. As with the brighness ...
|
|
|
|
Total Hits: 319 | Today: 0 |
Author: http://www.vbaccelerator.com
|
Rating:
|
|

Normally in computers colours are described in terms of their Red, Green and Blue components. Whilst you can specify all displayable colours this way, it leaves something to be desired when it comes to picking a colour. For example, most people find it very difficult to determine what RGB values you would use to create a Pink or Brown colour (try it!). The HLS model provides a more intuitive method and enables you to create lighter/darker or more intense/less intense versions of colours very eas...
|
|
|
|
Total Hits: 350 | Today: 0 |
Author: Guy Peled
|
Rating:
|
|

Go to the properties pane of the form by clicking on the design form title while the properties pane is open. Change the properties pane mode to show events and double click the Load event. The designer will create you an empty event handler to handle the Load event. Which is executed when a Visual WebGui form is loaded. Create a new method that recieves TreeNodeCollection nodes and string path arguments. From the event handler we are going to call a the LoadFolder method with treeview1.Nodes an...
|
|
|
|
Total Hits: 350 | Today: 0 |
Author: Guy Peled
|
Rating:
|
|

Go to the properties pane of the form by clicking on the design form title while the properties pane is open. Change the properties pane mode to show events and double click the Load event. The designer will create you an empty event handler to handle the Load event. Which is executed when a Visual WebGui form is loaded. Create a new method that recieves TreeNodeCollection nodes and string path arguments. From the event handler we are going to call a the LoadFolder method with treeview1.Nodes an...
|
|
|
|
Total Hits: 376 | Today: 0 |
Author: http://www.vbaccelerator.com
|
Rating:
|
|

This project started when I was trying to build up the indexes for the vbAccelerator site. I had a program to search through all the HTML files which make up the site, and this could pick out the ZIP files linked to by the pages. But how to determine which projects these ZIP files contained? You need a way to read ZIP files. As usual with VB there are no library routines or standard controls available for ZIP files, so you need another way.Luckily there is one, and its free! If you have a look a...
|
|
|
|
Total Hits: 325 | Today: 0 |
Author: Radu Gruian
|
Rating:
|
|

This article presents nFS, a portable library for emulating a file system within a file. This library has nothing to do with Linux's "NFS".The library is compatible with MSVS/Win32, GCC/Linux and GCC/Solaris. It is written in C. However, because of its clean OOP-like structure, it is easily portable to C++. Strictly speaking, for performance reasons, the external representation of the file system consists of two files, as described below; however, these two files always go together -- the lib...
|
|
|
|
Total Hits: 325 | Today: 0 |
Author: Radu Gruian
|
Rating:
|
|

This article presents nFS, a portable library for emulating a file system within a file. This library has nothing to do with Linux's "NFS".The library is compatible with MSVS/Win32, GCC/Linux and GCC/Solaris. It is written in C. However, because of its clean OOP-like structure, it is easily portable to C++. Strictly speaking, for performance reasons, the external representation of the file system consists of two files, as described below; however, these two files always go together -- the lib...
|
|
|
|
Total Hits: 181 | Today: 0 |
Author: http://www.martin2k.co.uk
|
Rating:
|
|

List Media Player is one of the first programs I made. It is simply a way of browsing through your drives and folders to find media files to play - either sound or video. The actual player is on a separate Form, which allows for free resizing.Due to several people asking for the source code, I decided to write this page to explain how the program was made. You can also look at the source code in this file:...
|
|
|
|
Total Hits: 357 | Today: 0 |
Author: Adalsteinn B. Bjarnason
|
Rating:
|
|

Alarm application is a fully featured computerized alarm clock. It has unique interface and is stylish. It is based on my first program that I created in 1984 when I had the great Sinclair Spectrum 48K. That alarm clock was noisy when it was not in action :-). This one is hardly usable as a regular alarm clock. That is because of the noisy fan in the computer, I will never get used to sleep with the computer on ;-). The digits are created from a bitmap taken by a digital camera (the original bit...
|
|
|
|
Total Hits: 357 | Today: 0 |
Author: Adalsteinn B. Bjarnason
|
Rating:
|
|

Alarm application is a fully featured computerized alarm clock. It has unique interface and is stylish. It is based on my first program that I created in 1984 when I had the great Sinclair Spectrum 48K. That alarm clock was noisy when it was not in action :-). This one is hardly usable as a regular alarm clock. That is because of the noisy fan in the computer, I will never get used to sleep with the computer on ;-). The digits are created from a bitmap taken by a digital camera (the original bit...
|
|
|
|
Total Hits: 408 | Today: 0 |
Author: pinakvashi
|
Rating:
|
|

This program is a Number to Text converter. which can convert a given number (range from one to hundred of vigintillion(10^63) ) to the text that people use to pronouce the number. Feel free to use this code and please give feedback to me. Right now it works for AMERICAN ENGLISH.This code is copyrighted and has limited warranties....
|
|
|
|
|
|
|