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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Errors during load, Invalid file reference

Status
Not open for further replies.

SteveBzzz

Technical User
Aug 24, 2002
14
US
Hi,

It's been awhile since I've used VB5 and I tried running one of my old programs. When I try to load it says "Errors during load"

In the error log file it's says "...Property ...
has an invalid file reference"

For example Line 161: Property ItemData in cmbRunMode has an invalid file reference.

Before that I got an "fm20.dll" missing. I think I corrected that by getting a new fm20 file and putting it in the dir it was looking for.

I am sort of able to get it to run and then it says Run-time error 383 'Text property is read only'

Help........

Thanks



 
Are you using fm20.dll in a manner it wasn't intended for?

I know some subscribers recommend it's frequent use, but see Microsoft warning:
The Fm20.dll is NOT redistributable. You must have an application such as Microsoft Office 97 on the target system that installs Fm20.dll as part of its setup. (Fm20.dll is included with the OSR2 and OSR2.5 releases of Windows 95.) You can also find this file on the Visual Basic 5.0 CD under the \TOOLS\DataTool\Datatool\Msdesign folder. This will be installed only if you run the setup for the Visual Database Tools. In any case, you may not distribute the Fm20.dll as part of your setup, even if you purchase the Microsoft Office Developer Edition product.

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:
NOTE: The use of these Microsoft Forms components in your own compiled applications, such as those written with Microsoft Visual C++ and Microsoft Visual Basic, is not recommended or supported. These controls were designed and tested to work exclusively within Microsoft Office and its Visual Basic for Applications environment.

This comes from Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Hmmmmmmm,

I just copied the fm20 file, because it said it was missing. I have no idea what it even is.

Question: Could the problem be that I have installed VB into a different directory, and I also moved the folder containing the programs and such from their original location?

Thanks,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top