UPD: Invalid file format Error When Run VB app's EXE FileID: Q101261
|
You may encounter the following error when running a Visual Basic
executable (EXE) file:
Invalid file format
Error loading '<form filename>'. A control could not be loaded due to a load error. Continue?
This problem will occur when you have installed a new version of a
custom control and the internal property list of the control has
incorrectly changed in a way that breaks backward compatibility.
This problem is known to occur when you have installed the Visual
Basic version 3.0 GRID.VBX file over an earlier version of the grid.
Specifically, the problem will occur for an existing Visual Basic
application, built using a previous version of the grid, that sets the
HelpContextID property of the grid.
In the case where the problem occurs when you load a project into
Visual Basic that contains a grid, the problem will only occur when
the form file(s) containing the grid have been saved in binary format.
This problem is also known to occur when using Visual Basic version
2.0 and the CMDIALOG.VBX control. For more information on this problem,
please see the following article in the Microsoft Knowledge Base:
Q100611 : FIX: VB 2.0 Prof Demo Causes Error: Invalid File Format
There are several ways that you can work around this problem:
If you are using a Visual Basic version 3.0 application and you encounter
this problem, you can:
Date: 28-APR-1993
Time: 12:00 a.m.
Size: 44667
Version: Not Marked
Date: 15-JUNE-1993
Time: 5:26 p.m.
Size: 45136
Version: 03.00.0538
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. The problem is corrected by the updated version of GRID.VBX.
The following file is available for download from the Microsoft Software
Library:
~ VBGRID.EXE
For more information about downloading files from the Microsoft Software
Library, please see the following article in the Microsoft Knowledge Base:
Q119591 : How to Obtain Microsoft Support Files from Online Services
Additional query words: kbfile softlib update3.00 S14643
Keywords : kbVBp300 PrgCtrlsStd
Version : 3.00
Platform : WINDOWS
Issue type :
Last Reviewed: June 11, 1999