Microsoft KB Archive/270656

= PRB: Missing view tabs, erratic code editing, or unavailable controls in Visual InterDev =

Article ID: 270656

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition
 * Microsoft Internet Explorer 5.0

-



This article was previously published under Q270656



SYMPTOMS
When working in the Visual InterDev Integrated Development Environment (IDE), you may experience one or more of the following problems:
 * The Source, Quick View, and Design tabs are missing.
 * Controls in the Toolbox are unavailable.
 * Color coding and other features in the Source view behave erratically or do not work at all.
 * Standard windows, such as the Properties window for objects, are missing.
 * The HTML Editor is not available as an option in the Open with dialog box.



CAUSE

 * The HTML Editor is not set as the default editor for the page.
 * One or both of the crucial files used by the Visual InterDev IDE, Triedit.dll and Htmed.dll, is not registered correctly.
 * A beta version or minor release of Internet Explorer 5.0 that uses Compatibility mode may have been installed. Compatibility mode allows Internet Explorer 5.0 to coexist with Internet Explorer 4.0, but is not compatible with Visual InterDev.
 * Customization information for the Visual InterDev IDE, which is stored in several configuration files, may have been corrupted or saved with invalid references to objects.



RESOLUTION
Often, only one of the following steps is required to resolve a particular set of problems. Try these steps in order. The most common and successful resolutions are listed first.

IMPORTANT: Make sure Visual InterDev is closed before you perform these steps.   Register Triedit.dll and Htmed.dll.

On the taskbar, click the Start button, and then click Run. In the Run dialog box, type regsvr32 followed by the full path of the .dll file.

NOTE: To get the path of a file, open Windows Explorer, browse to the location of the file, and drag the file to the Run dialog box.

Your entries in the Run dialog box will resemble the following: regsvr32 &quot;C:\Program Files\Common Files\Microsoft Shared\triedit\triedit.dll&quot; regsvr32 &quot;C:\Program Files\Microsoft Visual Studio\Common\ide\ide98\htmed.dll&quot;  For a page in Source view that is missing code editing features, such as color coding or statement completion, ensure that the HTML Editor is set as the default editor.

To do this, open Visual InterDev, but do not open the page for editing. In the Project Explorer, right-click the page, click Open With, and then select HTML Editor from the list of editors. Click Set as Default, and click Open. If you installed a beta or minor version of Internet Explorer 5.0, determine whether it was installed in Compatibility mode.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

196388 INFO: Visual InterDev 6.0 and Internet Explorer 5

To correct the problem, you can uninstall Internet Explorer 5.0, and then install a current version that does not have Compatibility mode. Or, as an alternative to uninstalling Internet Explorer, you can apply Visual Studio Service Pack 6, which is available for download at the Microsoft Download Center. For more information, see the Microsoft Download Center at the following Web site:

http://msdn.microsoft.com/downloads/

 If problems persist after you perform steps 1 and 2, and Internet Explorer 5.0 is properly installed without Compatibility mode, you can delete the local configuration files for the IDE. This includes the following files:

 Views.prf: Maintains window states, layouts, and positions. Cmdui.prf: Stores all menu and button customizations.</li> Toolbox.tbd: Stores all tabs and references to controls added to the Toolbox.</li> Objbrow.dat: Stores references to Other Libraries that you choose in the Select Current Packages/Libraries dialog box.</li></ul>

Find and delete all occurrences of these files on your computer. You will lose all customizations of the IDE, but new versions of the deleted files will be generated. This eliminates corrupt information or orphaned references to items that may cause problems in the IDE.</li> If the previous steps fail and you do not have Visual InterDev 6.0 Service Pack 6 (SP) installed, you can download and install Visual InterDev 6.0 SP6. Visual InterDev 6.0 SP6 resolves some IDE-related problems because it updates and reregisters files. Visual InterDev 6.0 SP6 is a recommended update. For information and a link to download Visual InterDev 6.0 SP6, see the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx

</li></ol>

<div class="references_section">