Microsoft KB Archive/246490

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 13:50, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Article ID: 246490

Article Last Modified on 5/10/2003



APPLIES TO

  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition



This article was previously published under Q246490

SYMPTOMS

When adding an HTML template to a WebClass, Visual Basic may display the following error message in a WebClass Designer dialog box:

An unspecified error has occurred

CAUSE

The Triedit.dll, which is located by default in the C:\Program Files\Common Files\Microsoft Shared\Triedit folder or its dependent dynamic-link libraries (DLLs), may not be registered correctly.

RESOLUTION

Unregister and reregister the Triedit.dll by entering the following command in the Run box, accessed from the Start button, or within the Command Prompt:

   regsvr32 /u "c:\program files\common files\microsoft shared\triedit\triedit.dll"
   regsvr32 "c:\program files\common files\microsoft shared\triedit\triedit.dll"
                

You should be able to add an HTML template to your WebClass. If this does not work, the error may not be the Triedit.dll, but its dependent DLLs. You may have to update Internet Explorer to the latest version. Or, do an uninstall and reinstall of Internet Explorer.

STATUS

This behavior is by design.

MORE INFORMATION

The Triedit.dll is installed with Visual Studio, Office, and Internet Explorer. When an HTML template is added to a WebClass, the Triedit.dll is used to parse the HTML template to search for tags that could trigger server events.

REFERENCES

For additional information and technical articles on using WebClasses, see the following page at the Visual Basic site:

For the latest Knowledge Base articles and other support information on Visual Basic, see the following page on the Microsoft Technical Support site:

Keywords: kbwebclasses kbprb KB246490