Replacement of the HScrollBar control (VB6) with one support back color.

Posted on 2011-10-18
Last Modified: 2012-05-12
Dear experts!

I write windows application in new Win 7 style with … old VB6 ;-) jeje.I'm almost ready, there almost no placve with old grey colour.  Of course I use beautiful additional components. But now I need a component which replace standard HScrollBar in VB6 with one which support setting of  back colour and other colour relative setting. If you kow for such code / component please give me name. it can be commercial component, I’ll pay it as long it is able to do what I need.

I need a slider control too - i need to support back colour.

I have a serious reason to write a new application with VB6, please answer on question, not to ask me to change VB6 ;-)
Question by:dvplayltd
    LVL 14

    Accepted Solution

    You can use the "Microsoft Forms 2.0 Object Library". Check that entry in your Project -> Components menu in the IDE. This ScrollBar has a BackColor property. I have attached an example screen shot of a simple program which is merely a form with three of these ScrollBars in it.

    Not that the supporting system file, FM20.DLL, needs to be on the user's system. I just learned it is supposed to be "non-redistributable", but used to distribute it for quite a few years before I stopped using any of it's features and removed it from my programs. But there are legal ways around this. Look here:;EN-US;224305


    Author Comment

    To VBClassicGuy

    Fine, it look like an option. Hyyym. You say that if I install and register the FM20.DLL i'll not have a technical problems, correct?
    LVL 14

    Expert Comment

    It is best to install it by the means described in the Microsoft article I referenced, even if you have to do it by using the ActiveX Pad instead of Office. The reason is FM20.DLL has a boat-load of dependencies that also need installing. These dependencies are available on XP, but some are absent in Windows 7.
    LVL 14

    Expert Comment

    Additional info. As one guy put it:

    An alternative is to deploy the application only to machines with Microsoft Office 97 or later installed. To do this, remove the reference to FM20.DLL from the PDW or Setup Wizard file list. This prevents the install wizard from installing it. Note in your product documentation that installing the appropriate version of Microsoft Office on the target machine is a pre-requisite to installing your application. As an alternative to having your end users install Microsoft Office, you can have them freely download and install the Microsoft ActiveX Control Pad, which also installs the Fm20.dll.

    You can Download Microsoft ActiveX Control Pad 1.0 release from the link below.

    Author Closing Comment

    10x. Finally i select other components, due to complicate in setup of your solution. However, I'm thankful to you for your time.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now