?
Solved

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

Posted on 2011-10-18
5
Medium Priority
?
388 Views
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 ;-)
0
Comment
Question by:dvplayltd
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
VBClassicGuy earned 2000 total points
ID: 36992987
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:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;224305


Image1.jpg
0
 

Author Comment

by:dvplayltd
ID: 36993877
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?
0
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 36993945
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.
0
 
LVL 14

Expert Comment

by:VBClassicGuy
ID: 36994492
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.
http://msdn.microsoft.com/en-us/library/ms968493.aspx
0
 

Author Closing Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

839 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