PRB: Forms Designer Fails or Not Working Correctly
ID: Q234345
|
The information in this article applies to:
-
Microsoft Visual J++, version 6.0
-
Microsoft virtual machine
SYMPTOMS
By default the Forms Designer in Visual J++ 6.0 translates the class file extending the form class and displays the actual form in the development environment.
There are some cases when this feature breaks and you experience one of the following errors:
- The View Designer option is unavailable in a default "Windows Application" in the following areas:
- On the View menu when you select Designer
- In the Project Explorer Window when the file is selected
- In the context menu when right-clicking on the file
Microsoft Development Environment
java.lang.IllegalAccessError: com/ms/wfc/util/Debug$Switch
CAUSE
This problem is caused by either:
- An incorrect version of the COMCAT.dll.
- An attempt to use the trial version of the product with a more recent virtual machine.
RESOLUTION
Resolutions to the earlier two causes are as follows:
- Incorrect version of COMCAT.dll.
There are two version of COMCAT.dll:
- Version 4.71: 22 KB (Correct version)
- Version 5.00: 6 KB (Incorrect version)
If you find the incorrect version of COMCAT.dll on your system, the following steps will correct the problem:
- Unregister COMCAT.dll version 5.0 - on the Start menu, select Run, and type:
regsvr32 /u Comcat.dll
- Delete or rename the incorrect COMCAT.dll file.
- Copy COMCAT.dll 4.71 version from the Visual J++ 6.0 CD-ROM to the location you found version 5.0 - [windir]/system[32] directory.
NOTE: You will find the correct version on the CD-ROM in the \Common\Ide\Ide98\Redist directory.
- Register COMCAT.dll version 4.71 - on the Start menu, select Run, and type:
regsvr32 Comcat.dll
- In the Control Panel, click Add/Remove Programs, select Microsoft Visual J++ 6.0, and click Reinstall to "repeat the last installation to restore missing files and settings".
- Using the trial version of Visual J++.
You must remove the trial version and install a release version of the product.
STATUS
This behavior of the Forms Designer is by design.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new default Windows Application project.
- Double-click on the Form file.
- One of the earlier scenarios explained in the "Symptoms section" will occur.
REFERENCES
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Rafael M. Munoz, Microsoft Corporation
Additional query words:
Keywords : kbVJ600 kbWFC kbGrpJava kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb