Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 7 & possible fm20.dll Control Issue

Status
Not open for further replies.

CajunCenturion

Programmer
Mar 4, 2002
11,381
US
We have a Foxpro 8 application that has one form which uses a scroll bar control that I believe is from the Windows Forms Controls (fm20.dll) set. The application runs fine all WinXP and prior platforms. However, one customer upgraded to Windows 7 and now the scroll bar gives us a class not registered error. I know that fm20.dll comes with the normal Microsoft Office applications and as such is not distributable.

Do any of the standard office applications for Window 7 include these controls and if so, which ones? If not, does anyone know from where a compatible scroll bar control may be obtained?

Thanks.

--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
you might need to register it:

regsvr32 fm20.dll

Ali Koumaiha
TeknoSoft Inc.
Michigan
 
Cajun,

Is the problem that you do not include the DLL in your distrubtion? Or is it that it is not registered?

If the latter, then obviously you need to arrange for it to be registered, either manually (as per Ali's post) or via your Setup program.

But you seem to be saying that the DLL is missing from your distribution, and that you can't distribute it because it's part of Microsoft Office. Is that right? If so, then your application is only going to work on machines that have Office installed. If that's not acceptable, then you'll need to look for a different scrollbar control.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
==> you can't distribute it because it's part of Microsoft Office. Is that right?
Yes, that is correct. Fm20.dll may not legally be distributed with any application; therefore, registration is not an issue.

Does anyone know if the standard office applications will successfully install fm20.ll on a Windows 7 target machine?

The is, or at least was, a legal and free MS product that came with fm20.dll, but that was 10-12 years ago. Now if I could only remember what that was.

--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
It's the MS ActiveX Control Pad.

--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Fm20.dll may not legally be distributed with any application

In that case, either you shouldn't be using it, or you need to stipulate that your application can only run on systems that have Microsoft Office installed. And it would have to be the particular versions of Office that include that control.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
==> In that case, either you shouldn't be using it, or you need to stipulate that your application can only run on systems that have Microsoft Office installed.
That's a great restriction and stipulation, and I'm sure it would have worked great had it been instituted some eight years ago when this single-user desktop utility was originally built. As much fun as such a discussion would be about what might have been done then, it doesn't help in solving this problem now.

Thanks for the help.


--------------
Good Luck
To get the most from your Tek-Tips experience, please read
FAQ181-2886
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Have a look at this link, which could solve your problem


It mentions :

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. For more information, see the following Microsoft Developer Network (MSDN) Web site:
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top