Posts

Showing posts from April, 2013

Customized Progress Bar in VB6 using Image Control

Image
In order to implement a progress bar in VB6 you need to enable the component " Microsoft Windows Common Controls #.# " before you can add this control on your form. In this example, you won't need any extra Controls that will require another libraries when running the app on another system. What you will need is a standard Label, Image, Timer controls and the Sleep API declaration to implement a smooth progress of the Progress Bar. CODE: Option Explicit ' ################################################################# ' # By: Cromwell Bayon (omelsoft@gmail.com) ' # Description: Progress Bar Using Custom Image ' # Date: Friday 12th of April, 2013 ' ################################################################# ' DECLARE PROGRESS BAR VARIABLES Public iMax As Long, _ iMin As Long, _ u_Val As Long, _ xMinVal As Long, _ xMaxVal As Long, _ xPBar As Long Priv...

Borderless Form with Customized Tabs and Frame in VB6

Image
This is a simple example on how to create a border-less window in VB6 with using P icture B ox and I mage controls. A quick guide on how to create the form. 1.) Start a New Project-> Standard EXE 2.) Click on the form and Press “F4″ to show the Properties Window.       Then set the following properties.       Borderstyle – 0 - None (Hides the border)       ControlBox – False - (Hides the Max/Min/Close buttons) 3.) Add (1) PictureBox, the same size with form. This will serve as main form. 4.) Add another (1) PictureBox, but now it should be inside the first PictureBox. This will serve as our content view. 5.) Add (3) Image Controls, that will be the tabs or buttons. 6.) You may create your own pictures based on your styles. I used Fireworks to design the form. Anyway, the pictures is included the sample program . It may just be as simple as you want but you may also create your own style to fit your ne...