Subscribe:

Ads 468x60px

Pages

Showing posts with label activex. Show all posts
Showing posts with label activex. Show all posts

Saturday, April 16, 2011

Make Your Coding Easier with This Collection of VB6 Controls

Commonly used controls with auto-highlighted, auto sendkeys "{TAB}", auto-formatted feature WITHOUT CODING.

1. TTextBox
a. Auto-highlighted when got focus.
b. Auto sendkey "{TAB}" if press Enter.
c. Character Casing: Normal, Upper, Lower.
d. Multiline: can set maximum lines.
PropertiesBackColorGotFocusBackColorDisabledForeColorGotFocusForeColorDisabled, CharacterCasing, MaxCRLF, MultiLine, SelectTextOnFocus, SendTabOnKeyEnter

Monday, April 4, 2011

Add XP Style to Your VB6 Application

As we know, although our VB6 application run on Windows XP, it's still not using XP style. This article shows you a very simple way to add XP style to your VB6 application.

1. First, add component Microsoft Windows Common Controls 6.0 (SP6) (Mscomctl.ocx) to your project.
Project > Components > check on Microsoft Windows Common Control 6.0 (SP6) > click OK

2. Then, put any of its control to your Startup Object.
To know your Startup Object, click Project > Properties > tab General.
Lets say we put a StatusBar to your Startup Object. You may set it to be unvisible.